[Webkit-unassigned] [Bug 140420] New: JavaScript identifier incorrectly parsed if the prefix before an escape sequence is a keyword
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 13 17:49:23 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140420
Bug ID: 140420
Summary: JavaScript identifier incorrectly parsed if the prefix
before an escape sequence is a keyword
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Tam at SiuLung.com
STEPS:
1. Run "in\u00e9dit = 1" in JavaScript console.
EXPECTED: It sets variable inédit to 1 and returns 1.
ACTUAL: SyntaxError: Unexpected keyword 'in'
This is a result of a minifier trying to convert all code to ASCII.
Chrome 39 and Firefox 34 both work fine.
--
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/20150114/e9fcbc9c/attachment-0002.html>
More information about the webkit-unassigned
mailing list