Generate tests

This commit is contained in:
Leo Balter 2018-10-08 11:05:09 -04:00
parent 4388d5dc25
commit 9e4fc1b1c2
17 changed files with 51 additions and 51 deletions

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
let f = () => import('./script-code-valid.js'); let f = () => import('./script-code-valid.js');

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
let f = () => { let f = () => {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
async function f() { async function f() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
async function f() { async function f() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
async function f() { async function f() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
label: { label: {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
{ {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
do { do {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
if (false) { if (false) {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
if (false) { if (false) {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
function fn() { function fn() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
function fn() { function fn() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
if (true) import('./script-code-valid.js'); if (true) import('./script-code-valid.js');

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
if (true) { if (true) {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
let x = 0; let x = 0;

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]]. 9. Return promiseCapability.[[Promise]].
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
with ({}) { with ({}) {

View File

@ -11,9 +11,9 @@ info: |
import( AssignmentExpression ) import( AssignmentExpression )
---*/ ---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
import('./script-code-valid.js'); import('./script-code-valid.js');