Update tests with DONOTEVALUATE

This commit is contained in:
Leo Balter 2018-11-13 17:48:29 -05:00
parent 238c88d4a0
commit f7f845ce6f
119 changed files with 119 additions and 119 deletions

View File

@ -30,6 +30,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
im\u0070ort('./empty_FIXTURE.js'); im\u0070ort('./empty_FIXTURE.js');

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('')++ import('')++

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') -= 1; import('') -= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') <<= 1; import('') <<= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') >>= 1; import('') >>= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') >>>= 1; import('') >>>= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') &= 1; import('') &= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') ^= 1; import('') ^= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') |= 1; import('') |= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') **= 1; import('') **= 1;

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('')-- import('')--

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
++import('') ++import('')

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
--import('') --import('')

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') = 1; import('') = 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') *= 1; import('') *= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') /= 1; import('') /= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') %= 1; import('') %= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import('') += 1; import('') += 1;

View File

@ -29,6 +29,6 @@ negative:
features: [import.meta] features: [import.meta]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
im\u0070ort.meta; im\u0070ort.meta;

View File

@ -29,6 +29,6 @@ negative:
features: [import.meta] features: [import.meta]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import.m\u0065ta; import.m\u0065ta;

View File

@ -13,6 +13,6 @@ negative:
features: [import.meta] features: [import.meta]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import.meta; import.meta;

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment] features: [import.meta, destructuring-assignment]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
[import.meta] = []; [import.meta] = [];

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment] features: [import.meta, destructuring-assignment]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
[...import.meta] = []; [...import.meta] = [];

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta] features: [import.meta]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import.meta = 0; import.meta = 0;

View File

@ -25,7 +25,7 @@ negative:
features: [import.meta, async-iteration] features: [import.meta, async-iteration]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
async function* f() { async function* f() {
for await (import.meta of null) ; for await (import.meta of null) ;

View File

@ -25,6 +25,6 @@ negative:
features: [import.meta] features: [import.meta]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
for (import.meta in null) ; for (import.meta in null) ;

View File

@ -25,6 +25,6 @@ negative:
features: [import.meta] features: [import.meta]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
for (import.meta of null) ; for (import.meta of null) ;

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment] features: [import.meta, destructuring-assignment]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
({a: import.meta} = {}); ({a: import.meta} = {});

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment, object-rest] features: [import.meta, destructuring-assignment, object-rest]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
({...import.meta} = {}); ({...import.meta} = {});

View File

@ -27,6 +27,6 @@ negative:
features: [import.meta] features: [import.meta]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
import.meta++; import.meta++;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>a)\k<ab>/u; /(?<a>a)\k<ab>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>a)\k<ab>/; /(?<a>a)\k<ab>/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<ab>a)\k<a>/u; /(?<ab>a)\k<a>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<ab>a)\k<a>/; /(?<ab>a)\k<a>/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<a>(?<ab>a)/u; /\k<a>(?<ab>a)/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<a>(?<ab>a)/; /\k<a>(?<ab>a)/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<a>(?<b>x)/; /\k<a>(?<b>x)/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k<b>/u; /(?<a>.)\k<b>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<a>/u; /\k<a>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k<b>/; /(?<a>.)\k<b>/;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>a)(?<b>b)(?<a>a)/u; /(?<a>a)(?<b>b)(?<a>a)/u;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>a)(?<b>b)(?<a>a)/; /(?<a>a)(?<b>b)(?<a>a)/;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>a)(?<a>a)/u; /(?<a>a)(?<a>a)/u;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>a)(?<a>a)/; /(?<a>a)(?<a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<>a)/u; /(?<>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<>a)/; /(?<>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>\a)/u; /(?<a>\a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k<a/u; /(?<a>.)\k<a/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k<a/; /(?<a>.)\k<a/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k<>/u; /(?<a>.)\k<>/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k<>/; /(?<a>.)\k<>/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<a(?<a>a)/; /\k<a(?<a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<a(?<a>.)/; /\k<a(?<a>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k(?<a>.)/; /\k(?<a>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k/u; /(?<a>.)\k/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<>/u; /\k<>/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k/u; /\k/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/\k<a/u; /\k<a/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a>.)\k/; /(?<a>.)\k/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\>.)/u; /(?<a\>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\>.)/; /(?<a\>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<$𐒤>a)/; /(?<$𐒤>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<𐒤>a)/u; /(?<𐒤>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<𐒤>a)/; /(?<𐒤>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\uD801\uDCA4>.)/; /(?<a\uD801\uDCA4>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\uD801>.)/u; /(?<a\uD801>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\uD801>.)/; /(?<a\uD801>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\uDCA4>.)/u; /(?<a\uDCA4>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\uDCA4>.)/; /(?<a\uDCA4>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\u{104A4}>.)/; /(?<a\u{104A4}>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\u{10FFFF}>.)/; /(?<a\u{10FFFF}>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<\>.)/u; /(?<\>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<\>.)/; /(?<\>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a\u{110000}>.)/u; /(?<a\u{110000}>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<❤>a)/u; /(?<❤>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<❤>a)/; /(?<❤>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<42a>a)/u; /(?<42a>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<42a>a)/; /(?<42a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<:a>a)/u; /(?<:a>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<:a>a)/; /(?<:a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a:>a)/u; /(?<a:>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<a:>a)/; /(?<a:>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<\u{03C0}>a)/; /(?<\u{03C0}>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<\u{0041}>.)/; /(?<\u{0041}>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<aa)/u; /(?<aa)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups] features: [regexp-named-groups]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
/(?<aa)/; /(?<aa)/;

View File

@ -12,7 +12,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
for (var arguments = 42 in null) {} for (var arguments = 42 in null) {}

View File

@ -12,7 +12,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
for (var arguments in null) {} for (var arguments in null) {}

View File

@ -12,6 +12,6 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
for (var arguments = 42 in null) {} for (var arguments = 42 in null) {}

View File

@ -10,6 +10,6 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
for (var arguments in null) {} for (var arguments in null) {}

View File

@ -10,6 +10,6 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
for (var eval = 42 in null) {} for (var eval = 42 in null) {}

View File

@ -10,6 +10,6 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
for (var eval in null) {} for (var eval in null) {}

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var a, arguments = 42; var a, arguments = 42;

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var a = 42, arguments; var a = 42, arguments;

View File

@ -12,7 +12,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var arguments = 42, a; var arguments = 42, a;

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var arguments, a; var arguments, a;

View File

@ -12,7 +12,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var a, arguments = 42, b; var a, arguments = 42, b;

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var a, arguments, b; var a, arguments, b;

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var arguments, arguments = 42; var arguments, arguments = 42;

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError type: SyntaxError
---*/ ---*/
throw "Test262: This statement should not be evaluated."; $DONOTEVALUATE();
function f() { function f() {
var arguments = 42; var arguments = 42;

Some files were not shown because too many files have changed in this diff Show More