WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
159203
Use Unicode 9’s `ID_Start` & `ID_Continue` for identifiers
https://bugs.webkit.org/show_bug.cgi?id=159203
Summary
Use Unicode 9’s `ID_Start` & `ID_Continue` for identifiers
Mathias Bynens
Reported
2016-06-28 02:32:40 PDT
* Unicode 8 has 2,518 `ID_Start` symbols; Unicode 9 has 2,669, i.e. 151 more (no removals). * Unicode 8 has 109,830 `ID_Continue` symbols; Unicode 9 has 117,007, i.e. 7,177 more (no removals). E.g. these should not throw per Unicode 9: Function('var \u{1E943}'); // new ID_Start Function('var _\u{1E959}'); // new ID_Continue I’ve attached `results.js` which contains the full list of new `ID_Start` and `ID_Continue` symbols in Unicode 9, and the Node.js script used to generate it.
Attachments
Node.js script that outputs lists of new `ID_Start` and `ID_Continue` symbols
(536 bytes, text/javascript)
2016-06-28 02:33 PDT
,
Mathias Bynens
no flags
Details
results.js
(198.34 KB, text/javascript)
2016-06-28 02:33 PDT
,
Mathias Bynens
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mathias Bynens
Comment 1
2016-06-28 02:33:21 PDT
Created
attachment 282228
[details]
Node.js script that outputs lists of new `ID_Start` and `ID_Continue` symbols
Mathias Bynens
Comment 2
2016-06-28 02:33:36 PDT
Created
attachment 282229
[details]
results.js
Mathias Bynens
Comment 3
2016-06-28 02:41:36 PDT
Bugzilla won’t allow me to add
https://github.com/Microsoft/ChakraCore/issues/1208
to the “See also” list. Can that be fixed?
Alexey Proskuryakov
Comment 4
2016-06-28 20:09:11 PDT
Per <
http://www.ecma-international.org/ecma-262/7.0/
>, "A conforming implementation of ECMAScript must interpret source text input in conformance with the Unicode Standard, Version 8.0.0 or later and ISO/IEC 10646".
Mathias Bynens
Comment 5
2016-06-28 23:32:45 PDT
The intent is to use the latest available Unicode version. See
https://github.com/tc39/ecma262/pull/620
for some discussion.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug