[Webkit-unassigned] [Bug 212887] New: Invalid escape sequence with a non-octal-eight
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 7 20:14:54 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212887
Bug ID: 212887
Summary: Invalid escape sequence with a non-octal-eight
Product: WebKit
Version: Other
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: junior.jefferson at gmail.com
Hi everyone,
maybe is a case of an invalid numeric escape (non-octal-eight) in strict mode, but the same occurs using the strict mode and without it. Is this an expected behavior of JavaScriptCore? (implementation-dependent)
version: 262693
OS: Linux Ubuntu 19.10 x64
Steps to reproduce:
print(`\8`);
Actual results:
SyntaxError: untagged template literal contains invalid escape sequence
Expected results:
8
The same occurs in strict mode
"use strict";
print(`\8`);
V8, SpiderMonkey, Chakra works as expected.
cinfuzz
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200608/1553d9f6/attachment.htm>
More information about the webkit-unassigned
mailing list