diff --git a/src/dstr-binding-async-iteration/ary-init-iter-close.case b/src/dstr-binding-async-iteration/ary-init-iter-close.case index ab1844630591a1b6b73dbcd73d190a32b855b8a2..860a773bf1302856a84cad1d8584ceda0a0ea9f1 100644 --- a/src/dstr-binding-async-iteration/ary-init-iter-close.case +++ b/src/dstr-binding-async-iteration/ary-init-iter-close.case @@ -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 {}; } diff --git a/src/dstr-binding-async-iteration/ary-init-iter-get-err.case b/src/dstr-binding-async-iteration/ary-init-iter-get-err.case index 3fd5f5c99e3277b8ae1b6f0e1cfbc0c91200786c..22f52a5eeb25137c9166432b5e9bd7aee42f9ad2 100644 --- a/src/dstr-binding-async-iteration/ary-init-iter-get-err.case +++ b/src/dstr-binding-async-iteration/ary-init-iter-get-err.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-init-iter-no-close.case b/src/dstr-binding-async-iteration/ary-init-iter-no-close.case index b9277b12341ed079486e921b1fa6fe999b856975..8184d2f2e517ac01e885708c6ca1e0516a7233d3 100644 --- a/src/dstr-binding-async-iteration/ary-init-iter-no-close.case +++ b/src/dstr-binding-async-iteration/ary-init-iter-no-close.case @@ -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 {}; } diff --git a/src/dstr-binding-async-iteration/ary-name-iter-val.case b/src/dstr-binding-async-iteration/ary-name-iter-val.case index 8c65a0868f008e5f315cc529229633d86f680ca5..d793554bba3da9fcf241937cd348094266a6f1e7 100644 --- a/src/dstr-binding-async-iteration/ary-name-iter-val.case +++ b/src/dstr-binding-async-iteration/ary-name-iter-val.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-init.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-init.case index 15df36937e8fb5f34b257d686e3c30887d885d60..bdb8f5cf397b05f442b7c81c16a42454646fc359 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-init.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-iter.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-iter.case index b3668d61802b66188d6cfe75eff22abe0c6b7726..9bd2c5efd496b245f0f4844e4f5aa5ce95ebc920 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-iter.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elem-iter.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-init.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-init.case index 49933f6364f2ec41390b51da80d78c86842f8a72..0178a9989d6482b07516f2161ff43da8601a3901 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-init.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-iter.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-iter.case index 47da0accc961b84717c7b3114f31d704591db8f1..62dbda5e420cc770e1bfc070ed16fc26e29f16be 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-iter.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-elision-iter.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-init.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-init.case index df0c90fdb5f0a4e020c0a0f7b459364524f0e7ea..753486e61c35dabb15963bf8be6949728b2a253e 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-init.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-iter.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-iter.case index b2c0aa1f591b21f71236e7e0183205abd6c69269..76582024399ae485817ef4c6578409d68d99dca7 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-iter.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-empty-iter.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-init.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-init.case index 18ac2bb2113c8cba35ba9459922eed6fe449b724..886ee7628b26446182a216c5199995e356ab361d 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-init.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-iter.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-iter.case index 63f77b64b3ab91921ed89182a90e3481c2b8b66f..4e59bec9567e51b26bb33481d6b24a558021f7d3 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-iter.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-rest-iter.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-val-null.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-val-null.case index abe6ac4f3de47fd2c257294657b3551d2371298c..aeedd3dd9340dfcb66b0dbcf503e36a7cc377b61 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-val-null.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-ary-val-null.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-exhausted.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-exhausted.case index fbd4ffa0acddfdb999b121fb6efada298edc9d80..72863c8273ee55e371bdb00ead181d8a54d8ba98 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-exhausted.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-exhausted.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-arrow.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-arrow.case index 0dda822299b2174bd18301dd3d86678685cecc4f..d9508813b81472081af6b53da4ea53047534f595 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-arrow.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-arrow.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-class.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-class.case index fd129368d4aee220126dce95ba487f60c14c10ea..60c47a8c55962b492f2ef46bba33411708d42549 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-class.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-class.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-cover.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-cover.case index 40f16c07f239f1abd8a80fba01aa586857104ec2..7e0eeac7e629e1cc4c824c1fd6cdc3002329ac39 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-cover.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-cover.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-fn.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-fn.case index d6b36ee6acc5a2613a704226beea33f8599dbaa4..978470e6d37ae1a4f9990b1df7ee60e7cfd35700 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-fn.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-fn.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-gen.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-gen.case index 04587c07cd6eb9063fd279701d3c13b591732f48..03c90595a670edc0a2cedde07f261cc1d3fa854e 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-gen.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-fn-name-gen.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-hole.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-hole.case index e34d9a1fd4a6c189bab0a8003236d16b5eb141d5..4da9a55451402d9ea78c1e1cf7db5db3aceeb40d 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-hole.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-hole.case @@ -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" diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-skipped.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-skipped.case index 803289ac0ea69a81d99f3dd4b619de4969b37a3e..acee36deb05c521db74a8cc9174e8cfa33716d7c 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-skipped.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-skipped.case @@ -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` diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-throws.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-throws.case index 2b05bf7cd5b6b4de938097eb6584614e968d7d7a..b4e2aa586fd518a44a37bcfe1215874273bb0486 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-throws.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-throws.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-undef.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-undef.case index 1767bd23db7d0651094247c6a91aea076824297d..b33370600cff884eb12c9d1a2f1cddf9724c725e 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-undef.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-undef.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-unresolvable.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-unresolvable.case index 109063ea870e59729bcffeafd4c3ad9352ce7e84..453f4284ba0512f6091e295ba0344648351c9caa 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-unresolvable.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-init-unresolvable.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-complete.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-complete.case index 93f3588e1d2c2c1786b91b437b7a966de0d3d7bc..0090e78252c9a82db2f82c7fb18d5a307eaa3a22 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-complete.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-complete.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-done.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-done.case index 745eb0801996e0321df491d52a2e3293fbc372a4..71be204d40a8204cd255b838d647ef7c01b0adb9 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-done.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-done.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-step-err.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-step-err.case index 58feda279663f3e36878548f45fbf555ce32ce71..930ac459d14502e2a90dd194bc0f1ed23669fabe 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-step-err.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-step-err.case @@ -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(); } }; diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val-err.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val-err.case index e52c52a93d6ae83a46766cd1daf31b3e261c3fb4..65b569b266acab1c3110622c87736457ae1771cf 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val-err.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val-err.case @@ -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; } }; diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val.case index 20a3e47ba41ab42f6f1825cc3cea745a4f3a9927..d1f6df4617c87e29c596e7972eeb01e89a046549 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-id-iter-val.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id-init.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id-init.case index 2133fc1fc3f3a6633ffe2e3ab1b4ce40636b803c..c792499b1fcf98df087377d4b672cab307cb69c1 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id-init.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id.case index a8cf157efcd2a27fd9958386360d3f845ed185c8..3ffcbeb04392c1d5ed05b8ed0eb8d0161283cc88 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id-init.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id-init.case index 1ad7f3a6caf3593c3c98868267628cdc6af7699c..6664569c44f6fb535b223ef17a09dbf0162af611 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id-init.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id.case index 8517cae5d715b5916d98ca7f7a9834fbc7603ba7..be7410e971ff997bb36aafe2399f53c9b52bb4d0 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-prop-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-null.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-null.case index 9f15b25aae80892909f1580ab231ff0707240db7..23b56ae8a4479fde1941de3ab4ae756b6aa97e57 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-null.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-null.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-undef.case b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-undef.case index 1f0c3aa990f2e0a0800a7c79b38b1afe651b074d..3c884f3430d9470fd0d9130cf927620572c2533f 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-undef.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elem-obj-val-undef.case @@ -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` diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elision-exhausted.case b/src/dstr-binding-async-iteration/ary-ptrn-elision-exhausted.case index 1f3b1fd8e61028fc5b2ab521ad4a3903dbeee32d..2d7cd5094afa7a3deb2baf825b8ed496ec2141af 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elision-exhausted.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elision-exhausted.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elision-step-err.case b/src/dstr-binding-async-iteration/ary-ptrn-elision-step-err.case index 7f0b3789f1b93b139f011322b1d5731f99bbe110..1f1d69448001bae2b419a1720d37db33b49b9454 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elision-step-err.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elision-step-err.case @@ -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"); diff --git a/src/dstr-binding-async-iteration/ary-ptrn-elision.case b/src/dstr-binding-async-iteration/ary-ptrn-elision.case index 9784dea4f266a42ef92d9e7fa09e281bdc2d1f1d..828e8413a323003e6faa807f3f900eb2171ed682 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-elision.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-elision.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-empty.case b/src/dstr-binding-async-iteration/ary-ptrn-empty.case index 49b126c225c074fd489d6b133e3390159ee2e065..6a348ea180b2319488e3ded0dcbb8dd4fa069f9a 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-empty.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-empty.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elem.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elem.case index a143fdf1d99bda9316a57466ba2d3bae28f13e24..bab100bba2cf3735df796095a1d9594a38dd25c6 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elem.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elem.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elision.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elision.case index dc6b008a6d832ebcc400f89f1e4399143619b3a0..d11cb7243228f1b973322e2ccbb986231a99b236 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elision.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-elision.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-empty.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-empty.case index 11994f99331b1f9fc3223b348da0b11ae9e9303f..bbaea3f56a1ebb62095e08bc74dd94d1f336b9e1 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-empty.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-empty.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-rest.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-rest.case index c794f9b447af26783ae81c5a4db54898654995a7..428687e1c7246b5d68ee86de9803b46f92b689ed 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-rest.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-ary-rest.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision-next-err.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision-next-err.case index 413ec0439875a9ec3ff5d2981a31ea02b975be2c..96ac1ad5a68ae126938f4f40552678cbd764cfe6 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision-next-err.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision-next-err.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision.case index 49780b19dca32bab3ed68ef1a9940e5a47f1822f..0643b134dc5e5fbe47c21bc10f89128a5ac7f140 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-elision.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-exhausted.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-exhausted.case index 1476e3cb96fc82cf15d1c258e5cdd68ee7076506..18ab5e958ccb9a28a1333e969411a310c5578a05 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-exhausted.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-exhausted.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-step-err.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-step-err.case index 1bb3bd0637991c08c37b753a387de9e0f2e49f42..48b826f78f6e5bfd2f3ba42a999137af5132b7ee 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-step-err.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-step-err.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-val-err.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-val-err.case index b3fb42708bce141f67775cac7c18272d6e61b5b4..5912533b881008321296d454a40b86e7c98249bb 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-val-err.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-id-iter-val-err.case @@ -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; } }; diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-id.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-id.case index 1b0f446417436aa451c4e024e7e7437f601bd777..93ea865beef410eeed7d7e62f195132698c1c64a 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-id.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-init-ary.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-init-ary.case index ab359ad3f39fa6d2cc9ca1f7068ba840aad8c787..8d302fa4c95e55a3228cd3beb327687ee421e077 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-init-ary.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-init-ary.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-init-id.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-init-id.case index e5ab514c083d079f637e7919b885a62f4fce45de..157935b1a68d657666c64f386b1609c107ea88f0 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-init-id.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-init-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-init-obj.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-init-obj.case index dc3cf7437a5ef1688611ac0558c6c793cac4865e..e55c245fde73e2dba125e7ab28a6281568d74e0e 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-init-obj.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-init-obj.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-ary.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-ary.case index c76c83d0a4bf35c6a9b74ce4bb1f5692fb61159f..4a7b66f869187fba63c603e3fbe82a03d0dbb798 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-ary.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-ary.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-id.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-id.case index 962733013a22c95c9df3b758c154e473e76f2cfc..b569bb020dffe04885ab71683938824f1d6c58b1 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-id.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-obj.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-obj.case index 00c70507ead8b72ba85f84fca741ce92401f68a6..3540f3dd1cc2253b2a7ce46a61940d43cfd983a5 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-obj.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-not-final-obj.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-id.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-id.case index fd42f56de532c4286e3c2335899a38de774a7212..5270aaddac752376741dd9b5ca4ab305ae9da4e6 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-id.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-prop-id.case b/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-prop-id.case index 3ad115023020029d41472bd237a220ad1c3a528f..17c410b43c17b7719780e76d1d5a4d98145df5c5 100644 --- a/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-prop-id.case +++ b/src/dstr-binding-async-iteration/ary-ptrn-rest-obj-prop-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/error/for-await-of-async-gen-const.template b/src/dstr-binding-async-iteration/error/for-await-of-async-gen-const.template index 4f4f2deb0fbb60915bacf188f5bb3a7599436958..85241ea97ebed70428ec61d202ccb3ac76c2c85b 100644 --- a/src/dstr-binding-async-iteration/error/for-await-of-async-gen-const.template +++ b/src/dstr-binding-async-iteration/error/for-await-of-async-gen-const.template @@ -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); - diff --git a/src/dstr-binding-async-iteration/error/for-await-of-async-gen-let.template b/src/dstr-binding-async-iteration/error/for-await-of-async-gen-let.template index 38c2f00fbc338c6e819414103c18465438cd8cb9..f75e5e204ba9ebe3193a3cd28614a9f550c996f0 100644 --- a/src/dstr-binding-async-iteration/error/for-await-of-async-gen-let.template +++ b/src/dstr-binding-async-iteration/error/for-await-of-async-gen-let.template @@ -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); diff --git a/src/dstr-binding-async-iteration/error/for-await-of-async-gen-var.template b/src/dstr-binding-async-iteration/error/for-await-of-async-gen-var.template index 41f9d08a2722f2f01e2cc88e1d5bc2351bbb2fbe..c0bbe2f0f06b7b2334ce7a33bea5c4ca835b3d3e 100644 --- a/src/dstr-binding-async-iteration/error/for-await-of-async-gen-var.template +++ b/src/dstr-binding-async-iteration/error/for-await-of-async-gen-var.template @@ -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); diff --git a/src/dstr-binding-async-iteration/obj-init-null.case b/src/dstr-binding-async-iteration/obj-init-null.case index 0772e36f770a6e1af7df662f64018946c592d438..23aa54c10c6ffd5f69377cdf1be32e8b7ac8df81 100644 --- a/src/dstr-binding-async-iteration/obj-init-null.case +++ b/src/dstr-binding-async-iteration/obj-init-null.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-init-undefined.case b/src/dstr-binding-async-iteration/obj-init-undefined.case index f41405f6fef3ddcd9d6a9167fe6f3eea14e3dac7..90d27b0099dd763f82d563ecc9b5c98e32f893fc 100644 --- a/src/dstr-binding-async-iteration/obj-init-undefined.case +++ b/src/dstr-binding-async-iteration/obj-init-undefined.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-empty.case b/src/dstr-binding-async-iteration/obj-ptrn-empty.case index 97ecebd34704d0a00efb3b34198fe81e2f9f5dfa..1431451d485c3ef3698e7306dd14ecc1105b33a4 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-empty.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-empty.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-get-value-err.case b/src/dstr-binding-async-iteration/obj-ptrn-id-get-value-err.case index 68ae3348af633e8fe390b3f17ebde289f1190fe1..e076d450383b0439d5b82b5d0b1ebcdef304ca87 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-get-value-err.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-get-value-err.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-arrow.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-arrow.case index 55cc1ad0ba3ee9ff865a1cbf7f003dae59aed9b3..fa6f8c4421cb83bac47cf52e8d6dd0982689adb9 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-arrow.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-arrow.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-class.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-class.case index 2b5a385dda12ad2f27c8726df9be2fb095ac29f2..78195dbc5998fe44f1b030c5d54f7241a6eac576 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-class.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-class.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-cover.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-cover.case index 624b00fce0ab0ed951127f4a34044b1239beb49b..80fc16a634f4634abc5df3d5b79aee0226667931 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-cover.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-cover.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-fn.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-fn.case index d6130cc9a669294abf78a6d1c4b5d09491b1cb75..7bdb04eb4cbb0e6c51f420970b1bc68842d936b9 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-fn.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-fn.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-gen.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-gen.case index 977d9f08d9baa95eecf969531c5d764f7a4db765..0faa807d892228ee8ed172503b1ab891075245bf 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-gen.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-fn-name-gen.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-skipped.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-skipped.case index ef10476d53ce046b03792fbf5cc1bebc55bfb1ae..841a67957b1a2d7589a15edb61be77c0333dc900 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-skipped.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-skipped.case @@ -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` diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-throws.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-throws.case index e67f63480e106669edf466928285349c897b9c3f..404b219ed43bfc872b88df4839f10a18dc7de6b6 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-throws.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-throws.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-init-unresolvable.case b/src/dstr-binding-async-iteration/obj-ptrn-id-init-unresolvable.case index dd6d9dc839894e0844f879d64acd4017a19dd7d9..c7240ada5a4f68fdca79e45879e5bc8352a382a1 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-init-unresolvable.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-init-unresolvable.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-id-trailing-comma.case b/src/dstr-binding-async-iteration/obj-ptrn-id-trailing-comma.case index 5dc0cbe68ad784c3b3314ce5e7f66a3fb338e8d3..3cfb1f71004c0aef5fc0e5b776f1c597718bec22 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-id-trailing-comma.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-id-trailing-comma.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-list-err.case b/src/dstr-binding-async-iteration/obj-ptrn-list-err.case index 73dc15e7df80b3e225e33b2147cfa7f951aede63..fd545b3987e2ec3240a0c17076a31f169fc56d24 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-list-err.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-list-err.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-init.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-init.case index 41ffaa1ac630d3417c570abc445083fefa9376ba..0f002e6c3020094efda5f5d6279639ba69ba3321 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-init.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-trailing-comma.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-trailing-comma.case index 17007b54cf19160208ce5508c2d4dfe5af908bd3..7cccbd084b5ac213a2c624f374901c03121ff1af 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-trailing-comma.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-trailing-comma.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-value-null.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-value-null.case index abe84e43f7ff8bbc3fdf74ee336a0cbc2bfb4717..af5b3ec081fbfba9160a6f32eda1afce05ef44ce 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-value-null.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary-value-null.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary.case index 254c8f06ba3c7d1f10a301f761f3ca5e0c5dae7c..40a73c566a579e649a218071ebf4a5c9115ae819 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-ary.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-ary.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-eval-err.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-eval-err.case index 9721474c368a1416b577af9a396c7e8c3963b84f..12e985009000b2df5cd70041d11a4f13503035df 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-eval-err.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-eval-err.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-get-value-err.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-get-value-err.case index 3851240d084fe24670e9a436e1070775888e397e..d54512d111a0f7c7541b54273bf846588d3fb6a8 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-get-value-err.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-get-value-err.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-skipped.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-skipped.case index 49ec6684f2e2443164d9644eda7cdb961d533c9e..35d96b5fa5b9559a10b496fe2e49087b0bc8ac05 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-skipped.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-skipped.case @@ -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` diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-throws.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-throws.case index e878fc6f3a8a3c3106288926c54a941df03433fe..7ae3799c50962ee7e70af64ea0e1ab25d5f6d83e 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-throws.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-throws.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-unresolvable.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-unresolvable.case index d11f68d9df50f1db653ec5c1ad8a732dc67b7cdb..0733b66875f02ffced60b62d917914bbcfd6951b 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-unresolvable.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init-unresolvable.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init.case index 5b6723f746a2d1692175a2b8e56b508a48ef5b44..52dfc6b2b2299729987e42e38a78ea10321b0d03 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-trailing-comma.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-trailing-comma.case index cee4bc057781fc079a063dc30ca4f1eba7b7003e..c131b3e343f6b7d8498a43e47aa545850c4082e9 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-id-trailing-comma.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-id-trailing-comma.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-id.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-id.case index ebd065297629cf910d48cc9346fcc77b2ab30d65..3b9c894afb16a40d0ba514b6877377c7df5a2f7d 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-id.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-id.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-init.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-init.case index cc6da66b45534746fa3a2a59691bc6668c0a4494..9766387ce5cd17ee532d634698edbb9a3567c8e6 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-init.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-init.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-null.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-null.case index 828049f9a0aa8a6f258ffe47c4583ab1887ff585..2ea5ba4d09a1c0a5005e76d8644b32950d2f7ea7 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-null.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-null.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-undef.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-undef.case index 6c4582af3dc0c1557fee93092a150c209faa97f0..a19912f8389562bb8c67be3f09f8ae0cf7ac52df 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-undef.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj-value-undef.case @@ -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 diff --git a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj.case b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj.case index da412ccd6a39b55d0fbe5d8abfe5420b678b2b80..c38a0b8a2442720d8517b952482375ea8308dd09 100644 --- a/src/dstr-binding-async-iteration/obj-ptrn-prop-obj.case +++ b/src/dstr-binding-async-iteration/obj-ptrn-prop-obj.case @@ -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