Update cases and templates per review

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
Rick Waldron 2017-05-22 12:48:43 -04:00
parent fd3510dd16
commit befaab57a4
90 changed files with 115 additions and 99 deletions

View File

@ -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 {};
}

View File

@ -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

View File

@ -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 {};
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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`

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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();
}
};

View File

@ -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;
}
};

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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`

View File

@ -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

View File

@ -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");

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;
}
};

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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`

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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`

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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