Bug 1530879 - Update the test262 import to upstream rev b337eaf7c7b9bb90991132d0018fdd1d441545ae. r=jorendorff
authorJeff Walden <jwalden@mit.edu>
Tue, 26 Feb 2019 17:06:48 -0800
changeset 519544 a088ba848e63ca2e6834633eef455166349ad72e
parent 519543 075e7b0295529f13de5cdb3443cc1f045b9ba994
child 519545 1f34e2faf03052c4f8867a79129bded61451f784
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)
reviewersjorendorff
bugs1530879
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 1530879 - Update the test262 import to upstream rev b337eaf7c7b9bb90991132d0018fdd1d441545ae. r=jorendorff
js/src/tests/test262/GIT-INFO
js/src/tests/test262/intl402/Intl/getCanonicalLocales/Locale-object.js
js/src/tests/test262/language/expressions/postfix-decrement/arguments-nostrict.js
js/src/tests/test262/language/expressions/postfix-decrement/eval-nostrict.js
js/src/tests/test262/language/expressions/postfix-increment/arguments-nostrict.js
js/src/tests/test262/language/expressions/postfix-increment/eval-nostrict.js
js/src/tests/test262/language/expressions/prefix-decrement/arguments-nostrict.js
js/src/tests/test262/language/expressions/prefix-decrement/eval-nostrict.js
js/src/tests/test262/language/expressions/prefix-increment/arguments-nostrict.js
js/src/tests/test262/language/expressions/prefix-increment/eval-nostrict.js
--- a/js/src/tests/test262/GIT-INFO
+++ b/js/src/tests/test262/GIT-INFO
@@ -1,9 +1,5 @@
-commit 116c95d97ce3982c45d955ab596c7b55efd51a8f
+commit b337eaf7c7b9bb90991132d0018fdd1d441545ae
 Author: Frank Yung-Fong Tang <41213225+FrankYFTang@users.noreply.github.com>
-Date:   Thu Jan 24 09:45:49 2019 -0800
+Date:   Mon Jan 28 07:59:07 2019 -0800
 
-    Change test for -kn (#1995)
-    
-    Add test for case of -kn-true
-    Verify no -kn-true nor -kn-false in the returned locale.
-    Change expectation per https://github.com/tc39/ecma402/pull/302
+    change irregular grandfather tag to it's canonical (#2048)
--- a/js/src/tests/test262/intl402/Intl/getCanonicalLocales/Locale-object.js
+++ b/js/src/tests/test262/intl402/Intl/getCanonicalLocales/Locale-object.js
@@ -10,17 +10,17 @@ info: |
     7. c. iii. If Type(kValue) is Object and kValue has an [[InitializedLocale]] internal slot, then
                 1. Let tag be kValue.[[Locale]].
 includes: [compareArray.js]
 features: [Intl.Locale]
 ---*/
 
 assert.compareArray(Intl.getCanonicalLocales([
   "fr-CA",
-  new Intl.Locale("en-gb-oed"),
+  new Intl.Locale("en-gb-oxendict"),
   "de",
   new Intl.Locale("jp", { "calendar": "gregory" }),
   "zh",
   new Intl.Locale("fr-CA"),
 ]), [
   "fr-CA",
   "en-GB-oxendict",
   "de",
--- a/js/src/tests/test262/language/expressions/postfix-decrement/arguments-nostrict.js
+++ b/js/src/tests/test262/language/expressions/postfix-decrement/arguments-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions-static-semantics-early-errors
 description: >
-  It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid. (arguments)
+  In non-strict code, "arguments--" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : LeftHandSideExpression --
-
-    Return invalid.
+    1. If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    2. Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression : LeftHandSideExpression --
 
     It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 arguments--;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/postfix-decrement/eval-nostrict.js
+++ b/js/src/tests/test262/language/expressions/postfix-decrement/eval-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions
 description: >
-  It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid. (eval)
+  In non-strict code, "eval--" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : LeftHandSideExpression --
-
-    Return invalid.
+    If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression : LeftHandSideExpression --
 
     It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 eval--;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/postfix-increment/arguments-nostrict.js
+++ b/js/src/tests/test262/language/expressions/postfix-increment/arguments-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions-static-semantics-early-errors
 description: >
-  It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid. (arguments)
+  In non-strict code, "arguments++" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : LeftHandSideExpression ++
-
-    Return invalid.
+    1. If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    2. Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression : LeftHandSideExpression ++
 
     It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 arguments++;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/postfix-increment/eval-nostrict.js
+++ b/js/src/tests/test262/language/expressions/postfix-increment/eval-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions
 description: >
-  It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid. (eval)
+  In non-strict code, "eval++" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : LeftHandSideExpression ++
-
-    Return invalid.
+    1. If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    2. Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression : LeftHandSideExpression ++
 
     It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 eval++;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/prefix-decrement/arguments-nostrict.js
+++ b/js/src/tests/test262/language/expressions/prefix-decrement/arguments-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions
 description: >
-  It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid. (arguments)
+  In non-strict code, "--arguments" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : -- UnaryExpression
-
-    Return invalid.
+    1. If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    2. Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression -- UnaryExpression
 
     It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 --arguments;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/prefix-decrement/eval-nostrict.js
+++ b/js/src/tests/test262/language/expressions/prefix-decrement/eval-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions
 description: >
-  It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid. (eval)
+  In non-strict code, "--eval" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : -- UnaryExpression
-
-    Return invalid.
+    1. If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    2. Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression -- UnaryExpression
 
     It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 --eval;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/prefix-increment/arguments-nostrict.js
+++ b/js/src/tests/test262/language/expressions/prefix-increment/arguments-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions
 description: >
-  It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid. (arguments)
+  In non-strict code, "++arguments" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : ++ UnaryExpression
-
-    Return invalid.
+    1. If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    2. Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression ++ UnaryExpression
 
     It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 ++arguments;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/prefix-increment/eval-nostrict.js
+++ b/js/src/tests/test262/language/expressions/prefix-increment/eval-nostrict.js
@@ -1,32 +1,27 @@
 // Copyright (c) 2018 Rick Waldron.  All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
 esid: sec-update-expressions
 description: >
-  It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid. (eval)
+  In non-strict code, "++eval" does not produce an early error.
 info: |
 
-  sec-update-expressions-static-semantics-assignmenttargettype
+  sec-identifiers-static-semantics-assignmenttargettype
 
-    UpdateExpression : ++ UnaryExpression
-
-    Return invalid.
+    1. If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+    2. Return simple.
 
   sec-update-expressions-static-semantics-early-errors
 
     UpdateExpression ++ UnaryExpression
 
     It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
 
 flags: [noStrict]
-negative:
-  phase: parse
-  type: ReferenceError
 ---*/
 
-$DONOTEVALUATE();
-
 ++eval;
 
 reportCompare(0, 0);