diff --git a/test/language/expressions/class/fields-duplicate-privatenames.js b/test/language/expressions/class/fields-duplicate-privatenames.js index 8d1d03da14..ade5739b0b 100644 --- a/test/language/expressions/class/fields-duplicate-privatenames.js +++ b/test/language/expressions/class/fields-duplicate-privatenames.js @@ -4,7 +4,7 @@ /*--- description: Syntax error if the same private field defined twice esid: sec-class-definitions-static-semantics-early-errors -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/expressions/class/fields-privatename-constructor-err.js b/test/language/expressions/class/fields-privatename-constructor-err.js index da6f65668a..d9c2a0afba 100644 --- a/test/language/expressions/class/fields-privatename-constructor-err.js +++ b/test/language/expressions/class/fields-privatename-constructor-err.js @@ -4,7 +4,7 @@ /*--- description: Private class fields early error with StringValue "#constructor" esid: sec-class-definitions-static-semantics-early-errors -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-1.js b/test/language/module-code/privatename-not-valid-earlyerr-module-1.js index 03cfdfcb62..8e2060af5b 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-1.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-1.js @@ -7,7 +7,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class, class-fields-private] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-2.js b/test/language/module-code/privatename-not-valid-earlyerr-module-2.js index 004ba926a8..2c8915b440 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-2.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-2.js @@ -7,7 +7,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class, class-fields-private] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-3.js b/test/language/module-code/privatename-not-valid-earlyerr-module-3.js index 496a5846a2..befc878ebe 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-3.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-3.js @@ -7,7 +7,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class, class-fields-private, class-fields-public] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-4.js b/test/language/module-code/privatename-not-valid-earlyerr-module-4.js index 055952cad1..3ca9a74b66 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-4.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-4.js @@ -8,7 +8,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class, class-fields-private] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-5.js b/test/language/module-code/privatename-not-valid-earlyerr-module-5.js index be8e95742a..0520c52019 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-5.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-5.js @@ -7,7 +7,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class, class-fields-private] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-6.js b/test/language/module-code/privatename-not-valid-earlyerr-module-6.js index d2deab1fd6..a5c0802503 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-6.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-6.js @@ -7,7 +7,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class, class-fields-private] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-7.js b/test/language/module-code/privatename-not-valid-earlyerr-module-7.js index 360eaf61f8..0f2f75c2ea 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-7.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-7.js @@ -7,7 +7,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class-fields-private] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-not-valid-earlyerr-module-8.js b/test/language/module-code/privatename-not-valid-earlyerr-module-8.js index a5ff8a4475..31cbfae4aa 100644 --- a/test/language/module-code/privatename-not-valid-earlyerr-module-8.js +++ b/test/language/module-code/privatename-not-valid-earlyerr-module-8.js @@ -7,7 +7,7 @@ info: | Static Semantics: Early Errors Module : ModuleBody It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. -features: [class-fields] +features: [class-fields-private] flags: [module] negative: phase: early diff --git a/test/language/module-code/privatename-valid-no-earlyerr.js b/test/language/module-code/privatename-valid-no-earlyerr.js index 93ea02c64d..3cb66f1e38 100644 --- a/test/language/module-code/privatename-valid-no-earlyerr.js +++ b/test/language/module-code/privatename-valid-no-earlyerr.js @@ -25,7 +25,7 @@ info: | For all other grammatical productions, recurse on subexpressions/substatements, passing in the names of the caller. If all pieces return true, then return true. If any returns false, return false. flags: [module] -features: [class-fields] +features: [class, class-fields-private] ---*/ class outer { diff --git a/test/language/statements/class/fields-duplicate-privatenames.js b/test/language/statements/class/fields-duplicate-privatenames.js index ee77d36ae2..259fe53aa3 100644 --- a/test/language/statements/class/fields-duplicate-privatenames.js +++ b/test/language/statements/class/fields-duplicate-privatenames.js @@ -4,7 +4,7 @@ /*--- description: Syntax error if the same private field defined twice esid: sec-class-definitions-static-semantics-early-errors -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/fields-privatename-constructor-err.js b/test/language/statements/class/fields-privatename-constructor-err.js index 22946c3b4c..3631d52eac 100644 --- a/test/language/statements/class/fields-privatename-constructor-err.js +++ b/test/language/statements/class/fields-privatename-constructor-err.js @@ -4,7 +4,7 @@ /*--- description: Private class fields early error with StringValue "#constructor" esid: sec-class-definitions-static-semantics-early-errors -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatefieldadd-typeerror.js b/test/language/statements/class/privatefieldadd-typeerror.js index bf51214567..a22d0536c7 100644 --- a/test/language/statements/class/privatefieldadd-typeerror.js +++ b/test/language/statements/class/privatefieldadd-typeerror.js @@ -33,7 +33,7 @@ info: | 3. Let entry be PrivateFieldFind(P, O). 4. If entry is not empty, throw a TypeError exception. -features: [class-fields] +features: [class, class-fields-private] ---*/ diff --git a/test/language/statements/class/privatefieldget-success-1.js b/test/language/statements/class/privatefieldget-success-1.js index 73836bd040..834d6c876a 100644 --- a/test/language/statements/class/privatefieldget-success-1.js +++ b/test/language/statements/class/privatefieldget-success-1.js @@ -22,7 +22,7 @@ info: | 4. If entry is empty, throw a TypeError exception. 5. Return entry.[[PrivateFieldValue]]. -features: [class-fields] +features: [class, class-fields-private] ---*/ class Outer { diff --git a/test/language/statements/class/privatefieldget-success-2.js b/test/language/statements/class/privatefieldget-success-2.js index adc4e9a10f..a404985e22 100644 --- a/test/language/statements/class/privatefieldget-success-2.js +++ b/test/language/statements/class/privatefieldget-success-2.js @@ -22,7 +22,7 @@ info: | 4. If entry is empty, throw a TypeError exception. 5. Return entry.[[PrivateFieldValue]]. -features: [class-fields] +features: [class, class-fields-private] ---*/ diff --git a/test/language/statements/class/privatefieldget-success-3.js b/test/language/statements/class/privatefieldget-success-3.js index d9722f5639..9b6104eabc 100644 --- a/test/language/statements/class/privatefieldget-success-3.js +++ b/test/language/statements/class/privatefieldget-success-3.js @@ -22,7 +22,7 @@ info: | 4. If entry is empty, throw a TypeError exception. 5. Return entry.[[PrivateFieldValue]]. -features: [class-fields] +features: [class, class-fields-private] ---*/ diff --git a/test/language/statements/class/privatefieldget-success-4.js b/test/language/statements/class/privatefieldget-success-4.js index 7253d32f1c..b6c296afb3 100644 --- a/test/language/statements/class/privatefieldget-success-4.js +++ b/test/language/statements/class/privatefieldget-success-4.js @@ -22,7 +22,7 @@ info: | 4. If entry is empty, throw a TypeError exception. 5. Return entry.[[PrivateFieldValue]]. -features: [class-fields] +features: [class, class-fields-private] ---*/ diff --git a/test/language/statements/class/privatefieldget-success-5.js b/test/language/statements/class/privatefieldget-success-5.js index 450f5b72cb..64c0ad5511 100644 --- a/test/language/statements/class/privatefieldget-success-5.js +++ b/test/language/statements/class/privatefieldget-success-5.js @@ -22,7 +22,7 @@ info: | 4. If entry is empty, throw a TypeError exception. 5. Return entry.[[PrivateFieldValue]]. -features: [class-fields] +features: [class, class-fields-private] ---*/ diff --git a/test/language/statements/class/privatefieldget-typeerror-1.js b/test/language/statements/class/privatefieldget-typeerror-1.js index 1f1f201449..d90c45efae 100644 --- a/test/language/statements/class/privatefieldget-typeerror-1.js +++ b/test/language/statements/class/privatefieldget-typeerror-1.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private, class-fields-public] ---*/ class C { diff --git a/test/language/statements/class/privatefieldget-typeerror-2.js b/test/language/statements/class/privatefieldget-typeerror-2.js index 4a5f6be656..e22b83dde1 100644 --- a/test/language/statements/class/privatefieldget-typeerror-2.js +++ b/test/language/statements/class/privatefieldget-typeerror-2.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ class Outer { diff --git a/test/language/statements/class/privatefieldget-typeerror-3.js b/test/language/statements/class/privatefieldget-typeerror-3.js index 979ede5f2e..f9669a6610 100644 --- a/test/language/statements/class/privatefieldget-typeerror-3.js +++ b/test/language/statements/class/privatefieldget-typeerror-3.js @@ -29,7 +29,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ class Outer { diff --git a/test/language/statements/class/privatefieldget-typeerror-4.js b/test/language/statements/class/privatefieldget-typeerror-4.js index fce6c7c6c5..31a69809ed 100644 --- a/test/language/statements/class/privatefieldget-typeerror-4.js +++ b/test/language/statements/class/privatefieldget-typeerror-4.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ function classfactory() { diff --git a/test/language/statements/class/privatefieldget-typeerror-5.js b/test/language/statements/class/privatefieldget-typeerror-5.js index ff1f3737c1..24dd5be041 100644 --- a/test/language/statements/class/privatefieldget-typeerror-5.js +++ b/test/language/statements/class/privatefieldget-typeerror-5.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ class Outer { diff --git a/test/language/statements/class/privatefieldset-typeerror-1.js b/test/language/statements/class/privatefieldset-typeerror-1.js index ddd1a3f199..8ad4492c06 100644 --- a/test/language/statements/class/privatefieldset-typeerror-1.js +++ b/test/language/statements/class/privatefieldset-typeerror-1.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private, class-fields-public] ---*/ class C { diff --git a/test/language/statements/class/privatefieldset-typeerror-2.js b/test/language/statements/class/privatefieldset-typeerror-2.js index 8f83e513ea..80146eff74 100644 --- a/test/language/statements/class/privatefieldset-typeerror-2.js +++ b/test/language/statements/class/privatefieldset-typeerror-2.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ class Outer { diff --git a/test/language/statements/class/privatefieldset-typeerror-3.js b/test/language/statements/class/privatefieldset-typeerror-3.js index 4fb86cdd57..3f64d3eb74 100644 --- a/test/language/statements/class/privatefieldset-typeerror-3.js +++ b/test/language/statements/class/privatefieldset-typeerror-3.js @@ -29,7 +29,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ class Outer { diff --git a/test/language/statements/class/privatefieldset-typeerror-4.js b/test/language/statements/class/privatefieldset-typeerror-4.js index 29314e8b7d..0520bff461 100644 --- a/test/language/statements/class/privatefieldset-typeerror-4.js +++ b/test/language/statements/class/privatefieldset-typeerror-4.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ function classfactory() { diff --git a/test/language/statements/class/privatefieldset-typeerror-5.js b/test/language/statements/class/privatefieldset-typeerror-5.js index 7ccdc75e85..c088a50c99 100644 --- a/test/language/statements/class/privatefieldset-typeerror-5.js +++ b/test/language/statements/class/privatefieldset-typeerror-5.js @@ -28,7 +28,7 @@ info: | a. If entry.[[PrivateName]] is P, return entry. 4. Return empty. -features: [class-fields] +features: [class, class-fields-private] ---*/ diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-1.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-1.js index 58419869c5..28b9e72358 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-1.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-1.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-2.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-2.js index e09c7009d2..a782f86eb2 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-2.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-2.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-3.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-3.js index d857830008..adf564e75c 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-3.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-3.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private, class-fields-public] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-4.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-4.js index 4ad2c36632..22fab9e317 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-4.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-4.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-5.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-5.js index 69c7730c8d..1668953ccb 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-5.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-5.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-6.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-6.js index 6e48b198e0..11eadfc538 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-6.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-6.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-7.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-7.js index 7a70a4f7dc..8b1352ad34 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-7.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-7.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-earlyerr-script-8.js b/test/language/statements/class/privatename-not-valid-earlyerr-script-8.js index 40f5725963..4c6b110bc2 100644 --- a/test/language/statements/class/privatename-not-valid-earlyerr-script-8.js +++ b/test/language/statements/class/privatename-not-valid-earlyerr-script-8.js @@ -9,7 +9,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class-fields-private] negative: phase: early type: SyntaxError diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-1.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-1.js index 8f29f20bce..44a3f94835 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-1.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-1.js @@ -14,7 +14,7 @@ info: | 1. If names does not contain N, append N to names. ii. Let env be env's outer environment reference. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-2.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-2.js index 571b62b555..69ea3b5432 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-2.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-2.js @@ -14,7 +14,7 @@ info: | 1. If names does not contain N, append N to names. ii. Let env be env's outer environment reference. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-3.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-3.js index 5d0818a258..be2283ccb2 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-3.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-3.js @@ -14,7 +14,7 @@ info: | 1. If names does not contain N, append N to names. ii. Let env be env's outer environment reference. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private, class-fields-public] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-4.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-4.js index 58ca403cce..78395d58da 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-4.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-4.js @@ -14,7 +14,7 @@ info: | 1. If names does not contain N, append N to names. ii. Let env be env's outer environment reference. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-5.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-5.js index 5e8ba531c0..5572340e67 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-5.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-5.js @@ -14,7 +14,7 @@ info: | 1. If names does not contain N, append N to names. ii. Let env be env's outer environment reference. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-6.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-6.js index 816227e67b..cb50fa1912 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-6.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-6.js @@ -14,7 +14,7 @@ info: | 1. If names does not contain N, append N to names. ii. Let env be env's outer environment reference. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class, class-fields-private] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-7.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-7.js index f7e39c7137..972a395c8e 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-7.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-7.js @@ -8,7 +8,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class-fields-private] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-not-valid-eval-earlyerr-8.js b/test/language/statements/class/privatename-not-valid-eval-earlyerr-8.js index 8ffdc42deb..b433d6a6d3 100644 --- a/test/language/statements/class/privatename-not-valid-eval-earlyerr-8.js +++ b/test/language/statements/class/privatename-not-valid-eval-earlyerr-8.js @@ -8,7 +8,7 @@ info: | 1. Let names be an empty List. ... 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. -features: [class-fields] +features: [class-fields-private] ---*/ var executed = false; diff --git a/test/language/statements/class/privatename-valid-no-earlyerr.js b/test/language/statements/class/privatename-valid-no-earlyerr.js index 8f3aa0777c..3d8bc8a0a5 100644 --- a/test/language/statements/class/privatename-valid-no-earlyerr.js +++ b/test/language/statements/class/privatename-valid-no-earlyerr.js @@ -27,7 +27,7 @@ info: | For all other grammatical productions, recurse on subexpressions/substatements, passing in the names of the caller. If all pieces return true, then return true. If any returns false, return false. -features: [class-fields] +features: [class, class-fields-private] ---*/ class outer {