Bug 1530879 - Update the test262 import to upstream rev d0f57bff727cc8e06e4a7c2202edc0521a678fe9. r=jorendorff
authorJeff Walden <jwalden@mit.edu>
Tue, 26 Feb 2019 17:06:47 -0800
changeset 461654 110995301abe314fe48fd360961a37e2534167ad
parent 461653 66478b6fc575c9787e973fdea86260c63570f192
child 461655 013df3288f6e935fddfb8170e8f27d178567e3d0
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 d0f57bff727cc8e06e4a7c2202edc0521a678fe9. r=jorendorff
js/src/tests/test262/GIT-INFO
js/src/tests/test262/annexB/built-ins/String/prototype/anchor/B.2.3.2.js
js/src/tests/test262/annexB/built-ins/String/prototype/big/B.2.3.3.js
js/src/tests/test262/annexB/built-ins/String/prototype/blink/B.2.3.4.js
js/src/tests/test262/annexB/built-ins/String/prototype/bold/B.2.3.5.js
js/src/tests/test262/annexB/built-ins/String/prototype/fixed/B.2.3.6.js
js/src/tests/test262/annexB/built-ins/String/prototype/fontcolor/B.2.3.7.js
js/src/tests/test262/annexB/built-ins/String/prototype/fontsize/B.2.3.8.js
js/src/tests/test262/annexB/built-ins/String/prototype/italics/B.2.3.9.js
js/src/tests/test262/annexB/built-ins/String/prototype/link/B.2.3.10.js
js/src/tests/test262/annexB/built-ins/String/prototype/small/B.2.3.11.js
js/src/tests/test262/annexB/built-ins/String/prototype/strike/B.2.3.12.js
js/src/tests/test262/annexB/built-ins/String/prototype/sub/B.2.3.13.js
js/src/tests/test262/annexB/built-ins/String/prototype/sup/B.2.3.14.js
js/src/tests/test262/built-ins/MapIteratorPrototype/next/iteration.js
js/src/tests/test262/built-ins/Object/defineProperty/15.2.3.6-4-289-1.js
js/src/tests/test262/built-ins/Set/prototype/keys/keys.js
js/src/tests/test262/built-ins/Set/prototype/values/returns-iterator-empty.js
js/src/tests/test262/built-ins/Set/prototype/values/returns-iterator.js
js/src/tests/test262/built-ins/Set/prototype/values/values-iteration-mutable.js
js/src/tests/test262/built-ins/SetIteratorPrototype/next/iteration.js
js/src/tests/test262/language/expressions/arrow-function/syntax/arrowparameters-cover-initialize-2.js
js/src/tests/test262/language/expressions/object/method-definition/generator-no-yield.js
js/src/tests/test262/language/expressions/object/method-definition/generator-return.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-expression-with-rhs.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-expression-without-rhs.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-generator-method-binding-identifier.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-identifier-in-nested-function.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-literal-property-name.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-logical-or-expression.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-parameter.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-property-name.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-statement.js
js/src/tests/test262/language/expressions/object/method-definition/yield-as-yield-operand.js
js/src/tests/test262/language/expressions/object/method-definition/yield-newline.js
js/src/tests/test262/language/expressions/object/method-definition/yield-star-after-newline.js
js/src/tests/test262/language/expressions/object/method-definition/yield-star-before-newline.js
js/src/tests/test262/language/expressions/object/method-definition/yield-weak-binding.js
js/src/tests/test262/language/expressions/object/property-name-yield.js
js/src/tests/test262/language/identifiers/val-yield-strict-strict.js
js/src/tests/test262/language/module-code/instn-star-as-props-dflt-skip.js
js/src/tests/test262/language/statements/class/definition/methods-gen-no-yield.js
js/src/tests/test262/language/statements/class/definition/methods-gen-return.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-expression-with-rhs.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-expression-without-rhs.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-generator-method-binding-identifier.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-literal-property-name.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-logical-or-expression.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-parameter.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-property-name.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-statement.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-yield-operand.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-newline.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-star-after-newline.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-star-before-newline.js
js/src/tests/test262/language/statements/class/definition/methods-gen-yield-weak-binding.js
js/src/tests/test262/language/statements/for-of/Array.prototype.entries.js
js/src/tests/test262/language/statements/for-of/Array.prototype.keys.js
js/src/tests/test262/language/statements/for-of/array.js
js/src/tests/test262/language/statements/labeled/value-yield-non-strict.js
js/src/tests/test262/language/statements/labeled/value-yield-strict-strict.js
--- a/js/src/tests/test262/GIT-INFO
+++ b/js/src/tests/test262/GIT-INFO
@@ -1,8 +1,5 @@
-commit 3468dad291251d4759ab6270d4fb8b75befa8d93
-Author: Mike Pennisi <mike@mikepennisi.com>
-Date:   Tue Jan 1 12:03:27 2019 -0500
+commit d0f57bff727cc8e06e4a7c2202edc0521a678fe9
+Author: Ross Kirsling <rkirsling@gmail.com>
+Date:   Mon Jan 7 05:40:39 2019 -0800
 
-    Improve coverage for line terminators
-    
-    Previous commits restructured the tests for line terminators and made
-    coverage gaps more apparent. Introduce new files to improve coverage.
+    Ensure test file YAML blocks don't have a trailing space. (#2018)
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/anchor/B.2.3.2.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/anchor/B.2.3.2.js
@@ -6,17 +6,17 @@
 
 /*---
  description: >
      String.prototype.anchor returns a string of HTML describing a single HTML
      anchor element. The element's content is the `this` value of the function
      invocation, coerced to a string. If specified, the first argument will be
      coerced to a string, escaped, and set as the element's `name` attribute.
  es6id: B.2.3.2
- ---*/
+---*/
 
 assert.sameValue('_'.anchor('b'), '<a name="b">_</a>');
 assert.sameValue('<'.anchor('<'), '<a name="<"><</a>');
 assert.sameValue('_'.anchor(0x2A), '<a name="42">_</a>');
 assert.sameValue('_'.anchor('\x22'), '<a name="&quot;">_</a>');
 assert.sameValue(String.prototype.anchor.call(0x2A, 0x2A), '<a name="42">42</a>');
 assert.throws(TypeError, function() {
   String.prototype.anchor.call(undefined);
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/big/B.2.3.3.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/big/B.2.3.3.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.big returns a string of HTML describing a single HTML
      big element. The element's content is the `this` value of the function
      invocation, coerced to a string.
  es6id: B.2.3.3
- ---*/
+---*/
 
 assert.sameValue('_'.big(), '<big>_</big>');
 assert.sameValue('<'.big(), '<big><</big>');
 assert.sameValue(String.prototype.big.call(0x2A), '<big>42</big>');
 assert.throws(TypeError, function() {
   String.prototype.big.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/blink/B.2.3.4.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/blink/B.2.3.4.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.blink returns a string of HTML describing a single HTML
      blink element. The element's content is the `this` value of the function
      invocation, coerced to a string.
  es6id: B.2.3.4
- ---*/
+---*/
 
 assert.sameValue('_'.blink(), '<blink>_</blink>');
 assert.sameValue('<'.blink(), '<blink><</blink>');
 assert.sameValue(String.prototype.blink.call(0x2A), '<blink>42</blink>');
 assert.throws(TypeError, function() {
   String.prototype.blink.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/bold/B.2.3.5.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/bold/B.2.3.5.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.bold returns a string of HTML describing a single HTML
      bold element. The element's content is the `this` value of the function
      invocation, coerced to a string.
  es6id: B.2.3.5
- ---*/
+---*/
 
 assert.sameValue('_'.bold(), '<b>_</b>');
 assert.sameValue('<'.bold(), '<b><</b>');
 assert.sameValue(String.prototype.bold.call(0x2A), '<b>42</b>');
 assert.throws(TypeError, function() {
   String.prototype.bold.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/fixed/B.2.3.6.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/fixed/B.2.3.6.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.fixed returns a string of HTML describing a single HTML
      teletype text element. The element's content is the `this` value of the
      function invocation, coerced to a string.
  es6id: B.2.3.6
- ---*/
+---*/
 
 assert.sameValue('_'.fixed(), '<tt>_</tt>');
 assert.sameValue('<'.fixed(), '<tt><</tt>');
 assert.sameValue(String.prototype.fixed.call(0x2A), '<tt>42</tt>');
 assert.throws(TypeError, function() {
   String.prototype.fixed.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/fontcolor/B.2.3.7.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/fontcolor/B.2.3.7.js
@@ -7,17 +7,17 @@
 /*---
  description: >
      String.prototype.fontcolor returns a string of HTML describing a single
      HTML font element. The element's content is the `this` value of the
      function invocation, coerced to a string. If specified, the first argument
      will be coerced to a string, escaped, and set as the element's `color`
      attribute.
  es6id: B.2.3.7
- ---*/
+---*/
 
 assert.sameValue('_'.fontcolor('b'), '<font color="b">_</font>');
 assert.sameValue('<'.fontcolor('<'), '<font color="<"><</font>');
 assert.sameValue('_'.fontcolor(0x2A), '<font color="42">_</font>');
 assert.sameValue('_'.fontcolor('\x22'), '<font color="&quot;">_</font>');
 assert.sameValue(String.prototype.fontcolor.call(0x2A, 0x2A),
   '<font color="42">42</font>');
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/fontsize/B.2.3.8.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/fontsize/B.2.3.8.js
@@ -7,17 +7,17 @@
 /*---
  description: >
      String.prototype.fontsize returns a string of HTML describing a single
      HTML font element. The element's content is the `this` value of the
      function invocation, coerced to a string. If specified, the first argument
      will be coerced to a string, escaped, and set as the element's `size`
      attribute.
  es6id: B.2.3.8
- ---*/
+---*/
 
 assert.sameValue('_'.fontsize('b'), '<font size="b">_</font>');
 assert.sameValue('<'.fontsize('<'), '<font size="<"><</font>');
 assert.sameValue('_'.fontsize(0x2A), '<font size="42">_</font>');
 assert.sameValue('_'.fontsize('\x22'), '<font size="&quot;">_</font>');
 assert.sameValue(String.prototype.fontsize.call(0x2A, 0x2A),
   '<font size="42">42</font>');
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/italics/B.2.3.9.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/italics/B.2.3.9.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.italics returns a string of HTML describing a single HTML
      italic element. The element's content is the `this` value of the function
      invocation, coerced to a string.
  es6id: B.2.3.9
- ---*/
+---*/
 
 assert.sameValue('_'.italics(), '<i>_</i>');
 assert.sameValue('<'.italics(), '<i><</i>');
 assert.sameValue(String.prototype.italics.call(0x2A), '<i>42</i>');
 assert.throws(TypeError, function() {
   String.prototype.italics.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/link/B.2.3.10.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/link/B.2.3.10.js
@@ -6,17 +6,17 @@
 
 /*---
  description: >
      String.prototype.link returns a string of HTML describing a single HTML
      link element. The element's content is the `this` value of the function
      invocation, coerced to a string. If specified, the first argument will be
      coerced to a string, escaped, and set as the element's `href` attribute.
  es6id: B.2.3.10
- ---*/
+---*/
 
 assert.sameValue('_'.link('b'), '<a href="b">_</a>');
 assert.sameValue('<'.link('<'), '<a href="<"><</a>');
 assert.sameValue('_'.link(0x2A), '<a href="42">_</a>');
 assert.sameValue('_'.link('\x22'), '<a href="&quot;">_</a>');
 assert.sameValue(String.prototype.link.call(0x2A, 0x2A), '<a href="42">42</a>');
 assert.throws(TypeError, function() {
   String.prototype.link.call(undefined);
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/small/B.2.3.11.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/small/B.2.3.11.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.small returns a string of HTML describing a single HTML
      small print element. The element's content is the `this` value of the
      function invocation, coerced to a string.
  es6id: B.2.3.11
- ---*/
+---*/
 
 assert.sameValue('_'.small(), '<small>_</small>');
 assert.sameValue('<'.small(), '<small><</small>');
 assert.sameValue(String.prototype.small.call(0x2A), '<small>42</small>');
 assert.throws(TypeError, function() {
   String.prototype.small.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/strike/B.2.3.12.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/strike/B.2.3.12.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.strike returns a string of HTML describing a single HTML
      strikethrough element. The element's content is the `this` value of the
      function invocation, coerced to a string.
  es6id: B.2.3.12
- ---*/
+---*/
 
 assert.sameValue('_'.strike(), '<strike>_</strike>');
 assert.sameValue('<'.strike(), '<strike><</strike>');
 assert.sameValue(String.prototype.strike.call(0x2A), '<strike>42</strike>');
 assert.throws(TypeError, function() {
   String.prototype.strike.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/sub/B.2.3.13.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/sub/B.2.3.13.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.sub returns a string of HTML describing a single HTML
      subscript element. The element's content is the `this` value of the
      function invocation, coerced to a string.
  es6id: B.2.3.13
- ---*/
+---*/
 
 assert.sameValue('_'.sub(), '<sub>_</sub>');
 assert.sameValue('<'.sub(), '<sub><</sub>');
 assert.sameValue(String.prototype.sub.call(0x2A), '<sub>42</sub>');
 assert.throws(TypeError, function() {
   String.prototype.sub.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/sup/B.2.3.14.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/sup/B.2.3.14.js
@@ -5,17 +5,17 @@
 // http://mathias.html5.org/tests/javascript/string/
 
 /*---
  description: >
      String.prototype.sup returns a string of HTML describing a single HTML
      superscript element. The element's content is the `this` value of the
      function invocation, coerced to a string.
  es6id: B.2.3.14
- ---*/
+---*/
 
 assert.sameValue('_'.sup(), '<sup>_</sup>');
 assert.sameValue('<'.sup(), '<sup><</sup>');
 assert.sameValue(String.prototype.sup.call(0x2A), '<sup>42</sup>');
 assert.throws(TypeError, function() {
   String.prototype.sup.call(undefined);
 });
 assert.throws(TypeError, function() {
--- a/js/src/tests/test262/built-ins/MapIteratorPrototype/next/iteration.js
+++ b/js/src/tests/test262/built-ins/MapIteratorPrototype/next/iteration.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2014 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 /*---
 es6id: 23.1.3.12
 description: >
   The method should return a valid iterator with the context as the
   IteratedObject.
 features: [Symbol.iterator]
- ---*/
+---*/
 
 var map = new Map();
 map.set(1, 11);
 map.set(2, 22);
 map.set(3, 33);
 
 var iterator = map[Symbol.iterator]();
 var result;
--- a/js/src/tests/test262/built-ins/Object/defineProperty/15.2.3.6-4-289-1.js
+++ b/js/src/tests/test262/built-ins/Object/defineProperty/15.2.3.6-4-289-1.js
@@ -6,17 +6,17 @@ es5id: 15.2.3.6-4-289-1
 description: >
  Object.defineProperty - 'O' is an Arguments object of a function
  that has formal parameters, 'name' is own property which is
  defined in both [[ParameterMap]] of 'O' and 'O', and is deleted
  afterwards, and 'desc' is data descriptor, test 'name' is
  redefined in 'O' with all correct attribute values (10.6
  [[DefineOwnProperty]] step 3)
 includes: [propertyHelper.js]
- ---*/
+---*/
 
 ;
 (function(a, b, c) {
   delete arguments[0];
 
   Object.defineProperty(arguments, "0", {
     value: 10,
     writable: true,
--- a/js/src/tests/test262/built-ins/Set/prototype/keys/keys.js
+++ b/js/src/tests/test262/built-ins/Set/prototype/keys/keys.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2014 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       The initial value of the keys property is the same function object as the
       initial value of the values property.
   es6id: 23.2.3.8
- ---*/
+---*/
 
 assert.sameValue(
   Set.prototype.keys,
   Set.prototype.values,
   "The value of `Set.prototype.keys` is `Set.prototype.values`"
 );
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/built-ins/Set/prototype/values/returns-iterator-empty.js
+++ b/js/src/tests/test262/built-ins/Set/prototype/values/returns-iterator-empty.js
@@ -1,16 +1,16 @@
 // Copyright (C) 2014 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       Returns an iterator that's already done if Set is empty.
   es6id: 23.2.3.10
- ---*/
+---*/
 
 var set = new Set();
 var iterator = set.values();
 var result = iterator.next();
 assert.sameValue(result.value, undefined, "The value of `result.value` is `undefined`");
 assert.sameValue(result.done, true, "The value of `result.done` is `true`");
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/built-ins/Set/prototype/values/returns-iterator.js
+++ b/js/src/tests/test262/built-ins/Set/prototype/values/returns-iterator.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2014 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       The method should return a valid iterator with the context as the
       IteratedObject.
   es6id: 23.2.3.10
- ---*/
+---*/
 
 var set = new Set();
 set.add(1);
 set.add(2);
 set.add(3);
 
 var iterator = set.values();
 var result;
--- a/js/src/tests/test262/built-ins/Set/prototype/values/values-iteration-mutable.js
+++ b/js/src/tests/test262/built-ins/Set/prototype/values/values-iteration-mutable.js
@@ -3,17 +3,17 @@
 
 /*---
   description: >
       When an item is added to the set after the iterator is created but before
       the iterator is "done" (as defined by 23.2.5.2.1), the new item should be
       accessible via iteration. When an item is added to the set after the
       iterator is "done", the new item should not be accessible via iteration.
   es6id: 23.2.3.10
- ---*/
+---*/
 
 var set = new Set();
 set.add(1);
 set.add(2);
 
 var iterator = set.values();
 var result;
 
--- a/js/src/tests/test262/built-ins/SetIteratorPrototype/next/iteration.js
+++ b/js/src/tests/test262/built-ins/SetIteratorPrototype/next/iteration.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 /*---
 es6id: 23.2.3.11
 description: >
   The method should return a valid iterator with the context as the
   IteratedObject.
 features:
   - Symbol.iterator
- ---*/
+---*/
 
 var set = new Set();
 set.add(1);
 set.add(2);
 set.add(3);
 
 var iterator = set[Symbol.iterator]();
 var result;
--- a/js/src/tests/test262/language/expressions/arrow-function/syntax/arrowparameters-cover-initialize-2.js
+++ b/js/src/tests/test262/language/expressions/arrow-function/syntax/arrowparameters-cover-initialize-2.js
@@ -3,16 +3,16 @@
 /*---
 es6id: 14.2.1
 description: >
     ArrowParameters[Yield] :
       ...
       CoverParenthesizedExpressionAndArrowParameterList[?Yield]
 
     12.14.5
-    ---*/
+   ---*/
 var af = ({x = 1}) => x;
 
 assert.sameValue(typeof af, "function");
 assert.sameValue(af({}), 1);
 assert.sameValue(af({x: 2}), 2);
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/expressions/object/method-definition/generator-no-yield.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/generator-no-yield.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       Generators declared with GeneratorMethod syntax do not require a
       `yield` expression.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var result;
 var obj = {
   *foo(a) {}
 };
 
 result = obj.foo(3).next();
 
--- a/js/src/tests/test262/language/expressions/object/method-definition/generator-return.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/generator-return.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `return` is a valid statement within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var result;
 var obj = {
   *g1() { return; },
   *g2() { return 1; }
 };
 
 result = obj.g1().next();
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-expression-with-rhs.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-expression-with-rhs.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is a valid expression within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 var obj = {
   *g1() { (yield 1) },
   *g2() { [yield 1] },
   *g3() { {yield 1} },
   *g4() { yield 1, yield 2; },
   *g5() { (yield 1) ? yield 2 : yield 3; }
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-expression-without-rhs.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-expression-without-rhs.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is a valid expression within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 var obj = {
   *g1() { (yield) },
   *g2() { [yield] },
   *g3() { {yield} },
   *g4() { yield, yield; },
   *g5() { (yield) ? yield : yield; }
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js
@@ -3,17 +3,17 @@
 
 /*---
   description: >
       `yield` may be used as the binding identifier of a function expression
       within generator bodies.
   features: [generators]
   es6id: 14.1
   flags: [noStrict]
- ---*/
+---*/
 
 var result;
 var obj = {
   *g() {
     (function yield() {});
   }
 };
 
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-generator-method-binding-identifier.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-generator-method-binding-identifier.js
@@ -3,17 +3,17 @@
 
 /*---
   description: >
       `yield` is a valid BindingIdentifier for GeneratorMethods outside of
       strict mode.
   features: [generators]
   es6id: 12.1.1
   flags: [noStrict]
- ---*/
+---*/
 
 var iter, result;
 var obj = {
   *yield() { (yield 3) + (yield 4); }
 }
 
 iter = obj.yield();
 
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-identifier-in-nested-function.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-identifier-in-nested-function.js
@@ -3,17 +3,17 @@
 
 /*---
   description: >
       `yield` is not a reserved keyword within normal function bodies declared
       within generator function bodies.
   features: [generators]
   es6id: 12.1.1
   flags: [noStrict]
- ---*/
+---*/
 
 var result;
 var obj = {
   *g() {
     function h() {
       yield = 1;
     }
   }
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-literal-property-name.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-literal-property-name.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` may be used as a literal property name in an object literal
       within generator function bodies.
   features: [generators]
   es6id: 12.1.1
- ---*/
+---*/
 
 var result;
 var obj = {
   *g() {
     ({ get yield() { return 1 } });
   }
 };
 
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-logical-or-expression.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-logical-or-expression.js
@@ -5,17 +5,17 @@
 /*---
   description: >
       `yield` expressions are not LogicalOrExpressions.
   features: [generators]
   es6id: 12.1.1
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 var obj = {
   *g() {
     yield ? yield : yield;
   }
 };
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-parameter.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-parameter.js
@@ -6,15 +6,15 @@
   description: >
       `yield` is a reserved keyword within generator function bodies and may
       not be used as the binding identifier of a parameter.
   features: [generators]
   es6id: 12.1.1
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 var obj = {
   *g(yield) {}
 };
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-property-name.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-property-name.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` may be used as a literal property name in an object literal
       within generator function bodies.
   features: [generators]
   es6id: 12.1.1
- ---*/
+---*/
 
 var result;
 var obj = {
   *g() {
     ({  yield: 1 });
   }
 };
 
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-statement.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-statement.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is a valid statement within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 var obj = {
   *g1() { yield; },
   *g2() { yield 1; }
 };
 
 iter = obj.g1();
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-as-yield-operand.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-as-yield-operand.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` expressions may be used as the right-hand-side of other `yield`
       expressions.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 var obj = {
   *g() {
     yield yield 1;
   }
 };
 
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-newline.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-newline.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       Newlines terminate `yield` expressions.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 var obj = {
   *g() {
     yield
     1
   }
 };
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-star-after-newline.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-star-after-newline.js
@@ -5,17 +5,17 @@
 /*---
   description: >
       A newline may not precede the `*` token in a `yield` expression.
   features: [generators]
   es6id: 14.4
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 var obj = {
   *g() {
     yield
     * 1
   }
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-star-before-newline.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-star-before-newline.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       The right-hand side of a `yield *` expression may appear on a new line.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var result;
 var obj = {
   *g() {
     yield *
     g2()
   }
 };
--- a/js/src/tests/test262/language/expressions/object/method-definition/yield-weak-binding.js
+++ b/js/src/tests/test262/language/expressions/object/method-definition/yield-weak-binding.js
@@ -5,15 +5,15 @@
 /*---
   description: >
       `yield` expressions bind weakly
   features: [generators]
   es6id: 14.4
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 var obj = {
   *g() { yield 3 + yield 4; }
 };
--- a/js/src/tests/test262/language/expressions/object/property-name-yield.js
+++ b/js/src/tests/test262/language/expressions/object/property-name-yield.js
@@ -1,12 +1,12 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` may be used as a literal property name in an object literal.
   es6id: 12.1.1
- ---*/
+---*/
 
 ({ yield: 1 });
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/identifiers/val-yield-strict-strict.js
+++ b/js/src/tests/test262/language/identifiers/val-yield-strict-strict.js
@@ -7,13 +7,13 @@
 description: >
     `yield` is a reserved identifier in strict mode code and may not be used
     as an identifier.
 es6id: 12.1.1
 negative:
   phase: parse
   type: SyntaxError
 flags: [onlyStrict]
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 var yield = 13;
--- a/js/src/tests/test262/language/module-code/instn-star-as-props-dflt-skip.js
+++ b/js/src/tests/test262/language/module-code/instn-star-as-props-dflt-skip.js
@@ -38,17 +38,17 @@ info: |
   [...]
   7. For each ExportEntry Record e in module.[[StarExportEntries]], do
   [...]
   c. For each element n of starNames, do
   i. If SameValue(n, "default") is false, then
   [...]
 flags: [module]
 features: [export-star-as-namespace-from-module]
-  ---*/
+ ---*/
 
 import {named} from './instn-star-props-dflt-skip-star-as-named_FIXTURE.js';
 import {production} from './instn-star-props-dflt-skip-star-as-prod_FIXTURE.js';
 
 assert('namedOther' in named);
 assert.sameValue(
   'default' in named, true, 'default specified via identifier'
 );
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-no-yield.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-no-yield.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       Generators declared with GeneratorMethod syntax do not require a
       `yield` expression.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var result;
 class A {
   *foo(a) {}
 }
 
 result = A.prototype.foo(3).next();
 
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-return.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-return.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `return` is a valid statement within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var result;
 class A {
   *g1() { return; }
   *g2() { return 1; }
 }
 
 result = A.prototype.g1().next();
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-expression-with-rhs.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-expression-with-rhs.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is a valid expression within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 class A {
   *g1() { (yield 1) }
   *g2() { [yield 1] }
   *g3() { {yield 1} }
   *g4() { yield 1, yield 2; }
   *g5() { (yield 1) ? yield 2 : yield 3; }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-expression-without-rhs.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-expression-without-rhs.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is a valid expression within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 class A {
   *g1() { (yield) }
   *g2() { [yield] }
   *g3() { {yield} }
   *g4() { yield, yield; }
   *g5() { (yield) ? yield : yield; }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js
@@ -6,17 +6,17 @@
   description: >
       `yield` may not be used as the binding identifier of a function
       expression within classes.
   features: [generators]
   es6id: 14.1
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 class A {
   *g() {
     (function yield() {});
   }
 }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-generator-method-binding-identifier.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-generator-method-binding-identifier.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is a valid BindingIdentifier for GeneratorMethods outside of
       strict mode.
   features: [generators]
   es6id: 12.1.1
- ---*/
+---*/
 
 var iter, result;
 class A {
   *yield() { (yield 3) + (yield 4); }
 }
 
 iter = A.prototype.yield();
 
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js
@@ -6,17 +6,17 @@
   description: >
       `yield` is a reserved keyword within normal function bodies declared
       within classes.
   features: [generators]
   es6id: 12.1.1
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 class A {
   *g() {
     function h() {
       yield = 1;
     }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-literal-property-name.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-literal-property-name.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` may be used as a literal property name in an object literal
       within generator function bodies.
   features: [generators]
   es6id: 12.1.1
- ---*/
+---*/
 
 var result;
 class A {
   *g() {
     ({ get yield() { return 1 } });
   }
 }
 
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-logical-or-expression.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-logical-or-expression.js
@@ -5,17 +5,17 @@
 /*---
   description: >
       `yield` expressions are not LogicalOrExpressions.
   features: [generators]
   es6id: 12.1.1
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 class A {
   *g() {
     yield ? yield : yield;
   }
 }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-parameter.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-parameter.js
@@ -6,15 +6,15 @@
   description: >
       `yield` is a reserved keyword within generator function bodies and may
       not be used as the binding identifier of a parameter.
   features: [generators]
   es6id: 12.1.1
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 class A {
   *g(yield) {}
 }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-property-name.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-property-name.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` may be used as a literal property name in an object literal
       within generator function bodies.
   features: [generators]
   es6id: 12.1.1
- ---*/
+---*/
 
 var result;
 class A {
   *g() {
     ({  yield: 1 });
   }
 }
 
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-statement.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-statement.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is a valid statement within generator function bodies.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 class A {
   *g1() { yield; }
   *g2() { yield 1; }
 }
 
 iter = A.prototype.g1();
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-yield-operand.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-as-yield-operand.js
@@ -2,17 +2,17 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` expressions may be used as the right-hand-side of other `yield`
       expressions.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 class A {
   *g() {
     yield yield 1;
   }
 }
 
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-newline.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-newline.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       Newlines terminate `yield` expressions.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var iter, result;
 class A {
   *g() {
     yield
     1
   }
 }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-star-after-newline.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-star-after-newline.js
@@ -5,17 +5,17 @@
 /*---
   description: >
       A newline may not precede the `*` token in a `yield` expression.
   features: [generators]
   es6id: 14.4
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 class A {
   *g() {
     yield
     * 1
   }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-star-before-newline.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-star-before-newline.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       The right-hand side of a `yield *` expression may appear on a new line.
   features: [generators]
   es6id: 14.4
- ---*/
+---*/
 
 var result;
 class A {
   *g() {
     yield *
     g2()
   }
 }
--- a/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-weak-binding.js
+++ b/js/src/tests/test262/language/statements/class/definition/methods-gen-yield-weak-binding.js
@@ -5,15 +5,15 @@
 /*---
   description: >
       `yield` expressions bind weakly
   features: [generators]
   es6id: 14.4
   negative:
     phase: parse
     type: SyntaxError
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 class A {
   *g() { yield 3 + yield 4; }
 }
--- a/js/src/tests/test262/language/statements/for-of/Array.prototype.entries.js
+++ b/js/src/tests/test262/language/statements/for-of/Array.prototype.entries.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       The method should return a valid iterator that can be traversed using a
       `for...of` loop.
   es6id: 22.1.3.4
- ---*/
+---*/
 
 var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
 var i = 0;
 
 for (var value of array.entries()) {
   assert.sameValue(
     value[0], i, 'element at index ' + i + ': value (array key)'
   );
--- a/js/src/tests/test262/language/statements/for-of/Array.prototype.keys.js
+++ b/js/src/tests/test262/language/statements/for-of/Array.prototype.keys.js
@@ -1,17 +1,17 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       The method should return a valid iterator that can be traversed using a
       `for...of` loop.
   es6id: 22.1.3.13
- ---*/
+---*/
 
 var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
 var i = 0;
 
 for (var value of array.keys()) {
   assert.sameValue(value, i, 'element at index ' + i);
   i++;
 }
--- a/js/src/tests/test262/language/statements/for-of/array.js
+++ b/js/src/tests/test262/language/statements/for-of/array.js
@@ -1,16 +1,16 @@
 // Copyright (C) 2013 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       Array instances should be able to be traversed using a `for...of` loop.
   es6id: 13.6.4
- ---*/
+---*/
 
 var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
 var i = 0;
 
 for (var value of array) {
   assert.sameValue(value, array[i], 'element at index ' + i);
   i++;
 }
--- a/js/src/tests/test262/language/statements/labeled/value-yield-non-strict.js
+++ b/js/src/tests/test262/language/statements/labeled/value-yield-non-strict.js
@@ -2,13 +2,13 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
   description: >
       `yield` is not a reserved identifier in non-strict mode code and may be
       used as a label.
   es6id: 12.1.1
   flags: [noStrict]
- ---*/
+---*/
 
 yield: 1;
 
 reportCompare(0, 0);
--- a/js/src/tests/test262/language/statements/labeled/value-yield-strict-strict.js
+++ b/js/src/tests/test262/language/statements/labeled/value-yield-strict-strict.js
@@ -7,13 +7,13 @@
   description: >
       `yield` is a reserved identifier in strict mode code and may not be used
       as a label.
   es6id: 12.1.1
   negative:
     phase: parse
     type: SyntaxError
   flags: [onlyStrict]
- ---*/
+---*/
 
 $DONOTEVALUATE();
 
 yield: 1;