From 98a7f03f5cd0f6120f20a586f85771702ae5d683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Tue, 17 Dec 2024 15:07:18 +0100 Subject: [PATCH] Remove leading space characters in YAML frontmatter Remove leading space characters so directly loading the frontmatter text with `yaml.safe_load` doesn't throw an exception. --- .../built-ins/String/prototype/anchor/B.2.3.2.js | 12 ++++++------ .../built-ins/String/prototype/big/B.2.3.3.js | 10 +++++----- .../built-ins/String/prototype/blink/B.2.3.4.js | 10 +++++----- .../built-ins/String/prototype/bold/B.2.3.5.js | 10 +++++----- .../built-ins/String/prototype/fixed/B.2.3.6.js | 10 +++++----- .../String/prototype/fontcolor/B.2.3.7.js | 14 +++++++------- .../String/prototype/fontsize/B.2.3.8.js | 14 +++++++------- .../String/prototype/italics/B.2.3.9.js | 10 +++++----- .../built-ins/String/prototype/link/B.2.3.10.js | 12 ++++++------ .../built-ins/String/prototype/small/B.2.3.11.js | 10 +++++----- .../String/prototype/strike/B.2.3.12.js | 10 +++++----- .../built-ins/String/prototype/sub/B.2.3.13.js | 10 +++++----- .../built-ins/String/prototype/sup/B.2.3.14.js | 10 +++++----- .../method-definition/generator-no-yield.js | 10 +++++----- .../object/method-definition/generator-return.js | 8 ++++---- .../yield-as-expression-with-rhs.js | 8 ++++---- .../yield-as-expression-without-rhs.js | 8 ++++---- ...-as-function-expression-binding-identifier.js | 12 ++++++------ ...eld-as-generator-method-binding-identifier.js | 8 ++++---- .../yield-as-identifier-in-nested-function.js | 12 ++++++------ .../yield-as-literal-property-name.js | 10 +++++----- .../yield-as-logical-or-expression.js | 14 +++++++------- .../method-definition/yield-as-parameter.js | 16 ++++++++-------- .../method-definition/yield-as-property-name.js | 10 +++++----- .../method-definition/yield-as-statement.js | 8 ++++---- .../method-definition/yield-as-yield-operand.js | 10 +++++----- .../object/method-definition/yield-newline.js | 8 ++++---- .../yield-star-after-newline.js | 14 +++++++------- .../yield-star-before-newline.js | 8 ++++---- .../method-definition/yield-weak-binding.js | 14 +++++++------- .../expressions/object/property-name-yield.js | 6 +++--- .../class/definition/methods-gen-no-yield.js | 10 +++++----- .../class/definition/methods-gen-return.js | 8 ++++---- .../methods-gen-yield-as-expression-with-rhs.js | 8 ++++---- ...ethods-gen-yield-as-expression-without-rhs.js | 8 ++++---- ...-as-function-expression-binding-identifier.js | 16 ++++++++-------- ...eld-as-generator-method-binding-identifier.js | 10 +++++----- ...gen-yield-as-identifier-in-nested-function.js | 16 ++++++++-------- ...methods-gen-yield-as-literal-property-name.js | 10 +++++----- ...methods-gen-yield-as-logical-or-expression.js | 14 +++++++------- .../definition/methods-gen-yield-as-parameter.js | 16 ++++++++-------- .../methods-gen-yield-as-property-name.js | 10 +++++----- .../definition/methods-gen-yield-as-statement.js | 8 ++++---- .../methods-gen-yield-as-yield-operand.js | 10 +++++----- .../definition/methods-gen-yield-newline.js | 8 ++++---- .../methods-gen-yield-star-after-newline.js | 14 +++++++------- .../methods-gen-yield-star-before-newline.js | 8 ++++---- .../definition/methods-gen-yield-weak-binding.js | 14 +++++++------- .../statements/for-of/Array.prototype.entries.js | 8 ++++---- .../statements/for-of/Array.prototype.keys.js | 8 ++++---- test/language/statements/for-of/array.js | 6 +++--- .../statements/labeled/value-yield-non-strict.js | 10 +++++----- .../statements/labeled/value-yield-strict.js | 16 ++++++++-------- 53 files changed, 281 insertions(+), 281 deletions(-) diff --git a/test/annexB/built-ins/String/prototype/anchor/B.2.3.2.js b/test/annexB/built-ins/String/prototype/anchor/B.2.3.2.js index 785ad6d5d7..4ff4f9c684 100644 --- a/test/annexB/built-ins/String/prototype/anchor/B.2.3.2.js +++ b/test/annexB/built-ins/String/prototype/anchor/B.2.3.2.js @@ -5,12 +5,12 @@ // http://mathias.html5.org/tests/javascript/string/ /*--- - 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 +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'), '_'); diff --git a/test/annexB/built-ins/String/prototype/big/B.2.3.3.js b/test/annexB/built-ins/String/prototype/big/B.2.3.3.js index 48b0bb7de2..e7bb89b5d8 100644 --- a/test/annexB/built-ins/String/prototype/big/B.2.3.3.js +++ b/test/annexB/built-ins/String/prototype/big/B.2.3.3.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/blink/B.2.3.4.js b/test/annexB/built-ins/String/prototype/blink/B.2.3.4.js index bfc9664d45..b8bec30a1d 100644 --- a/test/annexB/built-ins/String/prototype/blink/B.2.3.4.js +++ b/test/annexB/built-ins/String/prototype/blink/B.2.3.4.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/bold/B.2.3.5.js b/test/annexB/built-ins/String/prototype/bold/B.2.3.5.js index 360069cd48..eec3038fab 100644 --- a/test/annexB/built-ins/String/prototype/bold/B.2.3.5.js +++ b/test/annexB/built-ins/String/prototype/bold/B.2.3.5.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/fixed/B.2.3.6.js b/test/annexB/built-ins/String/prototype/fixed/B.2.3.6.js index 95ba2f393c..d6e8fff350 100644 --- a/test/annexB/built-ins/String/prototype/fixed/B.2.3.6.js +++ b/test/annexB/built-ins/String/prototype/fixed/B.2.3.6.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/fontcolor/B.2.3.7.js b/test/annexB/built-ins/String/prototype/fontcolor/B.2.3.7.js index 4b9b26c1c5..01600e40a1 100644 --- a/test/annexB/built-ins/String/prototype/fontcolor/B.2.3.7.js +++ b/test/annexB/built-ins/String/prototype/fontcolor/B.2.3.7.js @@ -5,13 +5,13 @@ // http://mathias.html5.org/tests/javascript/string/ /*--- - 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 +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'), '_'); diff --git a/test/annexB/built-ins/String/prototype/fontsize/B.2.3.8.js b/test/annexB/built-ins/String/prototype/fontsize/B.2.3.8.js index cf1199b219..109074c755 100644 --- a/test/annexB/built-ins/String/prototype/fontsize/B.2.3.8.js +++ b/test/annexB/built-ins/String/prototype/fontsize/B.2.3.8.js @@ -5,13 +5,13 @@ // http://mathias.html5.org/tests/javascript/string/ /*--- - 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 +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'), '_'); diff --git a/test/annexB/built-ins/String/prototype/italics/B.2.3.9.js b/test/annexB/built-ins/String/prototype/italics/B.2.3.9.js index 1f71f9a1b3..6c1956182a 100644 --- a/test/annexB/built-ins/String/prototype/italics/B.2.3.9.js +++ b/test/annexB/built-ins/String/prototype/italics/B.2.3.9.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/link/B.2.3.10.js b/test/annexB/built-ins/String/prototype/link/B.2.3.10.js index 8e5df2b86f..c53b82425f 100644 --- a/test/annexB/built-ins/String/prototype/link/B.2.3.10.js +++ b/test/annexB/built-ins/String/prototype/link/B.2.3.10.js @@ -5,12 +5,12 @@ // http://mathias.html5.org/tests/javascript/string/ /*--- - 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 +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'), '_'); diff --git a/test/annexB/built-ins/String/prototype/small/B.2.3.11.js b/test/annexB/built-ins/String/prototype/small/B.2.3.11.js index 2db79ee87d..e894b278af 100644 --- a/test/annexB/built-ins/String/prototype/small/B.2.3.11.js +++ b/test/annexB/built-ins/String/prototype/small/B.2.3.11.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/strike/B.2.3.12.js b/test/annexB/built-ins/String/prototype/strike/B.2.3.12.js index 366b4ae0c9..4488457ba8 100644 --- a/test/annexB/built-ins/String/prototype/strike/B.2.3.12.js +++ b/test/annexB/built-ins/String/prototype/strike/B.2.3.12.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/sub/B.2.3.13.js b/test/annexB/built-ins/String/prototype/sub/B.2.3.13.js index a7bf68dbef..f7b39ce6b5 100644 --- a/test/annexB/built-ins/String/prototype/sub/B.2.3.13.js +++ b/test/annexB/built-ins/String/prototype/sub/B.2.3.13.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/annexB/built-ins/String/prototype/sup/B.2.3.14.js b/test/annexB/built-ins/String/prototype/sup/B.2.3.14.js index fff0fb4ba4..0f14ff8972 100644 --- a/test/annexB/built-ins/String/prototype/sup/B.2.3.14.js +++ b/test/annexB/built-ins/String/prototype/sup/B.2.3.14.js @@ -5,11 +5,11 @@ // 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 +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(), '_'); diff --git a/test/language/expressions/object/method-definition/generator-no-yield.js b/test/language/expressions/object/method-definition/generator-no-yield.js index 26c694eea0..587b780ca8 100644 --- a/test/language/expressions/object/method-definition/generator-no-yield.js +++ b/test/language/expressions/object/method-definition/generator-no-yield.js @@ -2,11 +2,11 @@ // 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 +description: > + Generators declared with GeneratorMethod syntax do not require a + `yield` expression. +features: [generators] +es6id: 14.4 ---*/ var result; diff --git a/test/language/expressions/object/method-definition/generator-return.js b/test/language/expressions/object/method-definition/generator-return.js index 1d2b8c7687..4999b65e8f 100644 --- a/test/language/expressions/object/method-definition/generator-return.js +++ b/test/language/expressions/object/method-definition/generator-return.js @@ -2,10 +2,10 @@ // 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 +description: > + `return` is a valid statement within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var result; diff --git a/test/language/expressions/object/method-definition/yield-as-expression-with-rhs.js b/test/language/expressions/object/method-definition/yield-as-expression-with-rhs.js index 263e2b2162..0faaa22277 100644 --- a/test/language/expressions/object/method-definition/yield-as-expression-with-rhs.js +++ b/test/language/expressions/object/method-definition/yield-as-expression-with-rhs.js @@ -2,10 +2,10 @@ // 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 +description: > + `yield` is a valid expression within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/expressions/object/method-definition/yield-as-expression-without-rhs.js b/test/language/expressions/object/method-definition/yield-as-expression-without-rhs.js index dc8334ac6a..be16e01124 100644 --- a/test/language/expressions/object/method-definition/yield-as-expression-without-rhs.js +++ b/test/language/expressions/object/method-definition/yield-as-expression-without-rhs.js @@ -2,10 +2,10 @@ // 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 +description: > + `yield` is a valid expression within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js b/test/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js index 7e548a8e3c..d192ed5beb 100644 --- a/test/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js +++ b/test/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js @@ -2,12 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` may be used as the binding identifier of a function expression - within generator bodies. - features: [generators] - es6id: 14.1 - flags: [noStrict] +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; diff --git a/test/language/expressions/object/method-definition/yield-as-generator-method-binding-identifier.js b/test/language/expressions/object/method-definition/yield-as-generator-method-binding-identifier.js index 03fd4ee6b0..e887000e83 100644 --- a/test/language/expressions/object/method-definition/yield-as-generator-method-binding-identifier.js +++ b/test/language/expressions/object/method-definition/yield-as-generator-method-binding-identifier.js @@ -2,10 +2,10 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` is a valid BindingIdentifier for GeneratorMethods - features: [generators] - es6id: 12.1.1 +description: > + `yield` is a valid BindingIdentifier for GeneratorMethods +features: [generators] +es6id: 12.1.1 ---*/ var iter, result; diff --git a/test/language/expressions/object/method-definition/yield-as-identifier-in-nested-function.js b/test/language/expressions/object/method-definition/yield-as-identifier-in-nested-function.js index 843f097a73..9482f10d76 100644 --- a/test/language/expressions/object/method-definition/yield-as-identifier-in-nested-function.js +++ b/test/language/expressions/object/method-definition/yield-as-identifier-in-nested-function.js @@ -2,12 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` is not a reserved keyword within normal function bodies declared - within generator function bodies. - features: [generators] - es6id: 12.1.1 - flags: [noStrict] +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; diff --git a/test/language/expressions/object/method-definition/yield-as-literal-property-name.js b/test/language/expressions/object/method-definition/yield-as-literal-property-name.js index 6f287df44a..02915e005f 100644 --- a/test/language/expressions/object/method-definition/yield-as-literal-property-name.js +++ b/test/language/expressions/object/method-definition/yield-as-literal-property-name.js @@ -2,11 +2,11 @@ // 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 +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; diff --git a/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js b/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js index 1ed0f73b40..8c2ceace0e 100644 --- a/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js +++ b/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js @@ -2,13 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` expressions are not LogicalOrExpressions. - features: [generators] - es6id: 12.1.1 - negative: - phase: parse - type: SyntaxError +description: > + `yield` expressions are not LogicalOrExpressions. +features: [generators] +es6id: 12.1.1 +negative: + phase: parse + type: SyntaxError ---*/ $DONOTEVALUATE(); diff --git a/test/language/expressions/object/method-definition/yield-as-parameter.js b/test/language/expressions/object/method-definition/yield-as-parameter.js index c0da01d368..00245ffb99 100644 --- a/test/language/expressions/object/method-definition/yield-as-parameter.js +++ b/test/language/expressions/object/method-definition/yield-as-parameter.js @@ -2,14 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - 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 +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(); diff --git a/test/language/expressions/object/method-definition/yield-as-property-name.js b/test/language/expressions/object/method-definition/yield-as-property-name.js index 5f368aa8c2..7da91fb0a8 100644 --- a/test/language/expressions/object/method-definition/yield-as-property-name.js +++ b/test/language/expressions/object/method-definition/yield-as-property-name.js @@ -2,11 +2,11 @@ // 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 +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; diff --git a/test/language/expressions/object/method-definition/yield-as-statement.js b/test/language/expressions/object/method-definition/yield-as-statement.js index 98cd17a727..aaff6f46c5 100644 --- a/test/language/expressions/object/method-definition/yield-as-statement.js +++ b/test/language/expressions/object/method-definition/yield-as-statement.js @@ -2,10 +2,10 @@ // 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 +description: > + `yield` is a valid statement within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/expressions/object/method-definition/yield-as-yield-operand.js b/test/language/expressions/object/method-definition/yield-as-yield-operand.js index 2906479fa5..b67c6d844f 100644 --- a/test/language/expressions/object/method-definition/yield-as-yield-operand.js +++ b/test/language/expressions/object/method-definition/yield-as-yield-operand.js @@ -2,11 +2,11 @@ // 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 +description: > + `yield` expressions may be used as the right-hand-side of other `yield` + expressions. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/expressions/object/method-definition/yield-newline.js b/test/language/expressions/object/method-definition/yield-newline.js index d5705fd475..d5e4ce0276 100644 --- a/test/language/expressions/object/method-definition/yield-newline.js +++ b/test/language/expressions/object/method-definition/yield-newline.js @@ -2,10 +2,10 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - Newlines terminate `yield` expressions. - features: [generators] - es6id: 14.4 +description: > + Newlines terminate `yield` expressions. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/expressions/object/method-definition/yield-star-after-newline.js b/test/language/expressions/object/method-definition/yield-star-after-newline.js index 8d68abeceb..fac9efb1e2 100644 --- a/test/language/expressions/object/method-definition/yield-star-after-newline.js +++ b/test/language/expressions/object/method-definition/yield-star-after-newline.js @@ -2,13 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - A newline may not precede the `*` token in a `yield` expression. - features: [generators] - es6id: 14.4 - negative: - phase: parse - type: SyntaxError +description: > + A newline may not precede the `*` token in a `yield` expression. +features: [generators] +es6id: 14.4 +negative: + phase: parse + type: SyntaxError ---*/ $DONOTEVALUATE(); diff --git a/test/language/expressions/object/method-definition/yield-star-before-newline.js b/test/language/expressions/object/method-definition/yield-star-before-newline.js index 27b963b5f6..d76431ea6b 100644 --- a/test/language/expressions/object/method-definition/yield-star-before-newline.js +++ b/test/language/expressions/object/method-definition/yield-star-before-newline.js @@ -2,10 +2,10 @@ // 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 +description: > + The right-hand side of a `yield *` expression may appear on a new line. +features: [generators] +es6id: 14.4 ---*/ var result; diff --git a/test/language/expressions/object/method-definition/yield-weak-binding.js b/test/language/expressions/object/method-definition/yield-weak-binding.js index 736f32d7ed..e95b1a7332 100644 --- a/test/language/expressions/object/method-definition/yield-weak-binding.js +++ b/test/language/expressions/object/method-definition/yield-weak-binding.js @@ -2,13 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` expressions bind weakly - features: [generators] - es6id: 14.4 - negative: - phase: parse - type: SyntaxError +description: > + `yield` expressions bind weakly +features: [generators] +es6id: 14.4 +negative: + phase: parse + type: SyntaxError ---*/ $DONOTEVALUATE(); diff --git a/test/language/expressions/object/property-name-yield.js b/test/language/expressions/object/property-name-yield.js index 1788d6de9c..c1fb2ec95d 100644 --- a/test/language/expressions/object/property-name-yield.js +++ b/test/language/expressions/object/property-name-yield.js @@ -2,9 +2,9 @@ // 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 +description: > + `yield` may be used as a literal property name in an object literal. +es6id: 12.1.1 ---*/ ({ yield: 1 }); diff --git a/test/language/statements/class/definition/methods-gen-no-yield.js b/test/language/statements/class/definition/methods-gen-no-yield.js index 8ccc69af7e..f34cc8aae7 100644 --- a/test/language/statements/class/definition/methods-gen-no-yield.js +++ b/test/language/statements/class/definition/methods-gen-no-yield.js @@ -2,11 +2,11 @@ // 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 +description: > + Generators declared with GeneratorMethod syntax do not require a + `yield` expression. +features: [generators] +es6id: 14.4 ---*/ var result; diff --git a/test/language/statements/class/definition/methods-gen-return.js b/test/language/statements/class/definition/methods-gen-return.js index f710b71f5c..e0130747c2 100644 --- a/test/language/statements/class/definition/methods-gen-return.js +++ b/test/language/statements/class/definition/methods-gen-return.js @@ -2,10 +2,10 @@ // 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 +description: > + `return` is a valid statement within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var result; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-expression-with-rhs.js b/test/language/statements/class/definition/methods-gen-yield-as-expression-with-rhs.js index ce21b18592..ac20f0622f 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-expression-with-rhs.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-expression-with-rhs.js @@ -2,10 +2,10 @@ // 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 +description: > + `yield` is a valid expression within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-expression-without-rhs.js b/test/language/statements/class/definition/methods-gen-yield-as-expression-without-rhs.js index 1b9e706f2f..7f6804e599 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-expression-without-rhs.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-expression-without-rhs.js @@ -2,10 +2,10 @@ // 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 +description: > + `yield` is a valid expression within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js b/test/language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js index e8f4ed29b6..776c2e86ac 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js @@ -2,14 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - 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 +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(); diff --git a/test/language/statements/class/definition/methods-gen-yield-as-generator-method-binding-identifier.js b/test/language/statements/class/definition/methods-gen-yield-as-generator-method-binding-identifier.js index 25bfe7e41f..026a229641 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-generator-method-binding-identifier.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-generator-method-binding-identifier.js @@ -2,11 +2,11 @@ // 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 +description: > + `yield` is a valid BindingIdentifier for GeneratorMethods outside of + strict mode. +features: [generators] +es6id: 12.1.1 ---*/ var iter, result; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js b/test/language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js index 18b6f0fac3..9eacc4aa5a 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js @@ -2,14 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` is a reserved keyword within normal function bodies declared - within classes. - features: [generators] - es6id: 12.1.1 - negative: - phase: parse - type: SyntaxError +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(); diff --git a/test/language/statements/class/definition/methods-gen-yield-as-literal-property-name.js b/test/language/statements/class/definition/methods-gen-yield-as-literal-property-name.js index e3f312debf..1252126548 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-literal-property-name.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-literal-property-name.js @@ -2,11 +2,11 @@ // 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 +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; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-logical-or-expression.js b/test/language/statements/class/definition/methods-gen-yield-as-logical-or-expression.js index 7ca4acb55a..378ad81d3f 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-logical-or-expression.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-logical-or-expression.js @@ -2,13 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` expressions are not LogicalOrExpressions. - features: [generators] - es6id: 12.1.1 - negative: - phase: parse - type: SyntaxError +description: > + `yield` expressions are not LogicalOrExpressions. +features: [generators] +es6id: 12.1.1 +negative: + phase: parse + type: SyntaxError ---*/ $DONOTEVALUATE(); diff --git a/test/language/statements/class/definition/methods-gen-yield-as-parameter.js b/test/language/statements/class/definition/methods-gen-yield-as-parameter.js index 9aee02e0c2..17d49fb0f9 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-parameter.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-parameter.js @@ -2,14 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - 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 +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(); diff --git a/test/language/statements/class/definition/methods-gen-yield-as-property-name.js b/test/language/statements/class/definition/methods-gen-yield-as-property-name.js index 853c764501..b5df5e9b9b 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-property-name.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-property-name.js @@ -2,11 +2,11 @@ // 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 +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; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-statement.js b/test/language/statements/class/definition/methods-gen-yield-as-statement.js index a039e157e1..3030e44c3c 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-statement.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-statement.js @@ -2,10 +2,10 @@ // 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 +description: > + `yield` is a valid statement within generator function bodies. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-yield-operand.js b/test/language/statements/class/definition/methods-gen-yield-as-yield-operand.js index c75403bef9..a259492e9c 100644 --- a/test/language/statements/class/definition/methods-gen-yield-as-yield-operand.js +++ b/test/language/statements/class/definition/methods-gen-yield-as-yield-operand.js @@ -2,11 +2,11 @@ // 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 +description: > + `yield` expressions may be used as the right-hand-side of other `yield` + expressions. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/statements/class/definition/methods-gen-yield-newline.js b/test/language/statements/class/definition/methods-gen-yield-newline.js index faa90188ca..d12c8476d1 100644 --- a/test/language/statements/class/definition/methods-gen-yield-newline.js +++ b/test/language/statements/class/definition/methods-gen-yield-newline.js @@ -2,10 +2,10 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - Newlines terminate `yield` expressions. - features: [generators] - es6id: 14.4 +description: > + Newlines terminate `yield` expressions. +features: [generators] +es6id: 14.4 ---*/ var iter, result; diff --git a/test/language/statements/class/definition/methods-gen-yield-star-after-newline.js b/test/language/statements/class/definition/methods-gen-yield-star-after-newline.js index 2c756cc592..083256c5f2 100644 --- a/test/language/statements/class/definition/methods-gen-yield-star-after-newline.js +++ b/test/language/statements/class/definition/methods-gen-yield-star-after-newline.js @@ -2,13 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - A newline may not precede the `*` token in a `yield` expression. - features: [generators] - es6id: 14.4 - negative: - phase: parse - type: SyntaxError +description: > + A newline may not precede the `*` token in a `yield` expression. +features: [generators] +es6id: 14.4 +negative: + phase: parse + type: SyntaxError ---*/ $DONOTEVALUATE(); diff --git a/test/language/statements/class/definition/methods-gen-yield-star-before-newline.js b/test/language/statements/class/definition/methods-gen-yield-star-before-newline.js index d02daec514..e4da2e3f0b 100644 --- a/test/language/statements/class/definition/methods-gen-yield-star-before-newline.js +++ b/test/language/statements/class/definition/methods-gen-yield-star-before-newline.js @@ -2,10 +2,10 @@ // 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 +description: > + The right-hand side of a `yield *` expression may appear on a new line. +features: [generators] +es6id: 14.4 ---*/ var result; diff --git a/test/language/statements/class/definition/methods-gen-yield-weak-binding.js b/test/language/statements/class/definition/methods-gen-yield-weak-binding.js index cd1efec386..02cc00ced0 100644 --- a/test/language/statements/class/definition/methods-gen-yield-weak-binding.js +++ b/test/language/statements/class/definition/methods-gen-yield-weak-binding.js @@ -2,13 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - description: > - `yield` expressions bind weakly - features: [generators] - es6id: 14.4 - negative: - phase: parse - type: SyntaxError +description: > + `yield` expressions bind weakly +features: [generators] +es6id: 14.4 +negative: + phase: parse + type: SyntaxError ---*/ $DONOTEVALUATE(); diff --git a/test/language/statements/for-of/Array.prototype.entries.js b/test/language/statements/for-of/Array.prototype.entries.js index c75a3d20d6..3913b3baaf 100644 --- a/test/language/statements/for-of/Array.prototype.entries.js +++ b/test/language/statements/for-of/Array.prototype.entries.js @@ -2,10 +2,10 @@ // 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 +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]; diff --git a/test/language/statements/for-of/Array.prototype.keys.js b/test/language/statements/for-of/Array.prototype.keys.js index 5a7dee0a93..a57ceab5bb 100644 --- a/test/language/statements/for-of/Array.prototype.keys.js +++ b/test/language/statements/for-of/Array.prototype.keys.js @@ -2,10 +2,10 @@ // 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 +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]; diff --git a/test/language/statements/for-of/array.js b/test/language/statements/for-of/array.js index 0a673c4bf1..fe3eb33135 100644 --- a/test/language/statements/for-of/array.js +++ b/test/language/statements/for-of/array.js @@ -2,9 +2,9 @@ // 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 +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]; diff --git a/test/language/statements/labeled/value-yield-non-strict.js b/test/language/statements/labeled/value-yield-non-strict.js index 4698efcebd..9adbcc09a5 100644 --- a/test/language/statements/labeled/value-yield-non-strict.js +++ b/test/language/statements/labeled/value-yield-non-strict.js @@ -2,11 +2,11 @@ // 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] +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; diff --git a/test/language/statements/labeled/value-yield-strict.js b/test/language/statements/labeled/value-yield-strict.js index acbe292611..310630e977 100644 --- a/test/language/statements/labeled/value-yield-strict.js +++ b/test/language/statements/labeled/value-yield-strict.js @@ -2,14 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- - 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] +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();