https://codereview.chromium.org/640193002/diff/40001/test/intl/general/smp-identifier.js
File test/intl/general/smp-identifier.js (right):
https://codereview.chromium.org/640193002/diff/40001/test/intl/general/smp-identifier.js#newcode9
test/intl/general/smp-identifier.js:9: String.fromCharCode(c & 0x3FF |
0xDC00);
Since `--harmony-strings` is set anyway, why not use
`String.fromCodePoint` instead of `toSurrogatePair`?
https://codereview.chromium.org/640193002/diff/40001/test/mjsunit/parse-surrogates.js
File test/mjsunit/parse-surrogates.js (right):
https://codereview.chromium.org/640193002/diff/40001/test/mjsunit/parse-surrogates.js#newcode7
test/mjsunit/parse-surrogates.js:7: assertThrows("'\\u000\uD801\uABCD'",
SyntaxError);
AFAICT, lone surrogates in strings must still be supported in ES6.
https://codereview.chromium.org/640193002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.