mirror of
https://github.com/tc39/test262.git
synced 2025-07-29 08:54:35 +02:00
Ensure test file YAML blocks don't have a trailing space. (#2018)
This commit is contained in:
parent
1b524be1c9
commit
d0f57bff72
@ -11,7 +11,7 @@
|
|||||||
invocation, coerced to a string. If specified, the first argument will be
|
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.
|
coerced to a string, escaped, and set as the element's `name` attribute.
|
||||||
es6id: B.2.3.2
|
es6id: B.2.3.2
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.anchor('b'), '<a name="b">_</a>');
|
assert.sameValue('_'.anchor('b'), '<a name="b">_</a>');
|
||||||
assert.sameValue('<'.anchor('<'), '<a name="<"><</a>');
|
assert.sameValue('<'.anchor('<'), '<a name="<"><</a>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
big element. The element's content is the `this` value of the function
|
big element. The element's content is the `this` value of the function
|
||||||
invocation, coerced to a string.
|
invocation, coerced to a string.
|
||||||
es6id: B.2.3.3
|
es6id: B.2.3.3
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.big(), '<big>_</big>');
|
assert.sameValue('_'.big(), '<big>_</big>');
|
||||||
assert.sameValue('<'.big(), '<big><</big>');
|
assert.sameValue('<'.big(), '<big><</big>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
blink element. The element's content is the `this` value of the function
|
blink element. The element's content is the `this` value of the function
|
||||||
invocation, coerced to a string.
|
invocation, coerced to a string.
|
||||||
es6id: B.2.3.4
|
es6id: B.2.3.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.blink(), '<blink>_</blink>');
|
assert.sameValue('_'.blink(), '<blink>_</blink>');
|
||||||
assert.sameValue('<'.blink(), '<blink><</blink>');
|
assert.sameValue('<'.blink(), '<blink><</blink>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
bold element. The element's content is the `this` value of the function
|
bold element. The element's content is the `this` value of the function
|
||||||
invocation, coerced to a string.
|
invocation, coerced to a string.
|
||||||
es6id: B.2.3.5
|
es6id: B.2.3.5
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.bold(), '<b>_</b>');
|
assert.sameValue('_'.bold(), '<b>_</b>');
|
||||||
assert.sameValue('<'.bold(), '<b><</b>');
|
assert.sameValue('<'.bold(), '<b><</b>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
teletype text element. The element's content is the `this` value of the
|
teletype text element. The element's content is the `this` value of the
|
||||||
function invocation, coerced to a string.
|
function invocation, coerced to a string.
|
||||||
es6id: B.2.3.6
|
es6id: B.2.3.6
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.fixed(), '<tt>_</tt>');
|
assert.sameValue('_'.fixed(), '<tt>_</tt>');
|
||||||
assert.sameValue('<'.fixed(), '<tt><</tt>');
|
assert.sameValue('<'.fixed(), '<tt><</tt>');
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
will be coerced to a string, escaped, and set as the element's `color`
|
will be coerced to a string, escaped, and set as the element's `color`
|
||||||
attribute.
|
attribute.
|
||||||
es6id: B.2.3.7
|
es6id: B.2.3.7
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.fontcolor('b'), '<font color="b">_</font>');
|
assert.sameValue('_'.fontcolor('b'), '<font color="b">_</font>');
|
||||||
assert.sameValue('<'.fontcolor('<'), '<font color="<"><</font>');
|
assert.sameValue('<'.fontcolor('<'), '<font color="<"><</font>');
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
will be coerced to a string, escaped, and set as the element's `size`
|
will be coerced to a string, escaped, and set as the element's `size`
|
||||||
attribute.
|
attribute.
|
||||||
es6id: B.2.3.8
|
es6id: B.2.3.8
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.fontsize('b'), '<font size="b">_</font>');
|
assert.sameValue('_'.fontsize('b'), '<font size="b">_</font>');
|
||||||
assert.sameValue('<'.fontsize('<'), '<font size="<"><</font>');
|
assert.sameValue('<'.fontsize('<'), '<font size="<"><</font>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
italic element. The element's content is the `this` value of the function
|
italic element. The element's content is the `this` value of the function
|
||||||
invocation, coerced to a string.
|
invocation, coerced to a string.
|
||||||
es6id: B.2.3.9
|
es6id: B.2.3.9
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.italics(), '<i>_</i>');
|
assert.sameValue('_'.italics(), '<i>_</i>');
|
||||||
assert.sameValue('<'.italics(), '<i><</i>');
|
assert.sameValue('<'.italics(), '<i><</i>');
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
invocation, coerced to a string. If specified, the first argument will be
|
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.
|
coerced to a string, escaped, and set as the element's `href` attribute.
|
||||||
es6id: B.2.3.10
|
es6id: B.2.3.10
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.link('b'), '<a href="b">_</a>');
|
assert.sameValue('_'.link('b'), '<a href="b">_</a>');
|
||||||
assert.sameValue('<'.link('<'), '<a href="<"><</a>');
|
assert.sameValue('<'.link('<'), '<a href="<"><</a>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
small print element. The element's content is the `this` value of the
|
small print element. The element's content is the `this` value of the
|
||||||
function invocation, coerced to a string.
|
function invocation, coerced to a string.
|
||||||
es6id: B.2.3.11
|
es6id: B.2.3.11
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.small(), '<small>_</small>');
|
assert.sameValue('_'.small(), '<small>_</small>');
|
||||||
assert.sameValue('<'.small(), '<small><</small>');
|
assert.sameValue('<'.small(), '<small><</small>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
strikethrough element. The element's content is the `this` value of the
|
strikethrough element. The element's content is the `this` value of the
|
||||||
function invocation, coerced to a string.
|
function invocation, coerced to a string.
|
||||||
es6id: B.2.3.12
|
es6id: B.2.3.12
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.strike(), '<strike>_</strike>');
|
assert.sameValue('_'.strike(), '<strike>_</strike>');
|
||||||
assert.sameValue('<'.strike(), '<strike><</strike>');
|
assert.sameValue('<'.strike(), '<strike><</strike>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
subscript element. The element's content is the `this` value of the
|
subscript element. The element's content is the `this` value of the
|
||||||
function invocation, coerced to a string.
|
function invocation, coerced to a string.
|
||||||
es6id: B.2.3.13
|
es6id: B.2.3.13
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.sub(), '<sub>_</sub>');
|
assert.sameValue('_'.sub(), '<sub>_</sub>');
|
||||||
assert.sameValue('<'.sub(), '<sub><</sub>');
|
assert.sameValue('<'.sub(), '<sub><</sub>');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
superscript element. The element's content is the `this` value of the
|
superscript element. The element's content is the `this` value of the
|
||||||
function invocation, coerced to a string.
|
function invocation, coerced to a string.
|
||||||
es6id: B.2.3.14
|
es6id: B.2.3.14
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue('_'.sup(), '<sup>_</sup>');
|
assert.sameValue('_'.sup(), '<sup>_</sup>');
|
||||||
assert.sameValue('<'.sup(), '<sup><</sup>');
|
assert.sameValue('<'.sup(), '<sup><</sup>');
|
||||||
|
@ -6,7 +6,7 @@ description: >
|
|||||||
The method should return a valid iterator with the context as the
|
The method should return a valid iterator with the context as the
|
||||||
IteratedObject.
|
IteratedObject.
|
||||||
features: [Symbol.iterator]
|
features: [Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var map = new Map();
|
var map = new Map();
|
||||||
map.set(1, 11);
|
map.set(1, 11);
|
||||||
|
@ -11,7 +11,7 @@ description: >
|
|||||||
redefined in 'O' with all correct attribute values (10.6
|
redefined in 'O' with all correct attribute values (10.6
|
||||||
[[DefineOwnProperty]] step 3)
|
[[DefineOwnProperty]] step 3)
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
;
|
;
|
||||||
(function(a, b, c) {
|
(function(a, b, c) {
|
||||||
|
2
test/built-ins/Set/prototype/keys/keys.js
vendored
2
test/built-ins/Set/prototype/keys/keys.js
vendored
@ -6,7 +6,7 @@
|
|||||||
The initial value of the keys property is the same function object as the
|
The initial value of the keys property is the same function object as the
|
||||||
initial value of the values property.
|
initial value of the values property.
|
||||||
es6id: 23.2.3.8
|
es6id: 23.2.3.8
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(
|
assert.sameValue(
|
||||||
Set.prototype.keys,
|
Set.prototype.keys,
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
description: >
|
description: >
|
||||||
Returns an iterator that's already done if Set is empty.
|
Returns an iterator that's already done if Set is empty.
|
||||||
es6id: 23.2.3.10
|
es6id: 23.2.3.10
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var set = new Set();
|
var set = new Set();
|
||||||
var iterator = set.values();
|
var iterator = set.values();
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The method should return a valid iterator with the context as the
|
The method should return a valid iterator with the context as the
|
||||||
IteratedObject.
|
IteratedObject.
|
||||||
es6id: 23.2.3.10
|
es6id: 23.2.3.10
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var set = new Set();
|
var set = new Set();
|
||||||
set.add(1);
|
set.add(1);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
accessible via iteration. When an item is added to the set after the
|
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.
|
iterator is "done", the new item should not be accessible via iteration.
|
||||||
es6id: 23.2.3.10
|
es6id: 23.2.3.10
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var set = new Set();
|
var set = new Set();
|
||||||
set.add(1);
|
set.add(1);
|
||||||
|
@ -7,7 +7,7 @@ description: >
|
|||||||
IteratedObject.
|
IteratedObject.
|
||||||
features:
|
features:
|
||||||
- Symbol.iterator
|
- Symbol.iterator
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var set = new Set();
|
var set = new Set();
|
||||||
set.add(1);
|
set.add(1);
|
||||||
|
@ -8,7 +8,7 @@ description: >
|
|||||||
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
|
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
|
||||||
|
|
||||||
12.14.5
|
12.14.5
|
||||||
---*/
|
---*/
|
||||||
var af = ({x = 1}) => x;
|
var af = ({x = 1}) => x;
|
||||||
|
|
||||||
assert.sameValue(typeof af, "function");
|
assert.sameValue(typeof af, "function");
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
`yield` expression.
|
`yield` expression.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`return` is a valid statement within generator function bodies.
|
`return` is a valid statement within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`yield` is a valid expression within generator function bodies.
|
`yield` is a valid expression within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`yield` is a valid expression within generator function bodies.
|
`yield` is a valid expression within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.1
|
es6id: 14.1
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
within generator function bodies.
|
within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
within generator function bodies.
|
within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`yield` is a valid statement within generator function bodies.
|
`yield` is a valid statement within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
expressions.
|
expressions.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
Newlines terminate `yield` expressions.
|
Newlines terminate `yield` expressions.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The right-hand side of a `yield *` expression may appear on a new line.
|
The right-hand side of a `yield *` expression may appear on a new line.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
description: >
|
description: >
|
||||||
`yield` may be used as a literal property name in an object literal.
|
`yield` may be used as a literal property name in an object literal.
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
({ yield: 1 });
|
({ yield: 1 });
|
||||||
|
@ -10,7 +10,7 @@ negative:
|
|||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [onlyStrict]
|
flags: [onlyStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ info: |
|
|||||||
[...]
|
[...]
|
||||||
flags: [module]
|
flags: [module]
|
||||||
features: [export-star-as-namespace-from-module]
|
features: [export-star-as-namespace-from-module]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
import {named} from './instn-star-props-dflt-skip-star-as-named_FIXTURE.js';
|
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';
|
import {production} from './instn-star-props-dflt-skip-star-as-prod_FIXTURE.js';
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
`yield` expression.
|
`yield` expression.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`return` is a valid statement within generator function bodies.
|
`return` is a valid statement within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`yield` is a valid expression within generator function bodies.
|
`yield` is a valid expression within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`yield` is a valid expression within generator function bodies.
|
`yield` is a valid expression within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
strict mode.
|
strict mode.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
within generator function bodies.
|
within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
within generator function bodies.
|
within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
`yield` is a valid statement within generator function bodies.
|
`yield` is a valid statement within generator function bodies.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
expressions.
|
expressions.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
Newlines terminate `yield` expressions.
|
Newlines terminate `yield` expressions.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iter, result;
|
var iter, result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The right-hand side of a `yield *` expression may appear on a new line.
|
The right-hand side of a `yield *` expression may appear on a new line.
|
||||||
features: [generators]
|
features: [generators]
|
||||||
es6id: 14.4
|
es6id: 14.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var result;
|
var result;
|
||||||
class A {
|
class A {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The method should return a valid iterator that can be traversed using a
|
The method should return a valid iterator that can be traversed using a
|
||||||
`for...of` loop.
|
`for...of` loop.
|
||||||
es6id: 22.1.3.4
|
es6id: 22.1.3.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
|
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The method should return a valid iterator that can be traversed using a
|
The method should return a valid iterator that can be traversed using a
|
||||||
`for...of` loop.
|
`for...of` loop.
|
||||||
es6id: 22.1.3.13
|
es6id: 22.1.3.13
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
|
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
description: >
|
description: >
|
||||||
Array instances should be able to be traversed using a `for...of` loop.
|
Array instances should be able to be traversed using a `for...of` loop.
|
||||||
es6id: 13.6.4
|
es6id: 13.6.4
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
|
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
used as a label.
|
used as a label.
|
||||||
es6id: 12.1.1
|
es6id: 12.1.1
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
yield: 1;
|
yield: 1;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [onlyStrict]
|
flags: [onlyStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user