Enable strict mode testing for sm/Iterator

This commit is contained in:
André Bargull 2025-04-30 14:16:31 +02:00 committed by Philip Chimento
parent 91bf17ace8
commit 62310eaf2a
174 changed files with 0 additions and 348 deletions

View File

@ -6,8 +6,6 @@ info: |
Iterator constructor can be subclassed.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
Iterator constructor throws when called directly.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
Iterator constructor throws when called without new.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
The Iterator constructor is a built-in function.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
Descriptor property of Iterator.from
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -10,8 +10,6 @@ info: |
false, [[Configurable]]: true }.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
esid: pending

View File

@ -4,8 +4,6 @@
/*---
description: |
`name` property of Iterator.from.
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -6,8 +6,6 @@ info: |
Iterator.from throws when called with an object with a non-callable @@iterator property.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -6,8 +6,6 @@ info: |
Iterator.from throws when called with a non-object.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -6,8 +6,6 @@ info: |
Iterator.from returns O if it is iterable, an iterator, and an instance of Iterator.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
Iterator.from returns an iterator wrapper if O is not an iterable.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
Iterator.from returns an iterator wrapper if O is not an instance of Iterator.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -6,8 +6,6 @@ info: |
Property descriptor of Iterator.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
The "length" property of Iterator
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
The "name" property of Iterator
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -6,8 +6,6 @@ info: |
The prototype of the Iterator constructor is the intrinsic object %FunctionPrototype%.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -12,8 +12,6 @@ info: |
c. If next is false, return undefined.
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -10,8 +10,6 @@ info: |
features:
- Symbol.iterator
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
17 ECMAScript Standard Built-in Objects
features:
- iterator-helpers
flags:
- noStrict
---*/
assert.sameValue(Iterator.prototype.drop.name, 'drop');

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -5,8 +5,6 @@
features:
- IsHTMLDDA
- iterator-helpers
flags:
- noStrict
info: |
Iterator is not enabled unconditionally
description: |

View File

@ -6,8 +6,6 @@ info: |
Descriptor property of Iterator.prototype.every
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -10,8 +10,6 @@ info: |
false, [[Configurable]]: true }.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
esid: pending

View File

@ -4,8 +4,6 @@
/*---
description: |
`name` property of Iterator.prototype.every.
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -5,8 +5,6 @@
features:
- IsHTMLDDA
- iterator-helpers
flags:
- noStrict
info: |
Iterator is not enabled unconditionally
description: |

View File

@ -10,8 +10,6 @@ info: |
features:
- Symbol.iterator
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
17 ECMAScript Standard Built-in Objects
features:
- iterator-helpers
flags:
- noStrict
---*/
assert.sameValue(Iterator.prototype.filter.name, 'filter');

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -5,8 +5,6 @@
features:
- IsHTMLDDA
- iterator-helpers
flags:
- noStrict
info: |
Iterator is not enabled unconditionally
description: |

View File

@ -6,8 +6,6 @@ info: |
Descriptor property of Iterator.prototype.find
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -10,8 +10,6 @@ info: |
false, [[Configurable]]: true }.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
esid: pending

View File

@ -4,8 +4,6 @@
/*---
description: |
`name` property of Iterator.prototype.find.
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -13,8 +13,6 @@ info: |
iv. IfAbruptCloseIterator(innerComplete, iterated).
features:
- iterator-helpers
flags:
- noStrict
---*/
class TestIterator extends Iterator {
next() {

View File

@ -13,8 +13,6 @@ info: |
ii. IfAbruptCloseIterator(innerNext, iterated).
features:
- iterator-helpers
flags:
- noStrict
---*/
class TestIterator extends Iterator {
next() {

View File

@ -15,8 +15,6 @@ info: |
2. IfAbruptCloseIterator(innerValue, iterated).
features:
- iterator-helpers
flags:
- noStrict
---*/
class TestIterator extends Iterator {
next() {

View File

@ -15,8 +15,6 @@ info: |
v. If innerComplete is true, set innerAlive to false.
features:
- iterator-helpers
flags:
- noStrict
---*/
let iter = [0, 1, 2, 3].values().flatMap(x => x % 2 ? [] : [x]);

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5.7
features:
- iterator-helpers
flags:
- noStrict
---*/
const iter = [1, 2].values().flatMap(function*(x) {
yield x;

View File

@ -10,8 +10,6 @@ info: |
features:
- Symbol.iterator
- iterator-helpers
flags:
- noStrict
---*/
assert.sameValue(Iterator.prototype.flatMap.length, 1);

View File

@ -9,8 +9,6 @@ info: |
17 ECMAScript Standard Built-in Objects
features:
- iterator-helpers
flags:
- noStrict
---*/
assert.sameValue(Iterator.prototype.flatMap.name, 'flatMap');

View File

@ -12,8 +12,6 @@ info: |
g. IfAbruptCloseIterator(innerIterator, iterated).
features:
- iterator-helpers
flags:
- noStrict
---*/
class InvalidIterable {
[Symbol.iterator]() {

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -6,8 +6,6 @@ info: |
Descriptor property of Iterator.prototype.forEach
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -10,8 +10,6 @@ info: |
false, [[Configurable]]: true }.
Iterator is not enabled unconditionally
flags:
- noStrict
features:
- iterator-helpers
esid: pending

View File

@ -4,8 +4,6 @@
/*---
description: |
`name` property of Iterator.prototype.forEach.
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
info: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -7,8 +7,6 @@ description: |
Lazy %Iterator.prototype% methods access specified properties only.
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
features:
- iterator-helpers
description: |

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

View File

@ -9,8 +9,6 @@ info: |
Iterator Helpers proposal 2.1.5
features:
- iterator-helpers
flags:
- noStrict
---*/
//

Some files were not shown because too many files have changed in this diff Show More