diff --git a/test/built-ins/Object/seal/15.2.3.8-0-1.js b/test/built-ins/Object/seal/15.2.3.8-0-1.js index cac02cc1f3..d4b53ad580 100644 --- a/test/built-ins/Object/seal/15.2.3.8-0-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-0-1.js @@ -2,10 +2,8 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-0-1 -description: Object.seal must exist as a function +esid: sec-object.seal +description: Object.seal is a function ---*/ -var f = Object.seal; - -assert.sameValue(typeof(f), "function", 'typeof(f)'); +assert.sameValue(typeof Object.seal, "function", 'typeof(f)'); diff --git a/test/built-ins/Object/seal/15.2.3.8-0-2.js b/test/built-ins/Object/seal/15.2.3.8-0-2.js deleted file mode 100644 index 014c99a2bb..0000000000 --- a/test/built-ins/Object/seal/15.2.3.8-0-2.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright (c) 2012 Ecma International. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 15.2.3.8-0-2 -description: Object.seal must exist as a function taking 1 parameter ----*/ - -assert.sameValue(Object.seal.length, 1, 'Object.seal.length'); diff --git a/test/built-ins/Object/seal/15.2.3.8-1-1.js b/test/built-ins/Object/seal/15.2.3.8-1-1.js index 58a6938a6a..39e7511066 100644 --- a/test/built-ins/Object/seal/15.2.3.8-1-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-1-1.js @@ -2,10 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-1-1 +esid: sec-object.seal description: > Object.seal does not throw TypeError if type of first param is undefined +info: | + If Type(O) is not Object, return O. ---*/ Object.seal(undefined); diff --git a/test/built-ins/Object/seal/15.2.3.8-1-2.js b/test/built-ins/Object/seal/15.2.3.8-1-2.js index d28014c5ed..f10616494e 100644 --- a/test/built-ins/Object/seal/15.2.3.8-1-2.js +++ b/test/built-ins/Object/seal/15.2.3.8-1-2.js @@ -2,8 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-1-2 -description: Object.seal does not throw TypeError if type of first param is null +esid: sec-object.seal +description: > + Object.seal does not throw TypeError if type of first param is + null +info: | + If Type(O) is not Object, return O. ---*/ Object.seal(null); diff --git a/test/built-ins/Object/seal/15.2.3.8-1-3.js b/test/built-ins/Object/seal/15.2.3.8-1-3.js index 326915af3c..55c07c2a91 100644 --- a/test/built-ins/Object/seal/15.2.3.8-1-3.js +++ b/test/built-ins/Object/seal/15.2.3.8-1-3.js @@ -2,10 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-1-3 +esid: sec-object.seal description: > - Object.seal does not throw TypeError if type of first param is a - boolean primitive + Object.seal does not throw TypeError if type of first param is + a boolean primitive +info: | + If Type(O) is not Object, return O. ---*/ + Object.seal(false); diff --git a/test/built-ins/Object/seal/15.2.3.8-1-4.js b/test/built-ins/Object/seal/15.2.3.8-1-4.js index 072c6d88cc..689691f73f 100644 --- a/test/built-ins/Object/seal/15.2.3.8-1-4.js +++ b/test/built-ins/Object/seal/15.2.3.8-1-4.js @@ -2,10 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-1-4 +esid: sec-object.seal description: > - Object.seal does not throw TypeError if type of first param is a - string primitive + Object.seal does not throw TypeError if type of first param is + a string primitive +info: | + If Type(O) is not Object, return O. ---*/ Object.seal("abc"); diff --git a/test/built-ins/Object/seal/15.2.3.8-1.js b/test/built-ins/Object/seal/15.2.3.8-1.js index 3a31ff959f..ebedce1455 100644 --- a/test/built-ins/Object/seal/15.2.3.8-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-1.js @@ -2,10 +2,11 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-1 +esid: sec-object.seal description: > - Object.seal does not throw TypeError if type of first param is not - Object + Object.seal does not throw TypeError if type of first param is + a number primitive +info: | + If Type(O) is not Object, return O. ---*/ - Object.seal(0); diff --git a/test/built-ins/Object/seal/15.2.3.8-2-1.js b/test/built-ins/Object/seal/15.2.3.8-2-1.js index 200d09e934..0e0d95aa38 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-1.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-1 +esid: sec-object.seal description: > Object.seal - extensible of 'O' is set as false even if 'O' has no own property diff --git a/test/built-ins/Object/seal/15.2.3.8-2-2.js b/test/built-ins/Object/seal/15.2.3.8-2-2.js index 0fe3efb0ab..6fb4a07566 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-2.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-2.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-2 +esid: sec-setintegritylevel description: Object.seal - inherited data properties are ignored ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-3.js b/test/built-ins/Object/seal/15.2.3.8-2-3.js index 5dff8563f6..9e46f2d732 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-3.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-3.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-3 +esid: sec-setintegritylevel description: Object.seal - inherited accessor properties are ignored ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-4.js b/test/built-ins/Object/seal/15.2.3.8-2-4.js index 27975e688f..7f28c892b7 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-4.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-4.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-4 +esid: sec-setintegritylevel description: Object.seal - non-enumerable own property of 'O' is sealed includes: [propertyHelper.js] ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-1.js b/test/built-ins/Object/seal/15.2.3.8-2-a-1.js index 00af316bb3..d4277df307 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-1.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-1 +esid: sec-setintegritylevel description: Object.seal - 'P' is own data property includes: [propertyHelper.js] ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-10.js b/test/built-ins/Object/seal/15.2.3.8-2-a-10.js index 94fc025bf4..153a874a5b 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-10.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-10.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-10 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of a Boolean object that uses Object's [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-11.js b/test/built-ins/Object/seal/15.2.3.8-2-a-11.js index 868d3e01ca..1f306fd409 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-11.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-11.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-11 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of a Number object that uses Object's [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-12.js b/test/built-ins/Object/seal/15.2.3.8-2-a-12.js index 63e2133cdc..23c9a59e5a 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-12.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-12.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-12 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of a Date object that uses Object's [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-13.js b/test/built-ins/Object/seal/15.2.3.8-2-a-13.js index fa4ee953e9..64e909185b 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-13.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-13.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-13 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of a RegExp object that uses Object's [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-14.js b/test/built-ins/Object/seal/15.2.3.8-2-a-14.js index 60f42b70d3..baeb4a18d1 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-14.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-14.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-14 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of an Error object that uses Object's [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-15.js b/test/built-ins/Object/seal/15.2.3.8-2-a-15.js index 242a1c85c5..e12b8aebfc 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-15.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-15.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-15 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of an Arguments object which implements its own [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-2.js b/test/built-ins/Object/seal/15.2.3.8-2-a-2.js index 61e30804f9..2810f976c7 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-2.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-2.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-2 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own data property that overrides an inherited data property diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-3.js b/test/built-ins/Object/seal/15.2.3.8-2-a-3.js index ee199e32ac..7e9a4df12b 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-3.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-3.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-3 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own data property that overrides an inherited accessor property diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-4.js b/test/built-ins/Object/seal/15.2.3.8-2-a-4.js index 8de827bd75..f0c6fe77e0 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-4.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-4.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-4 +esid: sec-setintegritylevel description: Object.seal - 'P' is own accessor property includes: [propertyHelper.js] ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-5.js b/test/built-ins/Object/seal/15.2.3.8-2-a-5.js index c1057e1361..d64d205998 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-5.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-5.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-5 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own accessor property that overrides an inherited data property diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-6.js b/test/built-ins/Object/seal/15.2.3.8-2-a-6.js index 7318061ce0..95378480cd 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-6.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-6.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-6 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own accessor property that overrides an inherited accessor property diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-7.js b/test/built-ins/Object/seal/15.2.3.8-2-a-7.js index 808ffc80f7..d62223c33c 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-7.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-7.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-7 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of a Function object that uses Object's [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-8.js b/test/built-ins/Object/seal/15.2.3.8-2-a-8.js index 081149823c..8be909d3fe 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-8.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-8.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-8 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of an Array object that uses Object's [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-a-9.js b/test/built-ins/Object/seal/15.2.3.8-2-a-9.js index 718575fac8..fce6ad9534 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-a-9.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-a-9.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-a-9 +esid: sec-setintegritylevel description: > Object.seal - 'P' is own property of a String object which implements its own [[GetOwnProperty]] diff --git a/test/built-ins/Object/seal/15.2.3.8-2-b-1.js b/test/built-ins/Object/seal/15.2.3.8-2-b-1.js index ab00a63d0f..db6ca9b1b0 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-b-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-b-1.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-b-1 +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 diff --git a/test/built-ins/Object/seal/15.2.3.8-2-b-2.js b/test/built-ins/Object/seal/15.2.3.8-2-b-2.js index b86a51857d..315d7039a9 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-b-2.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-b-2.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-b-2 +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 diff --git a/test/built-ins/Object/seal/15.2.3.8-2-b-3.js b/test/built-ins/Object/seal/15.2.3.8-2-b-3.js index 2576f3ebac..03ba9015e4 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-b-3.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-b-3.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-b-3 +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 diff --git a/test/built-ins/Object/seal/15.2.3.8-2-b-4.js b/test/built-ins/Object/seal/15.2.3.8-2-b-4.js index 4de248b106..d9c5411418 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-b-4.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-b-4.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-b-4 +esid: sec-setintegritylevel description: > Object.seal - all own properties of 'O' are already non-configurable diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-1.js b/test/built-ins/Object/seal/15.2.3.8-2-c-1.js index 514456a666..c8342c860b 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-1.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-1 +esid: sec-setintegritylevel description: Object.seal - 'O' is a Function object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-2.js b/test/built-ins/Object/seal/15.2.3.8-2-c-2.js index 49a8aef6df..d6fa039c91 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-2.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-2.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-2 +esid: sec-setintegritylevel description: Object.seal - 'O' is an Array object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-3.js b/test/built-ins/Object/seal/15.2.3.8-2-c-3.js index 447a2d5fd0..fcaa8fb699 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-3.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-3.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-3 +esid: sec-setintegritylevel description: Object.seal - 'O' is a String object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-4.js b/test/built-ins/Object/seal/15.2.3.8-2-c-4.js index a02152abd8..39e3f1b661 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-4.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-4.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-4 +esid: sec-setintegritylevel description: Object.seal - 'O' is a Boolean object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-5.js b/test/built-ins/Object/seal/15.2.3.8-2-c-5.js index b602648cdf..f631a418a0 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-5.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-5.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-5 +esid: sec-setintegritylevel description: Object.seal - 'O' is a Number object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-6.js b/test/built-ins/Object/seal/15.2.3.8-2-c-6.js index 3976ae55f5..a14a0f19bf 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-6.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-6.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-6 +esid: sec-setintegritylevel description: Object.seal - 'O' is a Date object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-7.js b/test/built-ins/Object/seal/15.2.3.8-2-c-7.js index 1e50a1602b..d55a8507d7 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-7.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-7.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-7 +esid: sec-setintegritylevel description: Object.seal - 'O' is a RegExp object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-8.js b/test/built-ins/Object/seal/15.2.3.8-2-c-8.js index e72ff62593..54a2bc6f20 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-8.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-8.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-8 +esid: sec-setintegritylevel description: Object.seal - 'O' is an Error object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-2-c-9.js b/test/built-ins/Object/seal/15.2.3.8-2-c-9.js index 0a93350b30..fe165554f9 100644 --- a/test/built-ins/Object/seal/15.2.3.8-2-c-9.js +++ b/test/built-ins/Object/seal/15.2.3.8-2-c-9.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-2-c-9 +esid: sec-setintegritylevel description: Object.seal - 'O' is an Arguments object ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-3-1.js b/test/built-ins/Object/seal/15.2.3.8-3-1.js index 4beb1bd674..f40957bef1 100644 --- a/test/built-ins/Object/seal/15.2.3.8-3-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-3-1.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-3-1 +esid: sec-setintegritylevel description: Object.seal - returned object is not extensible ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-4-1.js b/test/built-ins/Object/seal/15.2.3.8-4-1.js index 56ea87c30f..49d922fbd6 100644 --- a/test/built-ins/Object/seal/15.2.3.8-4-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-4-1.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-4-1 +esid: sec-setintegritylevel description: Object.seal - 'O' is sealed already ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-4-2.js b/test/built-ins/Object/seal/15.2.3.8-4-2.js index bd6edb2fc5..1aa0d293f1 100644 --- a/test/built-ins/Object/seal/15.2.3.8-4-2.js +++ b/test/built-ins/Object/seal/15.2.3.8-4-2.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-4-2 +esid: sec-setintegritylevel description: Object.seal - 'O' is frozen already ---*/ diff --git a/test/built-ins/Object/seal/15.2.3.8-4-3.js b/test/built-ins/Object/seal/15.2.3.8-4-3.js index 0b3329c804..9fd19dc97e 100644 --- a/test/built-ins/Object/seal/15.2.3.8-4-3.js +++ b/test/built-ins/Object/seal/15.2.3.8-4-3.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es5id: 15.2.3.8-4-3 +esid: sec-setintegritylevel description: Object.seal - the extension of 'O' is prevented already ---*/ diff --git a/test/built-ins/Object/seal/length.js b/test/built-ins/Object/seal/length.js new file mode 100644 index 0000000000..4f7233f0d8 --- /dev/null +++ b/test/built-ins/Object/seal/length.js @@ -0,0 +1,21 @@ +// Copyright (C) 2020 Rick Waldron. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +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] +---*/ + +assert.sameValue(Object.seal.length, 1); + +verifyNotEnumerable(Object.seal, "length"); +verifyNotWritable(Object.seal, "length"); +verifyConfigurable(Object.seal, "length"); diff --git a/test/built-ins/Object/seal/name.js b/test/built-ins/Object/seal/name.js index 300f759ad7..0da5795642 100644 --- a/test/built-ins/Object/seal/name.js +++ b/test/built-ins/Object/seal/name.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es6id: 19.1.2.17 +esid: sec-object.seal description: > Object.seal.name is "seal". info: | diff --git a/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-non-strict.js b/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-non-strict.js index f4e15aa86b..a10bd77c36 100644 --- a/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-non-strict.js +++ b/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-non-strict.js @@ -1,7 +1,7 @@ // Copyright (C) 2013 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -es6id: 19.4 +esid: sec-object.seal description: > Object.seal(obj) where obj contains symbol properties. flags: [noStrict] diff --git a/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-strict.js b/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-strict.js index e8fd7d34fd..b2caa7ead6 100644 --- a/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-strict.js +++ b/test/built-ins/Object/seal/symbol-object-contains-symbol-properties-strict.js @@ -1,7 +1,7 @@ // Copyright (C) 2013 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -es6id: 19.4 +esid: sec-object.seal description: > Object.seal(obj) where obj contains symbol properties. flags: [onlyStrict]