[Webkit-unassigned] [Bug 208998] JavaScript identifier grammar supports unescaped astral symbols, but JSC doesn’t

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 13 16:28:32 PDT 2020


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

--- Comment #4 from Mathias Bynens <mathias at qiwi.be> ---
The error message mentions U+D800 which is the high surrogate half of the character in my example ('\u{102A7}' === '\uD800\uDEA7'), so I think the code paths Keith mentions are hit for each surrogate half (and surrogate code points are never valid identifier characters, hence the exception) as opposed to considering surrogate pairs where applicable.

-- 
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/20200313/8b80ab7c/attachment-0001.htm>


More information about the webkit-unassigned mailing list