[Webkit-unassigned] [Bug 90678] New: JavaScript: Drop the “escaped reserved words as identifiers” compatibility measure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 6 05:44:25 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90678

           Summary: JavaScript: Drop the “escaped reserved words as
                    identifiers” compatibility measure
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://mathias.html5.org/specs/javascript/#escaped-res
                    erved-words
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mathias at qiwi.be
                CC: peter at chromium.org


For example, `var var;` throws a syntax error, but e.g. `var v\u0061r;` works fine, currently. This is a violation of the ECMAScript 5.1 spec, and used to be a compatibility requirement: http://mathias.html5.org/specs/javascript/#escaped-reserved-words One year ago, all browsers except IE fulfilled this.

Half a year ago Firefox dropped this non-standard addition (https://bugzilla.mozilla.org/show_bug.cgi?id=694360) and hasn’t seen any compatibility issues since.

Please align with Firefox and IE by removing this non-standard extension.

-- 
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