mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Need to pass expressions containing unicode identifiers as split strings
since the string processing will convert the unicode sequences into regular characters before the identifier is recognized. The fact that Monkey was cool with this is a separate bug.
This commit is contained in:
parent
f704383014
commit
69d4d5e142
@ -43,9 +43,9 @@ function test()
|
||||
"Escaped non-ASCII Identifier test");
|
||||
reportCompare (16, eval("++A\u03B2"),
|
||||
"Escaped non-ASCII Identifier test");
|
||||
reportCompare (25, eval("c\u0061se"),
|
||||
reportCompare (25, eval("c\\u00" + "61se"),
|
||||
"Escaped keyword Identifier test");
|
||||
reportCompare (26, eval("++c\u0061se"),
|
||||
reportCompare (26, eval("++c\\u00" + "61se"),
|
||||
"Escaped keyword Identifier test");
|
||||
|
||||
exitFunc ("test");
|
||||
|
Loading…
Reference in New Issue
Block a user