mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Update tests with DONOTEVALUATE
This commit is contained in:
parent
238c88d4a0
commit
f7f845ce6f
@ -30,6 +30,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
im\u0070ort('./empty_FIXTURE.js');
|
||||
|
@ -41,6 +41,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('')++
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') -= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') <<= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') >>= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') >>>= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') &= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') ^= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') |= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') **= 1;
|
||||
|
@ -41,6 +41,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('')--
|
||||
|
@ -41,6 +41,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
++import('')
|
||||
|
@ -41,6 +41,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
--import('')
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') = 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') *= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') /= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') %= 1;
|
||||
|
@ -43,6 +43,6 @@ negative:
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import('') += 1;
|
||||
|
@ -29,6 +29,6 @@ negative:
|
||||
features: [import.meta]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
im\u0070ort.meta;
|
||||
|
@ -29,6 +29,6 @@ negative:
|
||||
features: [import.meta]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import.m\u0065ta;
|
||||
|
@ -13,6 +13,6 @@ negative:
|
||||
features: [import.meta]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import.meta;
|
||||
|
@ -26,6 +26,6 @@ negative:
|
||||
features: [import.meta, destructuring-assignment]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
[import.meta] = [];
|
||||
|
@ -26,6 +26,6 @@ negative:
|
||||
features: [import.meta, destructuring-assignment]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
[...import.meta] = [];
|
||||
|
@ -26,6 +26,6 @@ negative:
|
||||
features: [import.meta]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import.meta = 0;
|
||||
|
@ -25,7 +25,7 @@ negative:
|
||||
features: [import.meta, async-iteration]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
async function* f() {
|
||||
for await (import.meta of null) ;
|
||||
|
@ -25,6 +25,6 @@ negative:
|
||||
features: [import.meta]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
for (import.meta in null) ;
|
||||
|
@ -25,6 +25,6 @@ negative:
|
||||
features: [import.meta]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
for (import.meta of null) ;
|
||||
|
@ -26,6 +26,6 @@ negative:
|
||||
features: [import.meta, destructuring-assignment]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
({a: import.meta} = {});
|
||||
|
@ -26,6 +26,6 @@ negative:
|
||||
features: [import.meta, destructuring-assignment, object-rest]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
({...import.meta} = {});
|
||||
|
@ -27,6 +27,6 @@ negative:
|
||||
features: [import.meta]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import.meta++;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>a)\k<ab>/u;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>a)\k<ab>/;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<ab>a)\k<a>/u;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<ab>a)\k<a>/;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<a>(?<ab>a)/u;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<a>(?<ab>a)/;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<a>(?<b>x)/;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k<b>/u;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<a>/u;
|
||||
|
@ -15,6 +15,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k<b>/;
|
||||
|
@ -13,6 +13,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>a)(?<b>b)(?<a>a)/u;
|
||||
|
@ -13,6 +13,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>a)(?<b>b)(?<a>a)/;
|
||||
|
@ -13,6 +13,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>a)(?<a>a)/u;
|
||||
|
@ -13,6 +13,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>a)(?<a>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<>a)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>\a)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k<a/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k<a/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k<>/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k<>/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<a(?<a>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<a(?<a>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k(?<a>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<>/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\k<a/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a>.)\k/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\>.)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<$𐒤>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<𐒤>a)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<𐒤>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\uD801\uDCA4>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\uD801>.)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\uD801>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\uDCA4>.)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\uDCA4>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\u{104A4}>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\u{10FFFF}>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<\>.)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<\>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a\u{110000}>.)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<❤>a)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<❤>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<42a>a)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<42a>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<:a>a)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<:a>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a:>a)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<a:>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<\u{03C0}>a)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<\u{0041}>.)/;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<aa)/u;
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/(?<aa)/;
|
||||
|
@ -12,7 +12,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
for (var arguments = 42 in null) {}
|
||||
|
@ -12,7 +12,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
for (var arguments in null) {}
|
||||
|
@ -12,6 +12,6 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
for (var arguments = 42 in null) {}
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
for (var arguments in null) {}
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
for (var eval = 42 in null) {}
|
||||
|
@ -10,6 +10,6 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
for (var eval in null) {}
|
||||
|
@ -13,7 +13,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var a, arguments = 42;
|
||||
|
@ -13,7 +13,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var a = 42, arguments;
|
||||
|
@ -12,7 +12,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var arguments = 42, a;
|
||||
|
@ -13,7 +13,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var arguments, a;
|
||||
|
@ -12,7 +12,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var a, arguments = 42, b;
|
||||
|
@ -13,7 +13,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var a, arguments, b;
|
||||
|
@ -13,7 +13,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var arguments, arguments = 42;
|
||||
|
@ -13,7 +13,7 @@ negative:
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
function f() {
|
||||
var arguments = 42;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user