[Webkit-unassigned] [Bug 121541] Update identifier syntax to disallow U+2E2F in preparation for ES6

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 13 06:53:34 PDT 2020


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

Mathias Bynens <mathias at qiwi.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Mathias Bynens <mathias at qiwi.be> ---
This seems to have been fixed:

```
$ eshost -sx 'var \u2E2F'
#### Chakra

SyntaxError: Invalid character

#### JavaScriptCore

SyntaxError: Invalid unicode escape in identifier: '\u2E2F'

#### SpiderMonkey

SyntaxError: invalid escape sequence:

#### V8, V8 --harmony

SyntaxError: Invalid or unexpected token

#### XS

SyntaxError: invalid character 10
```

…and…

```
$ eshost -sx 'var ⸯ'
#### Chakra

SyntaxError: Invalid character

#### JavaScriptCore

SyntaxError: Invalid character '\u2e2f'

#### SpiderMonkey

SyntaxError: illegal character:

#### V8, V8 --harmony

SyntaxError: Invalid or unexpected token

#### XS

SyntaxError: invalid character 11823
```

-- 
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/1f7ee9ad/attachment.htm>


More information about the webkit-unassigned mailing list