mirror of
https://github.com/tc39/test262.git
synced 2025-05-29 03:00:31 +02:00
add esid to ArrayIterator/next tests
This commit is contained in:
parent
4ea2931f16
commit
ea88caaedf
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-get-arraybuffer-@@species
|
||||||
es6id: 24.1.3.3
|
es6id: 24.1.3.3
|
||||||
description: >
|
description: >
|
||||||
get ArrayBuffer [ @@species ].length is 0.
|
get ArrayBuffer [ @@species ].length is 0.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.7 S22
|
es6id: 9.4.4.7
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Once exhausted, iterators for mapped arguments exotic objects should not
|
Once exhausted, iterators for mapped arguments exotic objects should not
|
||||||
emit new values added to the object.
|
emit new values added to the object.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.7 S22
|
es6id: 9.4.4.7
|
||||||
|
esid: sec-%arrayiteratorprototype%.next S22
|
||||||
description: >
|
description: >
|
||||||
Prior to being exhausted, iterators for mapped arguments exotic objects
|
Prior to being exhausted, iterators for mapped arguments exotic objects
|
||||||
should honor the insertion of additional argument values.
|
should honor the insertion of additional argument values.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.7 S22
|
es6id: 9.4.4.7
|
||||||
|
esid: sec-%arrayiteratorprototype%.next S22
|
||||||
description: >
|
description: >
|
||||||
Mapped arguments exotic objects should implement the Array iterator
|
Mapped arguments exotic objects should implement the Array iterator
|
||||||
protocol.
|
protocol.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.7 S22
|
es6id: 9.4.4.7
|
||||||
|
esid: sec-%arrayiteratorprototype%.next S22
|
||||||
description: >
|
description: >
|
||||||
Prior to being exhausted, iterators for mapped arguments exotic objects
|
Prior to being exhausted, iterators for mapped arguments exotic objects
|
||||||
should honor argument removal.
|
should honor argument removal.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.6 S7
|
es6id: 9.4.4.6
|
||||||
|
esid: sec-%arrayiteratorprototype%.next S7
|
||||||
description: >
|
description: >
|
||||||
Once exhausted, iterators for unmapped arguments exotic objects should not
|
Once exhausted, iterators for unmapped arguments exotic objects should not
|
||||||
emit new values added to the object.
|
emit new values added to the object.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.6 S7
|
es6id: 9.4.4.6
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
Prior to being exhausted, iterators for unmapped arguments exotic objects
|
Prior to being exhausted, iterators for unmapped arguments exotic objects
|
||||||
should honor the insertion of additional argument values.
|
should honor the insertion of additional argument values.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.6 S7
|
es6id: 9.4.4.6
|
||||||
|
esid: sec-%arrayiteratorprototype%.next S7
|
||||||
description: >
|
description: >
|
||||||
Unmapped arguments exotic objects should implement the Array iterator
|
Unmapped arguments exotic objects should implement the Array iterator
|
||||||
protocol.
|
protocol.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: 9.4.4.6 S7
|
es6id: 9.4.4.6
|
||||||
|
esid: sec-%arrayiteratorprototype%.next S7
|
||||||
description: >
|
description: >
|
||||||
Prior to being exhausted, iterators for unmapped arguments exotic objects
|
Prior to being exhausted, iterators for unmapped arguments exotic objects
|
||||||
should honor argument removal.
|
should honor argument removal.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
When an item is added to the array after the iterator is created but
|
When an item is added to the array after the iterator is created but
|
||||||
before the iterator is "done" (as defined by 22.1.5.2.1), the new item
|
before the iterator is "done" (as defined by 22.1.5.2.1), the new item
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
The method should return a valid iterator with the context as the
|
The method should return a valid iterator with the context as the
|
||||||
IteratedObject.
|
IteratedObject.
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
%ArrayIteratorPrototype%.next.length is 0.
|
%ArrayIteratorPrototype%.next.length is 0.
|
||||||
info: >
|
info: >
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
%ArrayIteratorPrototype%.next.name is "next".
|
%ArrayIteratorPrototype%.next.name is "next".
|
||||||
info: >
|
info: >
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
If the `this` value does not have all of the internal slots of an Array
|
If the `this` value does not have all of the internal slots of an Array
|
||||||
Iterator Instance (22.1.5.3), throw a TypeError exception.
|
Iterator Instance (22.1.5.3), throw a TypeError exception.
|
||||||
es6id: 22.1.5.2.1
|
es6id: 22.1.5.2.1
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var array = [0];
|
var array = [0];
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-%arrayiteratorprototype%.next
|
||||||
description: >
|
description: >
|
||||||
The method should exist on the ArrayIterator prototype, and it should be
|
The method should exist on the ArrayIterator prototype, and it should be
|
||||||
writable and configurable, but not enumerable.
|
writable and configurable, but not enumerable.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user