Bug 1530879 - Update the test262 import to upstream rev 73705f88014183b3eab8593f91ec769d957cd200. rs=jorendorff
authorJeff Walden <jwalden@mit.edu>
Tue, 26 Feb 2019 17:06:38 -0800
changeset 461651 467495eead9f478eba392658ef1473d115131220
parent 461650 3fa28490c94694d2e97c4bc8716bb3983d291632
child 461652 18308efff1417fe5354611dda756ab88633cf895
push id35626
push usercsabou@mozilla.com
push dateThu, 28 Feb 2019 11:31:08 +0000
treeherdermozilla-central@2ea0c1db7e60 [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 73705f88014183b3eab8593f91ec769d957cd200. rs=jorendorff
js/src/tests/jstests.list
js/src/tests/test262/GIT-INFO
js/src/tests/test262/language/expressions/postfix-decrement/arguments-nostrict.js
js/src/tests/test262/language/expressions/postfix-decrement/arguments-strict.js
js/src/tests/test262/language/expressions/postfix-decrement/arguments.js
js/src/tests/test262/language/expressions/postfix-decrement/eval-nostrict.js
js/src/tests/test262/language/expressions/postfix-decrement/eval-strict.js
js/src/tests/test262/language/expressions/postfix-decrement/eval.js
js/src/tests/test262/language/expressions/postfix-decrement/non-simple.js
js/src/tests/test262/language/expressions/postfix-increment/arguments-nostrict.js
js/src/tests/test262/language/expressions/postfix-increment/arguments-strict.js
js/src/tests/test262/language/expressions/postfix-increment/arguments.js
js/src/tests/test262/language/expressions/postfix-increment/eval-nostrict.js
js/src/tests/test262/language/expressions/postfix-increment/eval-strict.js
js/src/tests/test262/language/expressions/postfix-increment/eval.js
js/src/tests/test262/language/expressions/postfix-increment/non-simple.js
js/src/tests/test262/language/expressions/prefix-decrement/arguments-nostrict.js
js/src/tests/test262/language/expressions/prefix-decrement/arguments-strict.js
js/src/tests/test262/language/expressions/prefix-decrement/arguments.js
js/src/tests/test262/language/expressions/prefix-decrement/eval-nostrict.js
js/src/tests/test262/language/expressions/prefix-decrement/eval-strict.js
js/src/tests/test262/language/expressions/prefix-decrement/eval.js
js/src/tests/test262/language/expressions/prefix-decrement/non-simple.js
js/src/tests/test262/language/expressions/prefix-increment/arguments-nostrict.js
js/src/tests/test262/language/expressions/prefix-increment/arguments-strict.js
js/src/tests/test262/language/expressions/prefix-increment/arguments.js
js/src/tests/test262/language/expressions/prefix-increment/eval-nostrict.js
js/src/tests/test262/language/expressions/prefix-increment/eval-strict.js
js/src/tests/test262/language/expressions/prefix-increment/eval.js
js/src/tests/test262/language/expressions/prefix-increment/non-simple.js
--- a/js/src/tests/jstests.list
+++ b/js/src/tests/jstests.list
@@ -1104,16 +1104,35 @@ skip script test262/annexB/language/eval
 skip script test262/annexB/language/eval-code/indirect/global-switch-dflt-eval-global-existing-global-init.js
 skip script test262/annexB/language/eval-code/indirect/global-if-decl-no-else-eval-global-existing-global-init.js
 skip script test262/annexB/language/eval-code/indirect/global-if-decl-else-stmt-eval-global-existing-global-init.js
 skip script test262/annexB/language/eval-code/indirect/global-if-decl-else-decl-b-eval-global-existing-global-init.js
 skip script test262/annexB/language/eval-code/indirect/global-if-decl-else-decl-a-eval-global-existing-global-init.js
 skip script test262/annexB/language/eval-code/indirect/global-block-decl-eval-global-existing-global-init.js
 skip script test262/annexB/language/eval-code/indirect/global-switch-case-eval-global-existing-global-init.js
 
+# Need to fix increment/decrement of arguments or eval -- bug 1530883.
+skip script test262/language/expressions/postfix-increment/eval.js
+skip script test262/language/expressions/postfix-increment/eval-nostrict.js
+skip script test262/language/expressions/postfix-increment/arguments-nostrict.js
+skip script test262/language/expressions/postfix-increment/arguments.js
+skip script test262/language/expressions/prefix-decrement/eval.js
+skip script test262/language/expressions/prefix-decrement/eval-nostrict.js
+skip script test262/language/expressions/prefix-decrement/arguments-nostrict.js
+skip script test262/language/expressions/prefix-decrement/arguments.js
+skip script test262/language/expressions/prefix-increment/eval.js
+skip script test262/language/expressions/prefix-increment/eval-nostrict.js
+skip script test262/language/expressions/prefix-increment/arguments-nostrict.js
+skip script test262/language/expressions/prefix-increment/arguments.js
+skip script test262/language/expressions/postfix-decrement/eval.js
+skip script test262/language/expressions/postfix-decrement/eval-nostrict.js
+skip script test262/language/expressions/postfix-decrement/arguments-nostrict.js
+skip script test262/language/expressions/postfix-decrement/arguments.js
+
+
 # https://bugzilla.mozilla.org/show_bug.cgi?id=1340307
 skip script test262/language/module-code/instn-resolve-empty-export.js
 skip script test262/language/module-code/instn-resolve-empty-import.js
 skip script test262/language/module-code/instn-resolve-err-reference.js
 skip script test262/language/module-code/instn-resolve-order-depth.js
 skip script test262/language/module-code/instn-resolve-order-src.js
 skip script test262/language/module-code/parse-err-reference.js
 skip script test262/language/expressions/postfix-increment/target-cover-yieldexpr.js
--- a/js/src/tests/test262/GIT-INFO
+++ b/js/src/tests/test262/GIT-INFO
@@ -1,5 +1,5 @@
-commit dab8c8983adc37ed3da672442e0e378ff6cd2714
-Author: Frank Yung-Fong Tang <41213225+FrankYFTang@users.noreply.github.com>
-Date:   Wed Dec 19 16:36:10 2018 -0800
+commit 73705f88014183b3eab8593f91ec769d957cd200
+Author: Rick Waldron <waldron.rick@gmail.com>
+Date:   Tue Dec 18 12:56:34 2018 -0500
 
-    remove "TypeError: Cannot convert a Symbol value to a string" (#2009)
+    UpdateExpressions: add necessary changes to tests to reflect latest specification.
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-decrement/arguments-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : LeftHandSideExpression --
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression : LeftHandSideExpression --
+
+    It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+arguments--;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/postfix-decrement/arguments-strict.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.3.2-2-1-s
-esid: sec-postfix-decrement-operator
-description: >
-    Strict Mode - SyntaxError is thrown if the identifier 'arguments'
-    appear as a PostfixExpression(arguments--)
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
-arguments--;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-decrement/arguments.js
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 Ecma International.  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 Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict. (arguments)
+info: |
+
+  sec-identifiers-static-semantics-assignmenttargettype
+
+    If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression: LeftHandSideExpression --
+
+    It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+arguments--;
+
+reportCompare(0, 0);
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-decrement/eval-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : LeftHandSideExpression --
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression : LeftHandSideExpression --
+
+    It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+eval--;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/postfix-decrement/eval-strict.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.3.2-2-2-s
-esid: sec-postfix-decrement-operator
-description: >
-    Strict Mode - SyntaxError is thrown if the identifier 'eval'
-    appear as a PostfixExpression(eval--)
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
-eval--;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-decrement/eval.js
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 Ecma International.  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 Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict. (eval)
+info: |
+
+  sec-identifiers-static-semantics-assignmenttargettype
+
+    If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression: LeftHandSideExpression --
+
+    It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+eval--;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/postfix-decrement/non-simple.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:ReferenceError
-// Copyright 2009 the Sputnik authors.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-info: |
-    It is an early Reference Error if IsValidSimpleAssignmentTarget of
-    LeftHandSideExpression is false.
-es6id: 12.4.1
-description: Applied to a non-simple assignment target
-negative:
-  phase: parse
-  type: ReferenceError
----*/
-
-$DONOTEVALUATE();
-
-1--;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-increment/arguments-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : LeftHandSideExpression ++
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression : LeftHandSideExpression ++
+
+    It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+arguments++;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/postfix-increment/arguments-strict.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.3.1-2-1-s
-esid: postfix-increment-operator
-description: >
-    Strict Mode - SyntaxError is thrown if the identifier 'arguments'
-    appear as a PostfixExpression(arguments++)
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
-arguments++;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-increment/arguments.js
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 Ecma International.  All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-identifiers-static-semantics-assignmenttargettype
+description: >
+  If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+info: |
+
+  sec-update-expressions-static-semantics-early-errors
+
+  UpdateExpression: LeftHandSideExpression ++
+
+  It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+arguments++;
+
+reportCompare(0, 0);
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-increment/eval-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : LeftHandSideExpression ++
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression : LeftHandSideExpression ++
+
+    It is an early Reference Error if AssignmentTargetType of LeftHandSideExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+eval++;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/postfix-increment/eval-strict.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.3.1-2-2-s
-esid: postfix-increment-operator
-description: >
-    Strict Mode - SyntaxError is thrown if the identifier 'eval'
-    appear as a PostfixExpression(eval++)
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
-eval++;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/postfix-increment/eval.js
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 Ecma International.  All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-identifiers-static-semantics-assignmenttargettype
+description: >
+  If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+info: |
+
+  sec-update-expressions-static-semantics-early-errors
+
+  UpdateExpression: LeftHandSideExpression ++
+
+  It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+eval++;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/postfix-increment/non-simple.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:ReferenceError
-// Copyright 2009 the Sputnik authors.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-info: |
-    It is an early Reference Error if IsValidSimpleAssignmentTarget of
-    LeftHandSideExpression is false.
-es6id: 12.4.1
-description: Applied to a non-simple assignment target
-negative:
-  phase: parse
-  type: ReferenceError
----*/
-
-$DONOTEVALUATE();
-
-1++;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-decrement/arguments-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : -- UnaryExpression
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression -- UnaryExpression
+
+    It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+--arguments;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/prefix-decrement/arguments-strict.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.4.5-2-2-s
-esid: sec-prefix-decrement-operator
-description: Strict Mode - SyntaxError is thrown for --arguments
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
---arguments;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-decrement/arguments.js
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 Ecma International.  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 Syntax Error if AssignmentTargetType of UnaryExpression is strict. (arguments)
+info: |
+
+  sec-identifiers-static-semantics-assignmenttargettype
+
+    If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression: -- UnaryExpression
+
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+--arguments;
+
+reportCompare(0, 0);
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-decrement/eval-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : -- UnaryExpression
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression -- UnaryExpression
+
+    It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+--eval;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/prefix-decrement/eval-strict.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.4.5-2-1-s
-esid: sec-prefix-decrement-operator
-description: Strict Mode - SyntaxError is thrown for --eval
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
---eval;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-decrement/eval.js
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 Ecma International.  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 Syntax Error if AssignmentTargetType of UnaryExpression is strict. (eval)
+info: |
+
+  sec-identifiers-static-semantics-assignmenttargettype
+
+    If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression: -- UnaryExpression
+
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+--eval;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/prefix-decrement/non-simple.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:ReferenceError
-// Copyright 2009 the Sputnik authors.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-info: |
-    It is an early Reference Error if IsValidSimpleAssignmentTarget of
-    UnaryExpression is false.
-es5id: 12.5.1
-description: Applied to a non-simple assignment target
-negative:
-  phase: parse
-  type: ReferenceError
----*/
-
-$DONOTEVALUATE();
-
---1;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-increment/arguments-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : ++ UnaryExpression
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression ++ UnaryExpression
+
+    It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+++arguments;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/prefix-increment/arguments-strict.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.4.4-2-2-s
-esid: sec-prefix-increment-operator
-description: Strict Mode - SyntaxError is thrown for ++arguments
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
-++arguments;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-increment/arguments.js
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 Ecma International.  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 Syntax Error if AssignmentTargetType of UnaryExpression is strict. (arguments)
+info: |
+
+  sec-identifiers-static-semantics-assignmenttargettype
+
+    If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression: ++ UnaryExpression
+
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+++arguments;
+
+reportCompare(0, 0);
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-increment/eval-nostrict.js
@@ -0,0 +1,32 @@
+// 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)
+info: |
+
+  sec-update-expressions-static-semantics-assignmenttargettype
+
+    UpdateExpression : ++ UnaryExpression
+
+    Return invalid.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression ++ UnaryExpression
+
+    It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
+
+flags: [noStrict]
+negative:
+  phase: parse
+  type: ReferenceError
+---*/
+
+$DONOTEVALUATE();
+
+++eval;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/prefix-increment/eval-strict.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:SyntaxError
-'use strict';
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-es5id: 11.4.4-2-1-s
-esid: sec-prefix-increment-operator
-description: Strict Mode - SyntaxError is thrown for ++eval
-flags: [onlyStrict]
-negative:
-  phase: parse
-  type: SyntaxError
----*/
-
-$DONOTEVALUATE();
-
-++eval;
new file mode 100644
--- /dev/null
+++ b/js/src/tests/test262/language/expressions/prefix-increment/eval.js
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 Ecma International.  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 Syntax Error if AssignmentTargetType of UnaryExpression is strict. (eval)
+info: |
+
+  sec-identifiers-static-semantics-assignmenttargettype
+
+    If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or  "arguments", return strict.
+
+  sec-update-expressions-static-semantics-early-errors
+
+    UpdateExpression: ++ UnaryExpression
+
+    It is an early Syntax Error if AssignmentTargetType of UnaryExpression is strict.
+
+flags: [onlyStrict]
+negative:
+  phase: parse
+  type: SyntaxError
+---*/
+
+$DONOTEVALUATE();
+
+++eval;
+
+reportCompare(0, 0);
deleted file mode 100644
--- a/js/src/tests/test262/language/expressions/prefix-increment/non-simple.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// |reftest| error:ReferenceError
-// Copyright 2009 the Sputnik authors.  All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-info: |
-   It is an early Reference Error if IsValidSimpleAssignmentTarget of
-   UnaryExpression is false.
-es6id: 12.5.1
-description: Applied to a non-simple assignment target
-negative:
-  phase: parse
-  type: ReferenceError
----*/
-
-$DONOTEVALUATE();
-
-++1;