Enable strict mode testing for sm/generators

This commit is contained in:
André Bargull 2025-04-30 14:16:30 +02:00 committed by Philip Chimento
parent 8f259600e2
commit 6aa99aa29a
23 changed files with 1 additions and 47 deletions

View File

@ -2,8 +2,6 @@
// 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.
/*--- /*---
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [deepEqual.js] includes: [deepEqual.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [sm/assertThrowsValue.js] includes: [sm/assertThrowsValue.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [deepEqual.js] includes: [deepEqual.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [sm/non262-generators-shell.js] includes: [sm/non262-generators-shell.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [sm/assertThrowsValue.js, sm/non262-generators-shell.js] includes: [sm/assertThrowsValue.js, sm/non262-generators-shell.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [sm/non262-generators-shell.js] includes: [sm/non262-generators-shell.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [sm/non262-generators-shell.js] includes: [sm/non262-generators-shell.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [deepEqual.js] includes: [deepEqual.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [deepEqual.js] includes: [deepEqual.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [deepEqual.js] includes: [deepEqual.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [deepEqual.js] includes: [deepEqual.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [deepEqual.js] includes: [deepEqual.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -2,8 +2,6 @@
// 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.
/*--- /*---
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending
@ -19,7 +17,7 @@ function* gen() {
} }
var j = 0; var j = 0;
for (i of gen()) for (var i of gen())
assert.sameValue(i, j++); assert.sameValue(i, j++);
// now mess up the stack // now mess up the stack

View File

@ -2,8 +2,6 @@
// 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.
/*--- /*---
flags:
- noStrict
description: | description: |
IteratorNext should throw if the value returned by iterator.next() is not an object. IteratorNext should throw if the value returned by iterator.next() is not an object.
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [compareArray.js] includes: [compareArray.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -4,8 +4,6 @@
*/ */
/*--- /*---
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -2,8 +2,6 @@
// 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.
/*--- /*---
flags:
- noStrict
description: | description: |
Return value should not be overwritten by finally block with normal execution. Return value should not be overwritten by finally block with normal execution.
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [compareArray.js] includes: [compareArray.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [sm/assertThrowsValue.js] includes: [sm/assertThrowsValue.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -3,8 +3,6 @@
/*--- /*---
includes: [sm/assertThrowsValue.js] includes: [sm/assertThrowsValue.js]
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending

View File

@ -2,8 +2,6 @@
// 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.
/*--- /*---
flags:
- noStrict
description: | description: |
Returning non-object from @@iterator should throw Returning non-object from @@iterator should throw
esid: pending esid: pending

View File

@ -4,8 +4,6 @@
/*--- /*---
features: features:
- IsHTMLDDA - IsHTMLDDA
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending