Enable strict mode testing for sm/object

This commit is contained in:
André Bargull 2025-04-30 14:16:34 +02:00 committed by Philip Chimento
parent cd870e9520
commit 14e84721c9
60 changed files with 2 additions and 120 deletions

View File

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

View File

@ -5,8 +5,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Object.keys(O)
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.getOwnPropertyNames should play nicely with enumerator caching
esid: pending

View File

@ -5,8 +5,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Object.getOwnPropertyNames: array objects
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.getOwnPropertyNames: function objects
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.getOwnPropertyNames: regular expression objects
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.create(O [, Properties])
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Do not assert: !(attrs & (JSPROP_GETTER | JSPROP_SETTER)) with Object.defineProperty
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.defineProperties(O, Properties)
esid: pending

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Properly handle GC of a dictionary accessor property whose [[Get]] or [[Set]] has been changed to |undefined|
esid: pending

View File

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

View File

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

View File

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

View File

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

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending
@ -13,6 +11,8 @@ esid: pending
* These tests modify the tests in test262 to reflect this change.
*/
var a;
// test262/ch11/11.1/11.1.5/11.1.5-4-4-a-1-s.js
a = function() { "use strict"; return { foo: 0, foo : 1 }};
assert.sameValue(a().foo, 1);

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Implement Object.preventExtensions, Object.isExtensible
esid: pending

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.freeze() should return its argument with no conversion when the argument is a primitive value
esid: pending

View File

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

View File

@ -5,8 +5,6 @@
/*---
includes: [deepEqual.js]
flags:
- noStrict
description: |
Coerce the argument passed to Object.getOwnPropertyDescriptor using ToObject
esid: pending

View File

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

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
The [[Prototype]] of an object whose prototype chain contains an array isn't that array's [[Prototype]]
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Coerce the argument passed to Object.getPrototypeOf using ToObject
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Object accessors should have get prefix
esid: pending

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.isExtensible() should return false when given primitive values as input
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.isFrozen() should return true when given primitive values as input
esid: pending

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.isSealed() should return true when given primitive values as input
esid: pending

View File

@ -5,8 +5,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Coerce the argument passed to Object.keys using ToObject
esid: pending

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.is{Sealed,Frozen}, Object.{seal,freeze}
esid: pending

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
({}).toString.call(null) == "[object Null]", ({}).toString.call(undefined) == "[object Undefined]"
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.preventExtensions should be idempotent
esid: pending

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.preventExtensions() should return its argument with no conversion when the argument is a primitive value
esid: pending

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Object.seal() should return its argument with no conversion when the argument is a primitive value
esid: pending

View File

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

View File

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

View File

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

View File

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

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Using a name referring to a { get: undefined, set: undefined } descriptor shouldn't assert
esid: pending

View File

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

View File

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

View File

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

View File

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