diff --git a/test/built-ins/Proxy/construct/trap-is-null.js b/test/built-ins/Proxy/construct/trap-is-null.js index c5b915adaf8727a523a577c54eb2dd817eef0e92..a5a63f0712110aae6d998cdea110a23dfef8f8ca 100644 --- a/test/built-ins/Proxy/construct/trap-is-null.js +++ b/test/built-ins/Proxy/construct/trap-is-null.js @@ -21,7 +21,7 @@ info: | ... 3. If func is either undefined or null, return undefined. ... -features: [Proxy, Reflect, Reflect.construct, new.target] +features: [new.target, Proxy, Reflect, Reflect.construct] ---*/ var calls = 0; diff --git a/test/built-ins/Proxy/construct/trap-is-undefined-no-property.js b/test/built-ins/Proxy/construct/trap-is-undefined-no-property.js index 8b19128db030da514d9d09fa3c2f267c0202449f..557bd7133a819b5a0482e7ba2ab47525772507aa 100644 --- a/test/built-ins/Proxy/construct/trap-is-undefined-no-property.js +++ b/test/built-ins/Proxy/construct/trap-is-undefined-no-property.js @@ -10,7 +10,7 @@ info: | 7. If trap is undefined, then b. Return Construct(target, argumentsList, newTarget). -features: [Proxy, Reflect, Reflect.construct, new.target] +features: [new.target, Proxy, Reflect, Reflect.construct] ---*/ var calls = 0; diff --git a/test/built-ins/Proxy/construct/trap-is-undefined.js b/test/built-ins/Proxy/construct/trap-is-undefined.js index 0dd7b2e4b1089fa823fc76368dedc1d67ce6a5d7..82b400abc891ec6f7b46fa09306bbd5c8cbcd0aa 100644 --- a/test/built-ins/Proxy/construct/trap-is-undefined.js +++ b/test/built-ins/Proxy/construct/trap-is-undefined.js @@ -21,7 +21,7 @@ info: | ... 3. If func is either undefined or null, return undefined. ... -features: [Proxy, Reflect, Reflect.construct, new.target] +features: [new.target, Proxy, Reflect, Reflect.construct] ---*/ var calls = 0; diff --git a/test/language/expressions/arrow-function/lexical-new.target-closure-returned.js b/test/language/expressions/arrow-function/lexical-new.target-closure-returned.js index 7cd9d43bf455a39e6f611fd2345515080ca0c7aa..248b1de6d0ebdc9e638d75b86446596582479a16 100644 --- a/test/language/expressions/arrow-function/lexical-new.target-closure-returned.js +++ b/test/language/expressions/arrow-function/lexical-new.target-closure-returned.js @@ -14,7 +14,7 @@ description: > The non-normative note elaborates on the "scope" argument: An ArrowFunction does not define local bindings for arguments, super, this, or new.target. Any reference to arguments, super, or this within an ArrowFunction must resolve to a binding in a lexically enclosing environment. Typically this will be the Function Environment of an immediately enclosing function. Even though an ArrowFunction may contain references to super, the function object created in step 4 is not made into a method by performing MakeMethod. An ArrowFunction that references super is always contained within a non-ArrowFunction and the necessary state to implement super is accessible via the scope that is captured by the function object of the ArrowFunction. -features: [new.target] +features: [arrow-function, new.target] ---*/ function F() { diff --git a/test/language/expressions/arrow-function/lexical-new.target.js b/test/language/expressions/arrow-function/lexical-new.target.js index 400779bf349cc1215f7b80042ada9751e3ea2661..b44ad6b937b817127d14a192ca9924295e8b3585 100644 --- a/test/language/expressions/arrow-function/lexical-new.target.js +++ b/test/language/expressions/arrow-function/lexical-new.target.js @@ -14,7 +14,7 @@ description: > The non-normative note elaborates on the "scope" argument: An ArrowFunction does not define local bindings for arguments, super, this, or new.target. Any reference to arguments, super, or this within an ArrowFunction must resolve to a binding in a lexically enclosing environment. Typically this will be the Function Environment of an immediately enclosing function. Even though an ArrowFunction may contain references to super, the function object created in step 4 is not made into a method by performing MakeMethod. An ArrowFunction that references super is always contained within a non-ArrowFunction and the necessary state to implement super is accessible via the scope that is captured by the function object of the ArrowFunction. -features: [new.target] +features: [arrow-function, new.target] ---*/ var functionInvocationCount = 0; diff --git a/test/language/expressions/new.target/value-via-reflect-apply.js b/test/language/expressions/new.target/value-via-reflect-apply.js index ed8d37efd6827863974cfa9d89a2a32ed1f1ae9d..2c621c75e4f13b6717389cf142c0bce8d5a1e276 100644 --- a/test/language/expressions/new.target/value-via-reflect-apply.js +++ b/test/language/expressions/new.target/value-via-reflect-apply.js @@ -7,7 +7,7 @@ description: Value when invoked via `Reflect.apply` info: | [...] 5. Return ? Call(target, thisArgument, args). -features: [Reflect, new.target] +features: [new.target, Reflect] ---*/ var newTarget = null; diff --git a/test/language/expressions/new.target/value-via-reflect-construct.js b/test/language/expressions/new.target/value-via-reflect-construct.js index 513ce97d2f0b2c4f4caed18eb33a5d5b535a5e38..f945adde61e465059f63a0defc125f0acd0d454b 100644 --- a/test/language/expressions/new.target/value-via-reflect-construct.js +++ b/test/language/expressions/new.target/value-via-reflect-construct.js @@ -9,7 +9,7 @@ info: | 2. If newTarget is not present, let newTarget be target. [...] 5. Return ? Construct(target, args, newTarget). -features: [Reflect, new.target] +features: [new.target, Reflect, Reflect.construct] ---*/ var customNewTarget = function() {}; diff --git a/test/language/expressions/new.target/value-via-tagged-template.js b/test/language/expressions/new.target/value-via-tagged-template.js index b6dfa7284317c061f8b6f9090ed87700a78b0af1..61b8a4d52d407ba87cbbd51ce6f361df0344d365 100644 --- a/test/language/expressions/new.target/value-via-tagged-template.js +++ b/test/language/expressions/new.target/value-via-tagged-template.js @@ -9,7 +9,7 @@ info: | [...] 4. Return ? EvaluateCall(tagRef, TemplateLiteral, tailCall). -features: [template, new.target] +features: [new.target, template] ---*/ var newTarget = null; diff --git a/test/language/expressions/super/call-construct-invocation.js b/test/language/expressions/super/call-construct-invocation.js index 4966d0ce3df89e0bf504c850b51d33b9f965b556..7a3f8bffa3a43c8bc3d8221b089caea9fe56996a 100644 --- a/test/language/expressions/super/call-construct-invocation.js +++ b/test/language/expressions/super/call-construct-invocation.js @@ -8,7 +8,7 @@ info: | [...] 6. Let result be ? Construct(func, argList, newTarget). [...] -features: [class, Reflect, new.target] +features: [class, new.target, Reflect, Reflect.construct] ---*/ var expectedNewTarget = function() {};