diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js index f8b10b8cc9d5d35817fb2436ae806b82319741ac..c636bd7c49c6171e0f82a370f86d9658e72145e2 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js @@ -10,7 +10,7 @@ description: Object.isExtensible returns true for all built-in objects (Global) includes: [runTestCase.js] ---*/ -global = this; +var global = this; function testcase() { // in non-strict mode, 'this' is bound to the global object. var e = Object.isExtensible(this); diff --git a/test/built-ins/Object/prototype/S15.2.3.1_A1.js b/test/built-ins/Object/prototype/S15.2.3.1_A1.js index b13d2ed1a3bcd0e602bcc8fa22f24e95d1367ee5..21192d1077b1ba9542d8824667a0fcc37bee113a 100644 --- a/test/built-ins/Object/prototype/S15.2.3.1_A1.js +++ b/test/built-ins/Object/prototype/S15.2.3.1_A1.js @@ -5,6 +5,7 @@ info: The Object.prototype property has the attribute ReadOnly es5id: 15.2.3.1_A1 description: Checking if varying "Object.prototype" property fails +flags: [noStrict] ---*/ var obj = Object.prototype; diff --git a/test/built-ins/Object/prototype/S15.2.3.1_A2.js b/test/built-ins/Object/prototype/S15.2.3.1_A2.js index 28a9d43b324c54394594b5237383f061d20f04b3..996c86525be102e18cf533b0e604cfce8e77ae5c 100644 --- a/test/built-ins/Object/prototype/S15.2.3.1_A2.js +++ b/test/built-ins/Object/prototype/S15.2.3.1_A2.js @@ -15,7 +15,7 @@ if (Object.propertyIsEnumerable('prototype')) { // CHECK#2 var cout=0; -for (p in Object){ +for (var p in Object){ if (p==="prototype") cout++; } diff --git a/test/built-ins/Object/prototype/S15.2.4_A4.js b/test/built-ins/Object/prototype/S15.2.4_A4.js index 5e941575aa688b3ce65362dd19f7c3decf2184b4..1e93ebba9f63ecb42d591923ccc4614fd263b68b 100644 --- a/test/built-ins/Object/prototype/S15.2.4_A4.js +++ b/test/built-ins/Object/prototype/S15.2.4_A4.js @@ -14,7 +14,7 @@ includes: //CHECK#1 try { - instance = new Object.prototype; + var instance = new Object.prototype; $FAIL('#1: Since Object prototype object is not function it has not [[create]] method'); } catch (e) { $PRINT(e); diff --git a/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A10.js b/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A10.js index d7e3f2c3f15175bbc2aabbd1c6e4ec9e77711437..9076d9ae95ea145538b1444751ae214e0e3b422a 100644 --- a/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A10.js +++ b/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A10.js @@ -9,6 +9,7 @@ es5id: 15.2.4.5_A10 description: > Checking if varying the Object.prototype.hasOwnProperty.length property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A7.js b/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A7.js index 62c077b98974851619853cd06d0d548108051657..df3210c9adaeb0bf57a5fcb72d6ead57c6277f80 100644 --- a/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A7.js +++ b/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A7.js @@ -13,7 +13,7 @@ includes: var FACTORY = Object.prototype.hasOwnProperty; try { - instance = new FACTORY; + var instance = new FACTORY; $FAIL('#1: Object.prototype.hasOwnProperty can\'t be used as a constructor'); } catch (e) { $PRINT(e); diff --git a/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A8.js b/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A8.js index b6181e4e5ebe35ac3ccea9d05f915dd38e6149fb..d412a66666c7b825835bd41190386e1f033468de 100644 --- a/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A8.js +++ b/test/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A8.js @@ -24,7 +24,7 @@ if (Object.prototype.hasOwnProperty.propertyIsEnumerable('length')) { } // CHECK#2 -for (p in Object.prototype.hasOwnProperty){ +for (var p in Object.prototype.hasOwnProperty){ if (p==="length") $ERROR('#2: the Object.prototype.hasOwnProperty.length property has the attributes DontEnum'); } diff --git a/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A7.js b/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A7.js index be11ead07c5c296a61747c0f2b7ee9ae6d293fa6..3dea47d2bf141a6995b1b71e0b073ce99f973230 100644 --- a/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A7.js +++ b/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A7.js @@ -13,7 +13,7 @@ includes: var FACTORY = Object.prototype.isPrototypeOf; try { - instance = new FACTORY; + var instance = new FACTORY; $FAIL('#1: Object.prototype.isPrototypeOf can\'t be used as a constructor'); } catch (e) { $PRINT(e); diff --git a/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A8.js b/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A8.js index 44a27f6bc9cd56ea8e44e34263bb478f4a8c1021..508fe89294137de235e8ba7a7f2eac1978caf7c7 100644 --- a/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A8.js +++ b/test/built-ins/Object/prototype/isPrototypeOf/S15.2.4.6_A8.js @@ -24,7 +24,7 @@ if (Object.prototype.isPrototypeOf.propertyIsEnumerable('length')) { } // CHECK#2 -for (p in Object.prototype.isPrototypeOf){ +for (var p in Object.prototype.isPrototypeOf){ if (p==="length") $ERROR('#2: the Object.prototype.isPrototypeOf.length property has the attributes DontEnum'); } diff --git a/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A7.js b/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A7.js index 466e27dcc495ae6084dad7487a7705a4983384ca..600e6d2c7ed03ab04a7a13fa5776e85cd6eb6445 100644 --- a/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A7.js +++ b/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A7.js @@ -15,7 +15,7 @@ includes: var FACTORY = Object.prototype.propertyIsEnumerable; try { - instance = new FACTORY; + var instance = new FACTORY; $FAIL('#1: Object.prototype.propertyIsEnumerable can\'t be used as a constructor'); } catch (e) { $PRINT(e); diff --git a/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A8.js b/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A8.js index 211eb3581fcd8f0db0395532c02dd78fae892e0a..f6c6b3a7346a4428b998b29ca873bb9589787393 100644 --- a/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A8.js +++ b/test/built-ins/Object/prototype/propertyIsEnumerable/S15.2.4.7_A8.js @@ -24,7 +24,7 @@ if (Object.prototype.propertyIsEnumerable.propertyIsEnumerable('length')) { } // CHECK#2 -for (p in Object.prototype.propertyIsEnumerable){ +for (var p in Object.prototype.propertyIsEnumerable){ if (p==="length") $ERROR('#2: the Object.prototype.propertyIsEnumerable.length property has the attributes DontEnum'); } diff --git a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A10.js b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A10.js index 61c0ade1276b23c714eb129d3bb7a09aa1492d24..c71880656a63ad47d755277a8c8d0c25c780b512 100644 --- a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A10.js +++ b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A10.js @@ -9,6 +9,7 @@ es5id: 15.2.4.3_A10 description: > Checking if varying the Object.prototype.toLocaleString.length property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A7.js b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A7.js index 464d702fb380d1fe525953ef47d6f51704a45922..1f1600e98077de655a349b54e4a783647dfa26a2 100644 --- a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A7.js +++ b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A7.js @@ -13,7 +13,7 @@ includes: var FACTORY = Object.prototype.toLocaleString; try { - instance = new FACTORY; + var instance = new FACTORY; $FAIL('#1: Object.prototype.toLocaleString can\'t be used as a constructor'); } catch (e) { $PRINT(e); diff --git a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A8.js b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A8.js index e5c10ec848adbc3cfe8f09c2cabf23743bb3ed6e..b051815fa04e1733d6fd7e28d4fda1c38fd06610 100644 --- a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A8.js +++ b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A8.js @@ -24,7 +24,7 @@ if (Object.prototype.toLocaleString.propertyIsEnumerable('length')) { } // CHECK#2 -for (p in Object.prototype.toLocaleString){ +for (var p in Object.prototype.toLocaleString){ if (p==="length") $ERROR('#2: the Object.prototype.toLocaleString.length property has the attributes DontEnum'); } diff --git a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A9.js b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A9.js index b00e8597a1b669ef0f44037bb5a28f2afed4c08d..b01ed66357bead6b06aadbf9dd97e11bb867bfe2 100644 --- a/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A9.js +++ b/test/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A9.js @@ -9,7 +9,6 @@ es5id: 15.2.4.3_A9 description: > Checknig if deleting of the Object.prototype.toLocaleString.length property fails -flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/Object/prototype/toString/S15.2.4.2_A7.js b/test/built-ins/Object/prototype/toString/S15.2.4.2_A7.js index df58ac94dca9d53e42a9bc6e11ee179c6e230e3c..6506fb28753e42860f136a4fe258a3281c1a1df1 100644 --- a/test/built-ins/Object/prototype/toString/S15.2.4.2_A7.js +++ b/test/built-ins/Object/prototype/toString/S15.2.4.2_A7.js @@ -13,7 +13,7 @@ includes: var FACTORY = Object.prototype.toString; try { - instance = new FACTORY; + var instance = new FACTORY; $FAIL('#1: Object.prototype.toString can\'t be used as a constructor'); } catch (e) { $PRINT(e); diff --git a/test/built-ins/Object/prototype/toString/S15.2.4.2_A9.js b/test/built-ins/Object/prototype/toString/S15.2.4.2_A9.js index bb8300ac86f76b6d3d4b0f45ef1b2c2581e133a9..200d8cd1713355a8576b81730fed86ffe0f4c220 100644 --- a/test/built-ins/Object/prototype/toString/S15.2.4.2_A9.js +++ b/test/built-ins/Object/prototype/toString/S15.2.4.2_A9.js @@ -9,7 +9,6 @@ es5id: 15.2.4.2_A9 description: > Checknig if deleting of the Object.prototype.toString.length property fails -flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A10.js b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A10.js index 4e85b00fde22c89f8ae6270bdd2fc2af5ab4e384..878ecf265ea5b9490515ef66bc1b8e0cb578733c 100644 --- a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A10.js +++ b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A10.js @@ -7,6 +7,7 @@ es5id: 15.2.4.4_A10 description: > Checking if varying the Object.prototype.valueOf.length property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A7.js b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A7.js index 4b7bd6d822c0a9f6ff346abc68a2d554a4a4d566..339d5e1f05d478415f8a250214a43e774f9219cc 100644 --- a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A7.js +++ b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A7.js @@ -13,7 +13,7 @@ includes: var FACTORY = Object.prototype.valueOf; try { - instance = new FACTORY; + var instance = new FACTORY; $FAIL('#1: Object.prototype.valueOf can\'t be used as a constructor'); } catch (e) { $PRINT(e); diff --git a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A8.js b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A8.js index de6d6322e0b7f284401e6b69f70843ef80b07be1..c37406fa0c5d70e7e4237898b71954d61923f815 100644 --- a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A8.js +++ b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A8.js @@ -22,7 +22,7 @@ if (Object.prototype.valueOf.propertyIsEnumerable('length')) { } // CHECK#2 -for (p in Object.prototype.valueOf){ +for (var p in Object.prototype.valueOf){ if (p==="length") $ERROR('#2: the Object.prototype.valueOf.length property has the attributes DontEnum'); } diff --git a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A9.js b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A9.js index 539ab6308e4c2eadcdf8e9d62f638641a3100a67..d04f6a374be58525b41a4873c5d850eae45f9ebf 100644 --- a/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A9.js +++ b/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A9.js @@ -9,7 +9,6 @@ es5id: 15.2.4.4_A9 description: > Checknig if deleting of the Object.prototype.valueOf.length property fails -flags: [noStrict] includes: [$FAIL.js] ---*/