[Webkit-unassigned] [Bug 48630] New: ES5 Strict mode: OctalEscapeSequence in string literals
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 29 06:46:16 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48630
Summary: ES5 Strict mode: OctalEscapeSequence in string
literals
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: asen.bozhilov at gmail.com
I have used the follow test case:
/**
* A conforming implementation, when processing strict mode code (see 10.1.1), may not
* extend the syntax of EscapeSequence to include OctalEscapeSequence as described in B.1.2.
*/
var testDesc = 'EscapeSequence cannot include OctalEscapeSequence: ';
try {
eval('"use strict"; "\101";');
util.printLine(testDesc + 'FALSE');
} catch (e) {
if (e instanceof SyntaxError) {
util.printLine(testDesc + 'TRUE');
}
else {
util.printLine(testDesc + 'UNDEFINED BEHAVIOR');
}
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list