mirror of
https://github.com/tc39/test262.git
synced 2025-07-26 23:44:27 +02:00
Update cases and templates per review
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
parent
fd3510dd16
commit
befaab57a4
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Iterator is closed when not exhausted by pattern evaluation
|
||||
@ -20,10 +20,10 @@ var doneCallCount = 0;
|
||||
var iter = {};
|
||||
iter[Symbol.iterator] = function() {
|
||||
return {
|
||||
next: function() {
|
||||
next() {
|
||||
return { value: null, done: false };
|
||||
},
|
||||
return: function() {
|
||||
return() {
|
||||
doneCallCount += 1;
|
||||
return {};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Abrupt completion returned by GetIterator
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Iterator is not closed when exhausted by pattern evaluation
|
||||
@ -20,10 +20,10 @@ var doneCallCount = 0;
|
||||
var iter = {};
|
||||
iter[Symbol.iterator] = function() {
|
||||
return {
|
||||
next: function() {
|
||||
next() {
|
||||
return { value: null, done: true };
|
||||
},
|
||||
return: function() {
|
||||
return() {
|
||||
doneCallCount += 1;
|
||||
return {};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding with normal value iteration
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is not used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is not used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is not used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with array binding pattern and initializer is not used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Nested array destructuring with a null value
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer with an exhausted iterator
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding does assign name to arrow functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns `name` to "anonymous" classes
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding does assign name to "anonymous" functions "through" cover grammar
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns name to "anonymous" functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns name to "anonymous" generator functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer with a "hole"
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer is not evaluated when value is not `undefined`
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer returns an abrupt completion
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer with an undefined value
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer is an unresolvable reference
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding when value iteration completes
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding when value iteration was completed previously
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Error forwarding when IteratorStep returns an abrupt completion
|
||||
@ -19,7 +19,7 @@ info: |
|
||||
var g = {};
|
||||
g[Symbol.iterator] = function() {
|
||||
return {
|
||||
next: function() {
|
||||
next() {
|
||||
throw new Test262Error();
|
||||
}
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Error forwarding when IteratorValue returns an abrupt completion
|
||||
@ -30,7 +30,7 @@ var poisonedValue = Object.defineProperty({}, 'value', {
|
||||
var g = {};
|
||||
g[Symbol.iterator] = function() {
|
||||
return {
|
||||
next: function() {
|
||||
next() {
|
||||
return poisonedValue;
|
||||
}
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding when value iteration was completed previously
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with object binding pattern and initializer is used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with object binding pattern and initializer is not used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with object binding pattern and initializer is used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: BindingElement with object binding pattern and initializer is not used
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Nested object destructuring with a null value
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Nested object destructuring with a value of `undefined`
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Elision accepts exhausted iterator
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Elision advances iterator and forwards abrupt completions
|
||||
@ -25,7 +25,7 @@ features: [generator]
|
||||
|
||||
//- setup
|
||||
var following = 0;
|
||||
var iter =function* () {
|
||||
var iter = function* () {
|
||||
throw new Test262Error();
|
||||
following += 1;
|
||||
}();
|
||||
@ -35,3 +35,5 @@ var iter =function* () {
|
||||
iter
|
||||
//- error
|
||||
Test262Error
|
||||
//- rejectBody
|
||||
assert.sameValue(following, 0, "iterator is properly closed");
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Elision advances iterator
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: No iteration occurs for an "empty" array binding pattern
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
@ -31,7 +31,7 @@ var poisonedValue = Object.defineProperty({}, 'value', {
|
||||
var iter = {};
|
||||
iter[Symbol.iterator] = function() {
|
||||
return {
|
||||
next: function() {
|
||||
next() {
|
||||
return poisonedValue;
|
||||
}
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -43,6 +43,10 @@ async function * gen() {
|
||||
}
|
||||
|
||||
gen().next()
|
||||
.then(_ => { throw new Test262Error("Expected async function to reject, but resolved."); }, ({ constructor }) => assert.sameValue(constructor, /*{ error }*/))
|
||||
.then(_ => {
|
||||
throw new Test262Error("Expected async function to reject, but resolved.");
|
||||
}, ({ constructor }) => {
|
||||
assert.sameValue(constructor, /*{ error }*/);
|
||||
/*{ rejectBody }*/
|
||||
})
|
||||
.then($DONE, $DONE);
|
||||
|
||||
|
@ -43,5 +43,10 @@ async function * gen() {
|
||||
}
|
||||
|
||||
gen().next()
|
||||
.then(_ => { throw new Test262Error("Expected async function to reject, but resolved."); }, ({ constructor }) => assert.sameValue(constructor, /*{ error }*/))
|
||||
.then(_ => {
|
||||
throw new Test262Error("Expected async function to reject, but resolved.");
|
||||
}, ({ constructor }) => {
|
||||
assert.sameValue(constructor, /*{ error }*/);
|
||||
/*{ rejectBody }*/
|
||||
})
|
||||
.then($DONE, $DONE);
|
||||
|
@ -43,6 +43,11 @@ async function * gen() {
|
||||
}
|
||||
|
||||
gen().next()
|
||||
.then(_ => { throw new Test262Error("Expected async function to reject, but resolved."); }, ({ constructor }) => assert.sameValue(constructor, /*{ error }*/))
|
||||
.then(_ => {
|
||||
throw new Test262Error("Expected async function to reject, but resolved.");
|
||||
}, ({ constructor }) => {
|
||||
assert.sameValue(constructor, /*{ error }*/);
|
||||
/*{ rejectBody }*/
|
||||
})
|
||||
.then($DONE, $DONE);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns `name` to arrow functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns `name` to "anonymous" classes
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns `name` to "anonymous" functions "through" cover grammar
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns name to "anonymous" functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: SingleNameBinding assigns name to "anonymous" generator functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer is not evaluated when value is not `undefined`
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer is an unresolvable reference
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Evaluation of property name returns an abrupt completion
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Error thrown when accessing the corresponding property of the value object
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer is not evaluated when value is not `undefined`
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: Destructuring initializer is an unresolvable reference
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: error
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
template: default
|
||||
|
Loading…
x
Reference in New Issue
Block a user