diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js
index 6b2f5c52ae63f2e9c63a271034c9d85a752a1090..bb65446c91c872ee45bd6a31760e918fbbb87375 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 let f = () => import('./script-code-valid.js');
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js
index b2775c788552f355cfc56c892a17004da1469a90..e5d88aca4f192dedbce4fde02fb3c49ad2b5f51b 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 let f = () => {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js
index 1d158bc8e3eed81ea86770d36290c78bffebe59d..653758e7eb6dc827c7f4abc14dfaf8b6d46dcc60 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 async function f() {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js
index 59562aa7a5c73a1ecc03ce6e117116addc19adfa..d66168a9358fcb41d93b827dd399f690dd0b03d4 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 async function f() {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js
index c84ea7b9f8eb19d135e5fac046fd07053da742b4..c11335ff13e33b2ef0878706c276b77f1d86faf9 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 async function f() {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js
index 13497b34e7b5ef9c05124eeee7e0e28a70684dce..5ee1cdd9005e0dd8ffae580ea5ad28297614a4fc 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 label: {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js
index 5d6695e798003cba04a7b881312167855d7b2cc9..c8d11be30ffd519d0556cdb75191abc75493010a 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js
index 48f077ce616167eafbb788b924122ceeddb685bd..99f29fc051da4e1666c4c795771ab8d62431e386 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 do {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js
index f89757b044ceb528f1d4529561e726282ad94d21..f9f2c9fb07b219181233a9368736f7e0224a39b7 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 if (false) {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js
index 35ea822ce4d0469157596f8e906e7d51b56f1a28..ca6918a2945ab84a72fd4968abcaa2a1f5d38236 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 if (false) {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js
index c0e3e4bd12708f864da8e458357f7a1f0c731339..dc950a2b9c7e7d73e607b5de19dca3e93d978fb6 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 function fn() {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js
index 7ec29607ebe56b3e20061a8a18e3d5d95e37cf93..22198dc752f3c821dbaeb0bfb1897e3183a83aed 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 function fn() {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js
index 098450e4bdf38faae1dcc3ee1f73966dde2ea0a6..579eab71588a01323c6beff541ca9bb70e160254 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 if (true) import('./script-code-valid.js');
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js
index 60ef4200955ac00dc80254621ac6deafd2b7a158..379707ed72faf97133c02eedc7e0eb2a6edf00de 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 if (true) {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js
index 4ad2971bf3ce847172cec0b5b948ef3232101fa4..dbe745629ff45bf1b8a8275f8fd1d771fd6db1d1 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 let x = 0;
diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js
index 1249a3c6039923fd845ccbbd3b355ee6385dba2a..1d7e11328953523aabdf8e8b465851fd9e4eb261 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js
@@ -21,9 +21,9 @@ info: |
     9. Return promiseCapability.[[Promise]].
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 with ({}) {
diff --git a/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js
index 4509545ac17ac2e7186ff09d4724ae92b6ccfc59..4bd26b294ace0bc8b270825e1180696bcfe94b4d 100644
--- a/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js
+++ b/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js
@@ -11,9 +11,9 @@ info: |
         import( AssignmentExpression )
 
 ---*/
-// It is a Syntax Error if ModuleItemList Contains NewTarget
-// This is still valid in script code
-new.target;
+// This is still valid in script code, and should not be valid for module code
+// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
+var x; function x() {}
 
 
 import('./script-code-valid.js');