Bug 1533168 - Part 1: Update test262 - Mar 06 2018 edition. r=jwalden
authorAndré Bargull <andre.bargull@gmail.com>
Thu, 07 Mar 2019 14:40:20 +0000
changeset 520769 39cdd8bf9e755af92ae8ee171638dfbcb0bed38e
parent 520768 b4eb5531f8e7ce7993eca23add7c06fc3cbad05e
child 520770 a4992bb8ebc69eaa8fe596e32eb94aa5dfa9ef24
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwalden
bugs1533168
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1533168 - Part 1: Update test262 - Mar 06 2018 edition. r=jwalden Differential Revision: https://phabricator.services.mozilla.com/D22402
js/src/tests/test262/GIT-INFO
js/src/tests/test262/jstests.list
js/src/tests/test262/language/comments/hashbang/escaped-bang-041.js
js/src/tests/test262/language/comments/hashbang/escaped-bang-u0021.js
js/src/tests/test262/language/comments/hashbang/escaped-bang-u21.js
js/src/tests/test262/language/comments/hashbang/escaped-bang-x21.js
js/src/tests/test262/language/comments/hashbang/escaped-hash-043.js
js/src/tests/test262/language/comments/hashbang/escaped-hash-u0023.js
js/src/tests/test262/language/comments/hashbang/escaped-hash-u23.js
js/src/tests/test262/language/comments/hashbang/escaped-hash-x23.js
js/src/tests/test262/language/comments/hashbang/escaped-hashbang.js
js/src/tests/test262/language/comments/hashbang/eval-indirect.js
js/src/tests/test262/language/comments/hashbang/eval.js
js/src/tests/test262/language/comments/hashbang/function-body.js
js/src/tests/test262/language/comments/hashbang/function-constructor.js
js/src/tests/test262/language/comments/hashbang/module.js
js/src/tests/test262/language/comments/hashbang/multi-line-comment.js
js/src/tests/test262/language/comments/hashbang/no-line-separator.js
js/src/tests/test262/language/comments/hashbang/not-empty.js
js/src/tests/test262/language/comments/hashbang/preceding-directive-prologue-sc.js
js/src/tests/test262/language/comments/hashbang/preceding-directive-prologue.js
js/src/tests/test262/language/comments/hashbang/preceding-empty-statement.js
js/src/tests/test262/language/comments/hashbang/preceding-hashbang.js
js/src/tests/test262/language/comments/hashbang/preceding-line-comment.js
js/src/tests/test262/language/comments/hashbang/preceding-multi-line-comment.js
js/src/tests/test262/language/comments/hashbang/preceding-whitespace.js
js/src/tests/test262/language/comments/hashbang/statement-block.js
js/src/tests/test262/language/comments/hashbang/use-strict.js
js/src/tests/test262/language/directive-prologue/10.1.1-2gs.js
js/src/tests/test262/language/directive-prologue/10.1.1-5gs.js
js/src/tests/test262/language/directive-prologue/10.1.1-8gs.js
js/src/tests/test262/language/directive-prologue/14.1-4gs.js
js/src/tests/test262/language/directive-prologue/14.1-5gs.js
js/src/tests/test262/language/directive-prologue/func-decl-inside-func-decl-parse.js
js/src/tests/test262/language/directive-prologue/func-decl-no-semi-parse.js
js/src/tests/test262/language/directive-prologue/func-decl-parse.js
js/src/tests/test262/language/directive-prologue/func-expr-inside-func-decl-parse.js
js/src/tests/test262/language/directive-prologue/func-expr-no-semi-parse.js
js/src/tests/test262/language/directive-prologue/func-expr-parse.js
js/src/tests/test262/language/expressions/import.meta/syntax/goal-script.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-array-destructuring-expr.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-array-rest-destructuring-expr.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-assignment-expr.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-await-of-loop.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-in-loop.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-of-loop.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-object-destructuring-expr.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-object-rest-destructuring-expr.js
js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js
--- a/js/src/tests/test262/GIT-INFO
+++ b/js/src/tests/test262/GIT-INFO
@@ -1,8 +1,5 @@
-commit 59b89a1c834faadc359aecc882587b513877b59b
-Merge: b4e15b3 262216e
-Author: Leo Balter <leonardo.balter@gmail.com>
-Date:   Tue Feb 26 11:01:57 2019 -0500
+commit c822f4c92914333d197191b2b3dec4e923acb4a3
+Author: André Bargull <andre.bargull@gmail.com>
+Date:   Wed Mar 6 09:24:44 2019 -0800
 
-    Merge pull request #2083 from leobalter/2034/yaml-extra-lines
-    
-    Add lint check for leading empty lines in description and info blocks
+    Fix existing linting errors, update error phase, and add a new flags linter (#2086)
--- a/js/src/tests/test262/jstests.list
+++ b/js/src/tests/test262/jstests.list
@@ -1,7 +1,25 @@
 # GENERATED, DO NOT EDIT
 
+error:SyntaxError script language/comments/hashbang/escaped-bang-041.js
+error:SyntaxError script language/comments/hashbang/escaped-bang-u0021.js
+error:SyntaxError script language/comments/hashbang/escaped-bang-u21.js
+error:SyntaxError script language/comments/hashbang/escaped-bang-x21.js
+error:SyntaxError script language/comments/hashbang/escaped-hash-043.js
+error:SyntaxError script language/comments/hashbang/escaped-hash-u0023.js
+error:SyntaxError script language/comments/hashbang/escaped-hash-u23.js
+error:SyntaxError script language/comments/hashbang/escaped-hash-x23.js
+error:SyntaxError script language/comments/hashbang/escaped-hashbang.js
+module script language/comments/hashbang/module.js
+error:SyntaxError script language/comments/hashbang/multi-line-comment.js
+error:SyntaxError script language/comments/hashbang/preceding-directive-prologue-sc.js
+error:SyntaxError script language/comments/hashbang/preceding-directive-prologue.js
+error:SyntaxError script language/comments/hashbang/preceding-empty-statement.js
+error:SyntaxError script language/comments/hashbang/preceding-hashbang.js
+error:SyntaxError script language/comments/hashbang/preceding-line-comment.js
+error:SyntaxError script language/comments/hashbang/preceding-multi-line-comment.js
+error:SyntaxError script language/comments/hashbang/preceding-whitespace.js
 error:SyntaxError script language/directive-prologue/10.1.1-2gs.js
 error:SyntaxError script language/directive-prologue/10.1.1-5gs.js
 error:SyntaxError script language/directive-prologue/10.1.1-8gs.js
 error:SyntaxError script language/directive-prologue/14.1-4gs.js
 error:SyntaxError script language/directive-prologue/14.1-5gs.js
--- a/js/src/tests/test262/language/comments/hashbang/escaped-bang-041.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-bang-041.js
@@ -1,18 +1,20 @@
 #\041
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \041
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-bang-u0021.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-bang-u0021.js
@@ -1,18 +1,20 @@
 #\u0021
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \u0021
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-bang-u21.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-bang-u21.js
@@ -1,18 +1,20 @@
 #\u{21}
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \u{21}
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-bang-x21.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-bang-x21.js
@@ -1,18 +1,20 @@
 #\x21
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \x21
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-hash-043.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-hash-043.js
@@ -1,18 +1,20 @@
 \043!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \043
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-hash-u0023.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-hash-u0023.js
@@ -1,18 +1,20 @@
 \u0023!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \u0023
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-hash-u23.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-hash-u23.js
@@ -1,18 +1,20 @@
 \u{23}!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \u{23}
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-hash-x23.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-hash-x23.js
@@ -1,18 +1,20 @@
 \x23!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters \x23
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/escaped-hashbang.js
+++ b/js/src/tests/test262/language/comments/hashbang/escaped-hashbang.js
@@ -1,18 +1,20 @@
 \u0023\u0021
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed to have encoded characters
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/eval-indirect.js
+++ b/js/src/tests/test262/language/comments/hashbang/eval-indirect.js
@@ -1,8 +1,11 @@
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should be available in Script evaluator contexts. (indirect eval)
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 features: [hashbang]
--- a/js/src/tests/test262/language/comments/hashbang/eval.js
+++ b/js/src/tests/test262/language/comments/hashbang/eval.js
@@ -1,8 +1,11 @@
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should be available in Script evaluator contexts. (direct eval)
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 features: [hashbang]
--- a/js/src/tests/test262/language/comments/hashbang/function-body.js
+++ b/js/src/tests/test262/language/comments/hashbang/function-body.js
@@ -1,9 +1,12 @@
 // |reftest| error:SyntaxError
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at the start of source texts and should not be allowed within function bodies.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 negative:
--- a/js/src/tests/test262/language/comments/hashbang/function-constructor.js
+++ b/js/src/tests/test262/language/comments/hashbang/function-constructor.js
@@ -1,8 +1,11 @@
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be allowed in function evaluator contexts.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 features: [hashbang]
--- a/js/src/tests/test262/language/comments/hashbang/module.js
+++ b/js/src/tests/test262/language/comments/hashbang/module.js
@@ -1,9 +1,13 @@
 #!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should be allowed in Modules.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [module, raw]
--- a/js/src/tests/test262/language/comments/hashbang/multi-line-comment.js
+++ b/js/src/tests/test262/language/comments/hashbang/multi-line-comment.js
@@ -1,19 +1,21 @@
 #!/*
 throw "Test262: This statement should not be evaluated.";
 these characters should not be considered within a comment
 */
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not interpret multi-line comments.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/no-line-separator.js
+++ b/js/src/tests/test262/language/comments/hashbang/no-line-separator.js
@@ -1,8 +1,11 @@
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not require a newline afterwards
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 features: [hashbang]
--- a/js/src/tests/test262/language/comments/hashbang/not-empty.js
+++ b/js/src/tests/test262/language/comments/hashbang/not-empty.js
@@ -1,9 +1,13 @@
 #! these characters should be treated as a comment
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should be allowed in Scripts and should not be required to be empty.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
--- a/js/src/tests/test262/language/comments/hashbang/preceding-directive-prologue-sc.js
+++ b/js/src/tests/test262/language/comments/hashbang/preceding-directive-prologue-sc.js
@@ -1,19 +1,21 @@
 "use strict";
 #!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at start of source texts and should not be preceded by DirectivePrologues.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/preceding-directive-prologue.js
+++ b/js/src/tests/test262/language/comments/hashbang/preceding-directive-prologue.js
@@ -1,19 +1,21 @@
 "use strict"
 #!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at start of source texts and should not be preceded by DirectivePrologues.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/preceding-empty-statement.js
+++ b/js/src/tests/test262/language/comments/hashbang/preceding-empty-statement.js
@@ -1,18 +1,20 @@
 ;#!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at the start of source texts and should not be preceded by empty statements.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/preceding-hashbang.js
+++ b/js/src/tests/test262/language/comments/hashbang/preceding-hashbang.js
@@ -1,19 +1,21 @@
 #!
 #!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at the start of source texts and should not be preceded by Hashbang comments.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/preceding-line-comment.js
+++ b/js/src/tests/test262/language/comments/hashbang/preceding-line-comment.js
@@ -1,19 +1,21 @@
 //
 #!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at the start of source texts and should not be preceded by line comments.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/preceding-multi-line-comment.js
+++ b/js/src/tests/test262/language/comments/hashbang/preceding-multi-line-comment.js
@@ -1,19 +1,21 @@
 /*
 */#!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at the start of source texts and should not be preceded by multi-line comments.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/preceding-whitespace.js
+++ b/js/src/tests/test262/language/comments/hashbang/preceding-whitespace.js
@@ -1,18 +1,20 @@
  #!
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at the start of source texts and should not be preceded by whitespace.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 flags: [raw]
 negative:
   phase: parse
   type: SyntaxError
 features: [hashbang]
 ---*/
 
 throw "Test262: This statement should not be evaluated.";
-
-reportCompare(0, 0);
--- a/js/src/tests/test262/language/comments/hashbang/statement-block.js
+++ b/js/src/tests/test262/language/comments/hashbang/statement-block.js
@@ -1,9 +1,12 @@
 // |reftest| error:SyntaxError
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should only be allowed at the start of source texts and should not be allowed within blocks.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
 negative:
--- a/js/src/tests/test262/language/comments/hashbang/use-strict.js
+++ b/js/src/tests/test262/language/comments/hashbang/use-strict.js
@@ -1,15 +1,19 @@
 #!"use strict"
+
+// Copyright (C) 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
 /*---
 esid: pending
 description: >
     Hashbang comments should not be interpreted and should not generate DirectivePrologues.
 info: |
     HashbangComment::
       #! SingleLineCommentChars[opt]
-flags: [raw, noStrict]
+flags: [raw]
 features: [hashbang]
 ---*/
 
 with ({}) {}
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/directive-prologue/10.1.1-2gs.js
+++ b/js/src/tests/test262/language/directive-prologue/10.1.1-2gs.js
@@ -8,10 +8,10 @@ description: >
     which lost the last character ';'
 negative:
   phase: parse
   type: SyntaxError
 flags: [raw]
 ---*/
 
 "use strict"
-throw new Error("This code should not execute");
+throw "Test262: This statement should not be evaluated.";
 var public = 1;
--- a/js/src/tests/test262/language/directive-prologue/10.1.1-5gs.js
+++ b/js/src/tests/test262/language/directive-prologue/10.1.1-5gs.js
@@ -8,10 +8,10 @@ description: >
     which appears at the start of the code
 negative:
   phase: parse
   type: SyntaxError
 flags: [raw]
 ---*/
 
 "use strict";
-throw new Error("This code should not execute");
+throw "Test262: This statement should not be evaluated.";
 var public = 1;
--- a/js/src/tests/test262/language/directive-prologue/10.1.1-8gs.js
+++ b/js/src/tests/test262/language/directive-prologue/10.1.1-8gs.js
@@ -9,10 +9,10 @@ description: >
 negative:
   phase: parse
   type: SyntaxError
 flags: [raw]
 ---*/
 
 "use strict";
 "use strict";
-throw new Error("This code should not execute");
+throw "Test262: This statement should not be evaluated.";
 var public = 1;
--- a/js/src/tests/test262/language/directive-prologue/14.1-4gs.js
+++ b/js/src/tests/test262/language/directive-prologue/14.1-4gs.js
@@ -8,10 +8,10 @@ description: >
     violation
 negative:
   phase: parse
   type: SyntaxError
 flags: [raw]
 ---*/
 
 "use strict";
-throw new Error("This code should not execute");
+throw "Test262: This statement should not be evaluated.";
 eval = 42;
--- a/js/src/tests/test262/language/directive-prologue/14.1-5gs.js
+++ b/js/src/tests/test262/language/directive-prologue/14.1-5gs.js
@@ -10,10 +10,10 @@ negative:
   phase: parse
   type: SyntaxError
 flags: [raw]
 ---*/
 
 "a";
 "use strict";
 "c";
-throw new Error("This code should not execute");
+throw "Test262: This statement should not be evaluated.";
 eval = 42;
--- a/js/src/tests/test262/language/directive-prologue/func-decl-inside-func-decl-parse.js
+++ b/js/src/tests/test262/language/directive-prologue/func-decl-inside-func-decl-parse.js
@@ -5,19 +5,21 @@
 /*---
 esid: use-strict-directive
 es5id: 10.1.1-15-s
 description: >
     Strict Mode - Function code that is part of a FunctionDeclaration
     is strict function code if FunctionDeclaration is contained in use
     strict
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 flags: [noStrict]
 ---*/
 
+$DONOTEVALUATE();
+
 function testcase() {
   "use strict";
   function fun() {
     var static;
   }
 }
--- a/js/src/tests/test262/language/directive-prologue/func-decl-no-semi-parse.js
+++ b/js/src/tests/test262/language/directive-prologue/func-decl-no-semi-parse.js
@@ -4,17 +4,19 @@
 
 /*---
 esid: use-strict-directive
 es5id: 10.1.1-2-s
 description: >
     Strict Mode - Use Strict Directive Prologue is ''use strict''
     which lost the last character ';'
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 flags: [noStrict]
 ---*/
 
+$DONOTEVALUATE();
+
 function fun() {
   "use strict"
   var static;
 }
--- a/js/src/tests/test262/language/directive-prologue/func-decl-parse.js
+++ b/js/src/tests/test262/language/directive-prologue/func-decl-parse.js
@@ -4,17 +4,19 @@
 
 /*---
 esid: use-strict-directive
 es5id: 10.1.1-19-s
 description: >
     Strict Mode - Function code of a FunctionDeclaration contains Use
     Strict Directive which appears at the start of the block
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 flags: [noStrict]
 ---*/
 
+$DONOTEVALUATE();
+
 function fun() {
   "use strict";
   var static;
 }
--- a/js/src/tests/test262/language/directive-prologue/func-expr-inside-func-decl-parse.js
+++ b/js/src/tests/test262/language/directive-prologue/func-expr-inside-func-decl-parse.js
@@ -5,17 +5,19 @@
 /*---
 esid: use-strict-directive
 es5id: 10.1.1-16-s
 description: >
     Strict Mode - Function code that is part of a FunctionExpression
     is strict function code if FunctionExpression is contained in use
     strict
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 flags: [noStrict]
 ---*/
 
+$DONOTEVALUATE();
+
 function testcase() {
   "use strict";
   var static;
 }
--- a/js/src/tests/test262/language/directive-prologue/func-expr-no-semi-parse.js
+++ b/js/src/tests/test262/language/directive-prologue/func-expr-no-semi-parse.js
@@ -4,18 +4,20 @@
 
 /*---
 esid: use-strict-directive
 es5id: 10.1.1-2-s
 description: >
     Strict Mode - Use Strict Directive Prologue is ''use strict''
     which lost the last character ';'
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 flags: [noStrict]
 ---*/
 
+$DONOTEVALUATE();
+
 (function() {
   "use strict"
 
   var static;
 });
--- a/js/src/tests/test262/language/directive-prologue/func-expr-parse.js
+++ b/js/src/tests/test262/language/directive-prologue/func-expr-parse.js
@@ -4,18 +4,20 @@
 
 /*---
 esid: use-strict-directive
 es5id: 10.1.1-22-s
 description: >
     Strict Mode - Function code of a FunctionExpression contains Use
     Strict Directive which appears at the start of the block
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 flags: [noStrict]
 ---*/
 
+$DONOTEVALUATE();
+
 (function() {
   "use strict";
 
   var static;
 });
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/goal-script.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/goal-script.js
@@ -4,16 +4,16 @@
 
 /*---
 esid: sec-left-hand-side-expressions-static-semantics-early-errors
 description: >
   An early Syntax Error is thrown when the syntactic goal symbol is Script.
 info: |
   It is an early Syntax Error if Module is not the syntactic goal symbol.
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta]
 ---*/
 
 $DONOTEVALUATE();
 
 import.meta;
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-array-destructuring-expr.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-array-destructuring-expr.js
@@ -17,16 +17,16 @@ info: |
   12.15.5.1 Static Semantics: Early Errors
 
     DestructuringAssignmentTarget : LeftHandSideExpression
 
     It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
     and AssignmentTargetType(LeftHandSideExpression) is not simple.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta, destructuring-assignment]
 ---*/
 
 $DONOTEVALUATE();
 
 [import.meta] = [];
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-array-rest-destructuring-expr.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-array-rest-destructuring-expr.js
@@ -17,16 +17,16 @@ info: |
   12.15.5.1 Static Semantics: Early Errors
 
     DestructuringAssignmentTarget : LeftHandSideExpression
 
     It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
     and AssignmentTargetType(LeftHandSideExpression) is not simple.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta, destructuring-assignment]
 ---*/
 
 $DONOTEVALUATE();
 
 [...import.meta] = [];
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-assignment-expr.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-assignment-expr.js
@@ -17,16 +17,16 @@ info: |
   12.15.1 Static Semantics: Early Errors
 
     AssignmentExpression : LeftHandSideExpression = AssignmentExpression
 
     It is an early Reference Error if LeftHandSideExpression is neither an ObjectLiteral nor an
     ArrayLiteral and AssignmentTargetType of LeftHandSideExpression is invalid.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: ReferenceError
 features: [import.meta]
 ---*/
 
 $DONOTEVALUATE();
 
 import.meta = 0;
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-await-of-loop.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-await-of-loop.js
@@ -16,17 +16,17 @@ info: |
 
   13.7.5.1 Static Semantics: Early Errors
     IterationStatement:
       for await ( LeftHandSideExpression of AssignmentExpression ) Statement
 
     It is a Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta, async-iteration]
 ---*/
 
 $DONOTEVALUATE();
 
 async function* f() {
     for await (import.meta of null) ;
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-in-loop.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-in-loop.js
@@ -16,16 +16,16 @@ info: |
 
   13.7.5.1 Static Semantics: Early Errors
     IterationStatement:
       for ( LeftHandSideExpression in Expression ) Statement
 
     It is a Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta]
 ---*/
 
 $DONOTEVALUATE();
 
 for (import.meta in null) ;
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-of-loop.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-for-of-loop.js
@@ -16,16 +16,16 @@ info: |
 
   13.7.5.1 Static Semantics: Early Errors
     IterationStatement:
       for ( LeftHandSideExpression of AssignmentExpression ) Statement
 
     It is a Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta]
 ---*/
 
 $DONOTEVALUATE();
 
 for (import.meta of null) ;
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-object-destructuring-expr.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-object-destructuring-expr.js
@@ -17,16 +17,16 @@ info: |
   12.15.5.1 Static Semantics: Early Errors
 
     DestructuringAssignmentTarget : LeftHandSideExpression
 
     It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
     and AssignmentTargetType(LeftHandSideExpression) is not simple.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta, destructuring-assignment]
 ---*/
 
 $DONOTEVALUATE();
 
 ({a: import.meta} = {});
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-object-rest-destructuring-expr.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-object-rest-destructuring-expr.js
@@ -17,16 +17,16 @@ info: |
   12.15.5.1 Static Semantics: Early Errors
 
     DestructuringAssignmentTarget : LeftHandSideExpression
 
     It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
     and AssignmentTargetType(LeftHandSideExpression) is not simple.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: SyntaxError
 features: [import.meta, destructuring-assignment, object-rest]
 ---*/
 
 $DONOTEVALUATE();
 
 ({...import.meta} = {});
--- a/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js
+++ b/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js
@@ -18,16 +18,16 @@ info: |
 
     UpdateExpression:
       LeftHandSideExpression++
       LeftHandSideExpression--
 
     It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
 flags: [module]
 negative:
-  phase: early
+  phase: parse
   type: ReferenceError
 features: [import.meta]
 ---*/
 
 $DONOTEVALUATE();
 
 import.meta++;