Loading js/src/tests/Makefile.in +1 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ TEST_FILES = \ js1_8_1/ \ js1_8_5/ \ shell/ \ test/ \ test262/ \ $(NULL) Loading js/src/tests/requirements.txt 0 → 100644 +1 −0 Original line number Diff line number Diff line PyYAML==3.12 js/src/tests/test/expected/export/multi-header.js 0 → 100644 +25 −0 Original line number Diff line number Diff line // Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: | foo bar baz description: | Outside AsyncFunction, |await| is a perfectly cromulent LexicalDeclaration variable name. Therefore ASI doesn't apply, and so the |0| where a |=| was expected is a syntax error. author: Jeff Walden <jwalden+code@mit.edu> negative: phase: early type: SyntaxError flags: - module esid: sec-let-and-const-declarations features: - foobar ---*/ function f() { let await 0; } js/src/tests/test/expected/export/reftest-and-frontmatter-error.js 0 → 100644 +22 −0 Original line number Diff line number Diff line // Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-let-and-const-declarations features: [] negative: phase: runtime type: SyntaxError description: | Outside AsyncFunction, |await| is a perfectly cromulent LexicalDeclaration variable name. Therefore ASI doesn't apply, and so the |0| where a |=| was expected is a syntax error. ---*/ eval(` function f() { let await 0; } `); js/src/tests/test/expected/export/reftest-error-syntaxerror.js 0 → 100644 +21 −0 Original line number Diff line number Diff line // Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- negative: phase: early type: SyntaxError author: Jeff Walden <jwalden+code@mit.edu> features: [] description: | Outside AsyncFunction, |await| is a perfectly cromulent LexicalDeclaration variable name. Therefore ASI doesn't apply, and so the |0| where a |=| was expected is a syntax error. esid: sec-let-and-const-declarations ---*/ function f() { let await 0; } Loading
js/src/tests/Makefile.in +1 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ TEST_FILES = \ js1_8_1/ \ js1_8_5/ \ shell/ \ test/ \ test262/ \ $(NULL) Loading
js/src/tests/requirements.txt 0 → 100644 +1 −0 Original line number Diff line number Diff line PyYAML==3.12
js/src/tests/test/expected/export/multi-header.js 0 → 100644 +25 −0 Original line number Diff line number Diff line // Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: | foo bar baz description: | Outside AsyncFunction, |await| is a perfectly cromulent LexicalDeclaration variable name. Therefore ASI doesn't apply, and so the |0| where a |=| was expected is a syntax error. author: Jeff Walden <jwalden+code@mit.edu> negative: phase: early type: SyntaxError flags: - module esid: sec-let-and-const-declarations features: - foobar ---*/ function f() { let await 0; }
js/src/tests/test/expected/export/reftest-and-frontmatter-error.js 0 → 100644 +22 −0 Original line number Diff line number Diff line // Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-let-and-const-declarations features: [] negative: phase: runtime type: SyntaxError description: | Outside AsyncFunction, |await| is a perfectly cromulent LexicalDeclaration variable name. Therefore ASI doesn't apply, and so the |0| where a |=| was expected is a syntax error. ---*/ eval(` function f() { let await 0; } `);
js/src/tests/test/expected/export/reftest-error-syntaxerror.js 0 → 100644 +21 −0 Original line number Diff line number Diff line // Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- negative: phase: early type: SyntaxError author: Jeff Walden <jwalden+code@mit.edu> features: [] description: | Outside AsyncFunction, |await| is a perfectly cromulent LexicalDeclaration variable name. Therefore ASI doesn't apply, and so the |0| where a |=| was expected is a syntax error. esid: sec-let-and-const-declarations ---*/ function f() { let await 0; }