diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 16:14:01 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:35 -0400 |
commit | 05c9c752a34ce4c9d246b63e2fbb46eaa946f8b6 (patch) | |
tree | 036823d2032034267a87f28139fb3c47d79d6a65 /js/src/jit-test/tests/modules/export-declaration.js | |
parent | 7fb92548e6aafa512701ad0a8bb5156251d40457 (diff) | |
download | UXP-05c9c752a34ce4c9d246b63e2fbb46eaa946f8b6.tar UXP-05c9c752a34ce4c9d246b63e2fbb46eaa946f8b6.tar.gz UXP-05c9c752a34ce4c9d246b63e2fbb46eaa946f8b6.tar.lz UXP-05c9c752a34ce4c9d246b63e2fbb46eaa946f8b6.tar.xz UXP-05c9c752a34ce4c9d246b63e2fbb46eaa946f8b6.zip |
1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName.
Diffstat (limited to 'js/src/jit-test/tests/modules/export-declaration.js')
-rw-r--r-- | js/src/jit-test/tests/modules/export-declaration.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/src/jit-test/tests/modules/export-declaration.js b/js/src/jit-test/tests/modules/export-declaration.js index 3c4a9b735..48d1072bf 100644 --- a/js/src/jit-test/tests/modules/export-declaration.js +++ b/js/src/jit-test/tests/modules/export-declaration.js @@ -403,9 +403,7 @@ assertThrowsInstanceOf(function() { parseAsModule("export {,} from 'a'"); }, SyntaxError); -assertThrowsInstanceOf(function() { - parseAsModule("export { true as a } from 'b'"); -}, SyntaxError); +parseAsModule("export { true as a } from 'b'"); assertThrowsInstanceOf(function () { parseAsModule("export { a } from 'b' f();"); |