abrupt-completion.js |
---
esid: sec-object.seal
description: >
O.[[PreventExtensions]]() returns abrupt completion.
info: |
Object.seal ( O )
...
2. Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
...
3. Let status be ? O.[[PreventExtensions]]().
features: [Proxy]
--- |
612 |
browser.js |
|
0 |
configurable-attribute-all-own-properties-set-from-true-to-false-property-are-unaltered.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - the [[Configurable]] attribute of all own properties
of 'O' are set from true to false and other attributes of the
property are unaltered
includes: [propertyHelper.js]
--- |
1235 |
configurable-attribute-own-accessor-property-set-from-true-to-false-property-are-unaltered.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - the [[Configurable]] attribute of own accessor
property of 'O' is set from true to false and other attributes of
the property are unaltered
includes: [propertyHelper.js]
--- |
1005 |
length.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: Object.seal '`length` property'
info: |
ECMAScript Standard Built-in Objects
Every built-in function object, including constructors, has a "length" property whose value is an integer. Unless otherwise specified, this value is equal to the number of required parameters shown in the subclause headings for the function description. Optional parameters and rest parameters are not included in the parameter count.
Unless otherwise specified, the "length" property of a built-in function object has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
965 |
name.js |
---
esid: sec-object.seal
description: >
Object.seal.name is "seal".
info: |
Object.seal ( O )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
812 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Object.seal does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, arrow-function]
--- |
866 |
object-seal-all-own-properties-of-o-are-already-non-configurable.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - all own properties of 'O' are already
non-configurable
includes: [propertyHelper.js]
--- |
1279 |
object-seal-configurable-attribute-of-own-data-property-of-o-is-set-from-true-to-false-and-other-attributes-of-the-property-are-unaltered.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - the [[Configurable]] attribute of own data property
of 'O' is set from true to false and other attributes of the
property are unaltered
includes: [propertyHelper.js]
--- |
800 |
object-seal-extensible-of-o-is-set-as-false-even-if-o-has-no-own-property.js |
---
esid: sec-object.seal
description: >
Object.seal - extensible of 'O' is set as false even if 'O' has no
own property
--- |
490 |
object-seal-inherited-accessor-properties-are-ignored.js |
---
esid: sec-setintegritylevel
description: Object.seal - inherited accessor properties are ignored
--- |
823 |
object-seal-inherited-data-properties-are-ignored.js |
---
esid: sec-setintegritylevel
description: Object.seal - inherited data properties are ignored
--- |
792 |
object-seal-is-a-function.js |
---
esid: sec-object.seal
description: Object.seal is a function
--- |
295 |
object-seal-non-enumerable-own-property-of-o-is-sealed.js |
---
esid: sec-setintegritylevel
description: Object.seal - non-enumerable own property of 'O' is sealed
includes: [propertyHelper.js]
--- |
521 |
object-seal-o-is-a-boolean-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is a Boolean object
--- |
462 |
object-seal-o-is-a-date-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is a Date object
--- |
452 |
object-seal-o-is-a-function-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is a Function object
--- |
438 |
object-seal-o-is-a-number-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is a Number object
--- |
451 |
object-seal-o-is-a-reg-exp-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is a RegExp object
--- |
450 |
object-seal-o-is-a-string-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is a String object
--- |
453 |
object-seal-o-is-an-arguments-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is an Arguments object
--- |
481 |
object-seal-o-is-an-array-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is an Array object
--- |
429 |
object-seal-o-is-an-error-object.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is an Error object
--- |
449 |
object-seal-o-is-frozen-already.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is frozen already
--- |
545 |
object-seal-o-is-sealed-already.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'O' is sealed already
--- |
543 |
object-seal-p-is-own-accessor-property-that-overrides-an-inherited-accessor-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own accessor property that overrides an
inherited accessor property
includes: [propertyHelper.js]
--- |
802 |
object-seal-p-is-own-accessor-property-that-overrides-an-inherited-data-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own accessor property that overrides an
inherited data property
includes: [propertyHelper.js]
--- |
771 |
object-seal-p-is-own-accessor-property.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'P' is own accessor property
includes: [propertyHelper.js]
--- |
543 |
object-seal-p-is-own-data-property-that-overrides-an-inherited-accessor-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own data property that overrides an inherited
accessor property
includes: [propertyHelper.js]
--- |
751 |
object-seal-p-is-own-data-property-that-overrides-an-inherited-data-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own data property that overrides an inherited
data property
includes: [propertyHelper.js]
--- |
654 |
object-seal-p-is-own-data-property.js |
---
esid: sec-setintegritylevel
description: Object.seal - 'P' is own data property
includes: [propertyHelper.js]
--- |
490 |
object-seal-p-is-own-property-of-a-boolean-object-that-uses-object-s-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of a Boolean object that uses
Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
512 |
object-seal-p-is-own-property-of-a-date-object-that-uses-object-s-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of a Date object that uses
Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
502 |
object-seal-p-is-own-property-of-a-function-object-that-uses-object-s-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of a Function object that uses
Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
508 |
object-seal-p-is-own-property-of-a-number-object-that-uses-object-s-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of a Number object that uses
Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
507 |
object-seal-p-is-own-property-of-a-reg-exp-object-that-uses-object-s-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of a RegExp object that uses
Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
505 |
object-seal-p-is-own-property-of-a-string-object-which-implements-its-own-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of a String object which
implements its own [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
516 |
object-seal-p-is-own-property-of-an-arguments-object-which-implements-its-own-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of an Arguments object which
implements its own [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
541 |
object-seal-p-is-own-property-of-an-array-object-that-uses-object-s-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of an Array object that uses
Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
495 |
object-seal-p-is-own-property-of-an-error-object-that-uses-object-s-get-own-property.js |
---
esid: sec-setintegritylevel
description: >
Object.seal - 'P' is own property of an Error object that uses
Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
--- |
504 |
object-seal-returned-object-is-not-extensible.js |
---
esid: sec-setintegritylevel
description: Object.seal - returned object is not extensible
--- |
452 |
object-seal-the-extension-of-o-is-prevented-already.js |
---
esid: sec-setintegritylevel
description: Object.seal - the extension of 'O' is prevented already
--- |
575 |
proxy-no-ownkeys-returned-keys-order.js |
---
esid: sec-object.seal
description: >
If Proxy "ownKeys" trap is missing, keys are sorted by type in ascending
chronological order.
info: |
SetIntegrityLevel ( O, level )
[...]
5. Let keys be ? O.[[OwnPropertyKeys]]().
6. If level is sealed, then
a. For each element k of keys, do
i. Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
[[OwnPropertyKeys]] ( )
[...]
6. If trap is undefined, then
a. Return ? target.[[OwnPropertyKeys]]().
OrdinaryOwnPropertyKeys ( O )
[...]
3. For each own property key P of O such that Type(P) is String and P is
not an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
4. For each own property key P of O such that Type(P) is Symbol,
in ascending chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
features: [Proxy, Symbol, Reflect]
includes: [compareArray.js]
--- |
1546 |
proxy-with-defineProperty-handler.js |
---
esid: sec-object.seal
description: >
[[DefineOwnProperty]] is called with partial descriptor with only [[Configurable]] field present.
info: |
SetIntegrityLevel ( O, level )
[...]
5. Let keys be ? O.[[OwnPropertyKeys]]().
6. If level is sealed, then
a. For each element k of keys, do
i. Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
features: [Symbol, Proxy, Reflect]
--- |
1463 |
seal-aggregateerror.js |
---
esid: sec-object.seal
description: >
Object.seal AggregateError
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
features: [AggregateError]
--- |
1254 |
seal-arraybuffer.js |
---
esid: sec-object.seal
description: >
Object.seal ArrayBuffer
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1219 |
seal-arrowfunction.js |
---
esid: sec-object.seal
description: >
Object.seal ArrowFunction
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1255 |
seal-asyncarrowfunction.js |
---
esid: sec-object.seal
description: >
Object.seal AsyncArrowFunction
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1266 |
seal-asyncfunction.js |
---
esid: sec-object.seal
description: >
Object.seal AsyncFunction
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1266 |
seal-asyncgeneratorfunction.js |
---
esid: sec-object.seal
description: >
Object.seal AsyncGeneratorFunction
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1278 |
seal-bigint64array.js |
---
esid: sec-object.seal
description: >
Object.seal BigInt64Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1223 |
seal-biguint64array.js |
---
esid: sec-object.seal
description: >
Object.seal BigUint64Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1225 |
seal-boolean-literal.js |
---
esid: sec-object.seal
description: >
Object.seal boolean literal
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1210 |
seal-boolean.js |
---
esid: sec-object.seal
description: >
Object.seal Boolean
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1211 |
seal-dataview.js |
---
esid: sec-object.seal
description: >
Object.seal DataView
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1231 |
seal-date.js |
---
esid: sec-object.seal
description: >
Object.seal Date
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1206 |
seal-error.js |
---
esid: sec-object.seal
description: >
Object.seal Error
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1207 |
seal-evalerror.js |
---
esid: sec-object.seal
description: >
Object.seal EvalError
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1215 |
seal-finalizationregistry.js |
---
esid: sec-object.seal
description: >
Object.seal FinalizationRegistry
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
features: [FinalizationRegistry]
--- |
1399 |
seal-float32array.js |
---
esid: sec-object.seal
description: >
Object.seal Float32Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1221 |
seal-float64array.js |
---
esid: sec-object.seal
description: >
Object.seal Float64Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1221 |
seal-function.js |
---
esid: sec-object.seal
description: >
Object.seal Function
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1213 |
seal-generatorfunction.js |
---
esid: sec-object.seal
description: >
Object.seal GeneratorFunction
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1267 |
seal-infinity.js |
---
esid: sec-object.seal
description: >
Object.seal Infinity
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1207 |
seal-int8array.js |
---
esid: sec-object.seal
description: >
Object.seal Int8Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1215 |
seal-int16array.js |
---
esid: sec-object.seal
description: >
Object.seal Int16Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1217 |
seal-int32array.js |
---
esid: sec-object.seal
description: >
Object.seal Int32Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1217 |
seal-map.js |
---
esid: sec-object.seal
description: >
Object.seal Map
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1203 |
seal-nan.js |
---
esid: sec-object.seal
description: >
Object.seal NaN
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1197 |
seal-null.js |
---
esid: sec-object.seal
description: >
Object.seal null
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1199 |
seal-number.js |
---
esid: sec-object.seal
description: >
Object.seal Number
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1210 |
seal-object.js |
---
esid: sec-object.seal
description: >
Object.seal Object
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1209 |
seal-promise.js |
---
esid: sec-object.seal
description: >
Object.seal Promise
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1219 |
seal-proxy.js |
---
esid: sec-object.seal
description: >
Object.seal Proxy
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1213 |
seal-rangeerror.js |
---
esid: sec-object.seal
description: >
Object.seal RangeError
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1217 |
seal-referenceerror.js |
---
esid: sec-object.seal
description: >
Object.seal ReferenceError
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1225 |
seal-regexp.js |
---
esid: sec-object.seal
description: >
Object.seal RegExp
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1211 |
seal-set.js |
---
esid: sec-object.seal
description: >
Object.seal Set
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1203 |
seal-sharedarraybuffer.js |
---
esid: sec-object.seal
description: >
Object.seal SharedArrayBuffer
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
features: [SharedArrayBuffer]
--- |
1377 |
seal-string.js |
---
esid: sec-object.seal
description: >
Object.seal String
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1211 |
seal-symbol.js |
---
esid: sec-object.seal
description: >
Object.seal Symbol
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1205 |
seal-syntaxerror.js |
---
esid: sec-object.seal
description: >
Object.seal SyntaxError
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1219 |
seal-typeerror.js |
---
esid: sec-object.seal
description: >
Object.seal TypeError
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1215 |
seal-uint8array.js |
---
esid: sec-object.seal
description: >
Object.seal Uint8Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1217 |
seal-uint8clampedarray.js |
---
esid: sec-object.seal
description: >
Object.seal Uint8ClampedArray
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1231 |
seal-uint16array.js |
---
esid: sec-object.seal
description: >
Object.seal Uint16Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1219 |
seal-uint32array.js |
---
esid: sec-object.seal
description: >
Object.seal Uint32Array
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1219 |
seal-undefined.js |
---
esid: sec-object.seal
description: >
Object.seal undefined
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1209 |
seal-urierror.js |
---
esid: sec-object.seal
description: >
Object.seal URIError
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1213 |
seal-weakmap.js |
---
esid: sec-object.seal
description: >
Object.seal WeakMap
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1211 |
seal-weakref.js |
---
esid: sec-object.seal
description: >
Object.seal WeakRef
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
features: [WeakRef]
--- |
1328 |
seal-weakset.js |
---
esid: sec-object.seal
description: >
Object.seal WeakSet
info: |
If Type(O) is not Object, return O.
Let status be ? SetIntegrityLevel(O, sealed).
SetIntegrityLevel ( O, level )
Assert: Type(O) is Object.
Assert: level is either sealed or frozen.
Let status be ? O.[[PreventExtensions]]().
If status is false, return false.
Let keys be ? O.[[OwnPropertyKeys]]().
If level is sealed, then
For each element k of keys, do
Perform ? DefinePropertyOrThrow(O, k, PropertyDescriptor { [[Configurable]]: false }).
Else,
Assert: level is frozen.
For each element k of keys, do
Let currentDesc be ? O.[[GetOwnProperty]](k).
If currentDesc is not undefined, then
If IsAccessorDescriptor(currentDesc) is true, then
Let desc be the PropertyDescriptor { [[Configurable]]: false }.
Else,
Let desc be the PropertyDescriptor { [[Configurable]]: false, [[Writable]]: false }.
Perform ? DefinePropertyOrThrow(O, k, desc).
Return true.
--- |
1211 |
shell.js |
|
0 |
symbol-object-contains-symbol-properties-non-strict.js |
---
esid: sec-object.seal
description: >
Object.seal(obj) where obj contains symbol properties.
flags: [noStrict]
features: [Symbol]
--- |
657 |
symbol-object-contains-symbol-properties-strict-strict.js |
---
esid: sec-object.seal
description: >
Object.seal(obj) where obj contains symbol properties.
flags: [onlyStrict]
features: [Symbol]
--- |
622 |
throws-when-false.js |
---
esid: sec-object.seal
description: >
Object.seal throws if SetIntegrityLevel(O, sealed) returns false.
info: |
Object.seal ( O )
...
2. Let status be ? SetIntegrityLevel(O, sealed).
3. If status is false, throw a TypeError exception.
SetIntegrityLevel ( O, level )
...
3. Let status be ? O.[[PreventExtensions]]().
4. If status is false, return false.
--- |
674 |