diff options
author | André Bargull <andre.bargull@gmail.com> | 2015-04-29 17:37:58 +0200 |
---|---|---|
committer | André Bargull <andre.bargull@gmail.com> | 2015-04-29 17:37:58 +0200 |
commit | 07fa78d6772e53e7a9d00105a5d8af17987c731e (patch) | |
tree | d7fd1ddce148ca26792dee0f942ce930b506378d | |
parent | 87fd4e56993a93b46f9c72809ebe161b5b9f6fb6 (diff) | |
download | qtdeclarative-testsuites-07fa78d6772e53e7a9d00105a5d8af17987c731e.tar.gz |
Fix strict mode errors in built-ins/Date
Add missing "var" declarations and noStrict flags.
Part of issue #35.
179 files changed, 179 insertions, 133 deletions
diff --git a/test/built-ins/Date/UTC/S15.9.4.3_A1_T1.js b/test/built-ins/Date/UTC/S15.9.4.3_A1_T1.js index d41b70efd..7da3fa94e 100644 --- a/test/built-ins/Date/UTC/S15.9.4.3_A1_T1.js +++ b/test/built-ins/Date/UTC/S15.9.4.3_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.4.3_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.UTC; +var x = Date.UTC; if(x === 1) Date.UTC = 2; else diff --git a/test/built-ins/Date/UTC/S15.9.4.3_A1_T3.js b/test/built-ins/Date/UTC/S15.9.4.3_A1_T3.js index 2c4c811c6..52097bbc2 100644 --- a/test/built-ins/Date/UTC/S15.9.4.3_A1_T3.js +++ b/test/built-ins/Date/UTC/S15.9.4.3_A1_T3.js @@ -11,7 +11,7 @@ if (Date.propertyIsEnumerable('UTC')) { $ERROR('#1: The Date.UTC property has the attribute DontEnum'); } -for(x in Date) { +for(var x in Date) { if(x === "UTC") { $ERROR('#2: The Date.UTC has the attribute DontEnum'); } diff --git a/test/built-ins/Date/UTC/S15.9.4.3_A3_T1.js b/test/built-ins/Date/UTC/S15.9.4.3_A3_T1.js index b8221b6b4..d21ad9dfc 100644 --- a/test/built-ins/Date/UTC/S15.9.4.3_A3_T1.js +++ b/test/built-ins/Date/UTC/S15.9.4.3_A3_T1.js @@ -7,6 +7,7 @@ info: > attributes es5id: 15.9.4.3_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.UTC.length; diff --git a/test/built-ins/Date/UTC/S15.9.4.3_A3_T3.js b/test/built-ins/Date/UTC/S15.9.4.3_A3_T3.js index 7f0c0d3cd..7cd0a0e16 100644 --- a/test/built-ins/Date/UTC/S15.9.4.3_A3_T3.js +++ b/test/built-ins/Date/UTC/S15.9.4.3_A3_T3.js @@ -13,7 +13,7 @@ if (Date.UTC.propertyIsEnumerable('length')) { $ERROR('#1: The Date.UTC.length property has the attribute DontEnum'); } -for(x in Date.UTC) { +for(var x in Date.UTC) { if(x === "length") { $ERROR('#2: The Date.UTC.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/parse/S15.9.4.2_A1_T1.js b/test/built-ins/Date/parse/S15.9.4.2_A1_T1.js index 46addf72d..f0ab4cdec 100644 --- a/test/built-ins/Date/parse/S15.9.4.2_A1_T1.js +++ b/test/built-ins/Date/parse/S15.9.4.2_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.4.2_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.parse; +var x = Date.parse; if(x === 1) Date.parse = 2; else diff --git a/test/built-ins/Date/parse/S15.9.4.2_A1_T3.js b/test/built-ins/Date/parse/S15.9.4.2_A1_T3.js index 3f2c15d4f..1412faf42 100644 --- a/test/built-ins/Date/parse/S15.9.4.2_A1_T3.js +++ b/test/built-ins/Date/parse/S15.9.4.2_A1_T3.js @@ -11,7 +11,7 @@ if (Date.propertyIsEnumerable('parse')) { $ERROR('#1: The Date.parse property has the attribute DontEnum'); } -for(x in Date) { +for(var x in Date) { if(x === "parse") { $ERROR('#2: The Date.parse has the attribute DontEnum'); } diff --git a/test/built-ins/Date/parse/S15.9.4.2_A3_T1.js b/test/built-ins/Date/parse/S15.9.4.2_A3_T1.js index e6cfebdc9..920571356 100644 --- a/test/built-ins/Date/parse/S15.9.4.2_A3_T1.js +++ b/test/built-ins/Date/parse/S15.9.4.2_A3_T1.js @@ -7,6 +7,7 @@ info: > attributes es5id: 15.9.4.2_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.parse.length; diff --git a/test/built-ins/Date/parse/S15.9.4.2_A3_T3.js b/test/built-ins/Date/parse/S15.9.4.2_A3_T3.js index f2798fab4..a0505ef4e 100644 --- a/test/built-ins/Date/parse/S15.9.4.2_A3_T3.js +++ b/test/built-ins/Date/parse/S15.9.4.2_A3_T3.js @@ -13,7 +13,7 @@ if (Date.parse.propertyIsEnumerable('length')) { $ERROR('#1: The Date.parse.length property has the attribute DontEnum'); } -for(x in Date.parse) { +for(var x in Date.parse) { if(x === "length") { $ERROR('#2: The Date.parse.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/S15.9.4.1_A1_T1.js b/test/built-ins/Date/prototype/S15.9.4.1_A1_T1.js index 70304c267..1113f1cdb 100644 --- a/test/built-ins/Date/prototype/S15.9.4.1_A1_T1.js +++ b/test/built-ins/Date/prototype/S15.9.4.1_A1_T1.js @@ -7,6 +7,7 @@ info: > attributes es5id: 15.9.4.1_A1_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype; diff --git a/test/built-ins/Date/prototype/S15.9.4.1_A1_T2.js b/test/built-ins/Date/prototype/S15.9.4.1_A1_T2.js index 34b4507b1..66cffbf49 100644 --- a/test/built-ins/Date/prototype/S15.9.4.1_A1_T2.js +++ b/test/built-ins/Date/prototype/S15.9.4.1_A1_T2.js @@ -7,6 +7,7 @@ info: > attributes es5id: 15.9.4.1_A1_T2 description: Checking DontDelete attribute +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js b/test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js index df80775d5..c82768194 100644 --- a/test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js +++ b/test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js @@ -13,7 +13,7 @@ if (Date.propertyIsEnumerable('prototype')) { $ERROR('#1: The Date.prototype property has the attribute DontEnum'); } -for(x in Date) { +for(var x in Date) { if(x === "prototype") { $ERROR('#2: The Date.prototype has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T1.js b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T1.js index 5d2cffc32..97bbb409a 100644 --- a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T1.js +++ b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.1_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.constructor; +var x = Date.prototype.constructor; if(x === 1) Date.prototype.constructor = 2; else diff --git a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T3.js b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T3.js index 96de6b548..13ec9e322 100644 --- a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T3.js +++ b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('constructor')) { $ERROR('#1: The Date.prototype.constructor property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "constructor") { $ERROR('#2: The Date.prototype.constructor has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T1.js b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T1.js index 0c70910f5..88e191f80 100644 --- a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T1.js +++ b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.1_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.constructor.length; diff --git a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js index 02cb90609..acab8063b 100644 --- a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js +++ b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.constructor.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.constructor.length property has the attribute DontEnum'); } -for(x in Date.prototype.constructor) { +for(var x in Date.prototype.constructor) { if(x === "length") { $ERROR('#2: The Date.prototype.constructor.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T1.js b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T1.js index 9d19cc8d0..ab93698ea 100644 --- a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T1.js +++ b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.14_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getDate; +var x = Date.prototype.getDate; if(x === 1) Date.prototype.getDate = 2; else diff --git a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T3.js b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T3.js index 689f82e5d..a49fed1ef 100644 --- a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T3.js +++ b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getDate')) { $ERROR('#1: The Date.prototype.getDate property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getDate") { $ERROR('#2: The Date.prototype.getDate has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T1.js b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T1.js index d9f5515bf..039948888 100644 --- a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T1.js +++ b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.14_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getDate.length; diff --git a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T3.js b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T3.js index 35fb27a5e..5bba931a8 100644 --- a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T3.js +++ b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getDate.length property has the attribute DontEnum'); } -for(x in Date.prototype.getDate) { +for(var x in Date.prototype.getDate) { if(x === "length") { $ERROR('#2: The Date.prototype.getDate.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T1.js b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T1.js index 8a684e38a..e22f0194d 100644 --- a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T1.js +++ b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.16_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getDay; +var x = Date.prototype.getDay; if(x === 1) Date.prototype.getDay = 2; else diff --git a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T3.js b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T3.js index ceb1a8b9b..df4379492 100644 --- a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T3.js +++ b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getDay')) { $ERROR('#1: The Date.prototype.getDay property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getDay") { $ERROR('#2: The Date.prototype.getDay has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T1.js b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T1.js index 1d581dae5..767579e4a 100644 --- a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T1.js +++ b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.16_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getDay.length; diff --git a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T3.js b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T3.js index a38d352f2..e8010d297 100644 --- a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T3.js +++ b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getDay.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getDay.length property has the attribute DontEnum'); } -for(x in Date.prototype.getDay) { +for(var x in Date.prototype.getDay) { if(x === "length") { $ERROR('#2: The Date.prototype.getDay.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T1.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T1.js index bbd9c7c9e..31de2be4d 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T1.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.10_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getFullYear; +var x = Date.prototype.getFullYear; if(x === 1) Date.prototype.getFullYear = 2; else diff --git a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T3.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T3.js index d981fb80b..1b6a0b936 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T3.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getFullYear')) { $ERROR('#1: The Date.prototype.getFullYear property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getFullYear") { $ERROR('#2: The Date.prototype.getFullYear has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T1.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T1.js index 7dd432d1f..c0ec89047 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T1.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.10_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getFullYear.length; diff --git a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js index 25a64b6f2..67abb5e4f 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getFullYear.length property has the attribute DontEnum'); } -for(x in Date.prototype.getFullYear) { +for(var x in Date.prototype.getFullYear) { if(x === "length") { $ERROR('#2: The Date.prototype.getFullYear.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T1.js b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T1.js index 17f4c0da0..2545dc9af 100644 --- a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T1.js +++ b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.18_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getHours; +var x = Date.prototype.getHours; if(x === 1) Date.prototype.getHours = 2; else diff --git a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T3.js b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T3.js index 295934ee8..1ab1fb0cf 100644 --- a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T3.js +++ b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getHours')) { $ERROR('#1: The Date.prototype.getHours property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getHours") { $ERROR('#2: The Date.prototype.getHours has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T1.js b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T1.js index d63701ba4..556323d1d 100644 --- a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T1.js +++ b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.18_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getHours.length; diff --git a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T3.js b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T3.js index 00df3f95d..8a0a49b23 100644 --- a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T3.js +++ b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getHours.length property has the attribute DontEnum'); } -for(x in Date.prototype.getHours) { +for(var x in Date.prototype.getHours) { if(x === "length") { $ERROR('#2: The Date.prototype.getHours.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T1.js b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T1.js index 475e1157e..6d815ce46 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T1.js +++ b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.24_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getMilliseconds; +var x = Date.prototype.getMilliseconds; if(x === 1) Date.prototype.getMilliseconds = 2; else diff --git a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T3.js b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T3.js index 82c9cfff4..9fc54b5b8 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T3.js +++ b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getMilliseconds')) { $ERROR('#1: The Date.prototype.getMilliseconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getMilliseconds") { $ERROR('#2: The Date.prototype.getMilliseconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T1.js b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T1.js index a98fd9500..fe1ecd8ee 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T1.js +++ b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.24_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getMilliseconds.length; diff --git a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T3.js b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T3.js index 2f364d285..a4b75439f 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T3.js +++ b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMilliseconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.getMilliseconds) { +for(var x in Date.prototype.getMilliseconds) { if(x === "length") { $ERROR('#2: The Date.prototype.getMilliseconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T1.js b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T1.js index 57b8a159a..394809623 100644 --- a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T1.js +++ b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.20_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getMinutes; +var x = Date.prototype.getMinutes; if(x === 1) Date.prototype.getMinutes = 2; else diff --git a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T3.js b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T3.js index f407d5c70..da508b146 100644 --- a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T3.js +++ b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getMinutes')) { $ERROR('#1: The Date.prototype.getMinutes property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getMinutes") { $ERROR('#2: The Date.prototype.getMinutes has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T1.js b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T1.js index 08c2dc9e3..10cde1ca5 100644 --- a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T1.js +++ b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.20_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getMinutes.length; diff --git a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T3.js b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T3.js index 238665a87..c3d9971dc 100644 --- a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T3.js +++ b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMinutes.length property has the attribute DontEnum'); } -for(x in Date.prototype.getMinutes) { +for(var x in Date.prototype.getMinutes) { if(x === "length") { $ERROR('#2: The Date.prototype.getMinutes.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T1.js b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T1.js index 53bb0632d..7b375300e 100644 --- a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T1.js +++ b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.12_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getMonth; +var x = Date.prototype.getMonth; if(x === 1) Date.prototype.getMonth = 2; else diff --git a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T3.js b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T3.js index 46a94382f..8c2080374 100644 --- a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T3.js +++ b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getMonth')) { $ERROR('#1: The Date.prototype.getMonth property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getMonth") { $ERROR('#2: The Date.prototype.getMonth has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T1.js b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T1.js index 2b73c282f..2c65e30b6 100644 --- a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T1.js +++ b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.12_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getMonth.length; diff --git a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T3.js b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T3.js index 241d6da43..8c01f2c32 100644 --- a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T3.js +++ b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMonth.length property has the attribute DontEnum'); } -for(x in Date.prototype.getMonth) { +for(var x in Date.prototype.getMonth) { if(x === "length") { $ERROR('#2: The Date.prototype.getMonth.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T1.js b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T1.js index c68b10bc2..bbd2f35f5 100644 --- a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T1.js +++ b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.22_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getSeconds; +var x = Date.prototype.getSeconds; if(x === 1) Date.prototype.getSeconds = 2; else diff --git a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T3.js b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T3.js index d91628c88..0733709e8 100644 --- a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T3.js +++ b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getSeconds')) { $ERROR('#1: The Date.prototype.getSeconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getSeconds") { $ERROR('#2: The Date.prototype.getSeconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T1.js b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T1.js index 4ac5a5041..c5b790c04 100644 --- a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T1.js +++ b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.22_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getSeconds.length; diff --git a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T3.js b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T3.js index 112303bf2..9545e1f97 100644 --- a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T3.js +++ b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getSeconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.getSeconds) { +for(var x in Date.prototype.getSeconds) { if(x === "length") { $ERROR('#2: The Date.prototype.getSeconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T1.js b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T1.js index 3a8d8bf58..2161b9365 100644 --- a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T1.js +++ b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.9_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getTime; +var x = Date.prototype.getTime; if(x === 1) Date.prototype.getTime = 2; else diff --git a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T3.js b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T3.js index 498b15437..6f4f94cd5 100644 --- a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T3.js +++ b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getTime')) { $ERROR('#1: The Date.prototype.getTime property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getTime") { $ERROR('#2: The Date.prototype.getTime has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T1.js b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T1.js index 8f246a799..6034ff9be 100644 --- a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T1.js +++ b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.9_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getTime.length; diff --git a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T3.js b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T3.js index 3d60b60b3..e63293d0a 100644 --- a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T3.js +++ b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getTime.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getTime.length property has the attribute DontEnum'); } -for(x in Date.prototype.getTime) { +for(var x in Date.prototype.getTime) { if(x === "length") { $ERROR('#2: The Date.prototype.getTime.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T1.js b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T1.js index 6f979a460..ab36f0ef9 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T1.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T1.js @@ -9,7 +9,7 @@ es5id: 15.9.5.26_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getTimezoneOffset; +var x = Date.prototype.getTimezoneOffset; if(x === 1) Date.prototype.getTimezoneOffset = 2; else diff --git a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T3.js b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T3.js index 4e6808e30..4fbac62c3 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T3.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.propertyIsEnumerable('getTimezoneOffset')) { $ERROR('#1: The Date.prototype.getTimezoneOffset property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getTimezoneOffset") { $ERROR('#2: The Date.prototype.getTimezoneOffset has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T1.js b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T1.js index e09365ec6..09b0df7b8 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T1.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.26_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getTimezoneOffset.length; diff --git a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T3.js b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T3.js index 0ce89003a..a489f3a75 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T3.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getTimezoneOffset.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getTimezoneOffset.length property has the attribute DontEnum'); } -for(x in Date.prototype.getTimezoneOffset) { +for(var x in Date.prototype.getTimezoneOffset) { if(x === "length") { $ERROR('#2: The Date.prototype.getTimezoneOffset.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T1.js b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T1.js index 626a3f858..a9df5b622 100644 --- a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.15_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCDate; +var x = Date.prototype.getUTCDate; if(x === 1) Date.prototype.getUTCDate = 2; else diff --git a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T3.js b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T3.js index 3d4668397..50b717f7a 100644 --- a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCDate')) { $ERROR('#1: The Date.prototype.getUTCDate property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCDate") { $ERROR('#2: The Date.prototype.getUTCDate has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T1.js b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T1.js index 126e78c26..667d3a069 100644 --- a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.15_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCDate.length; diff --git a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T3.js b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T3.js index 89d2c56cd..9dfb20343 100644 --- a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCDate.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCDate) { +for(var x in Date.prototype.getUTCDate) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCDate.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T1.js b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T1.js index c496a5785..73768f8dc 100644 --- a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.17_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCDay; +var x = Date.prototype.getUTCDay; if(x === 1) Date.prototype.getUTCDay = 2; else diff --git a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T3.js b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T3.js index a4dafbbe2..6225556dc 100644 --- a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCDay')) { $ERROR('#1: The Date.prototype.getUTCDay property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCDay") { $ERROR('#2: The Date.prototype.getUTCDay has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T1.js b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T1.js index 896fa7ee4..f1c668e8c 100644 --- a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.17_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCDay.length; diff --git a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T3.js b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T3.js index 8f3ac2280..49b317ce9 100644 --- a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCDay.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCDay.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCDay) { +for(var x in Date.prototype.getUTCDay) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCDay.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T1.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T1.js index 516f95e99..eef2b59c8 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.11_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCFullYear; +var x = Date.prototype.getUTCFullYear; if(x === 1) Date.prototype.getUTCFullYear = 2; else diff --git a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js index dbd5062c7..8d40078e5 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCFullYear')) { $ERROR('#1: The Date.prototype.getUTCFullYear property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCFullYear") { $ERROR('#2: The Date.prototype.getUTCFullYear has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T1.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T1.js index 613d2c473..18cd31ff8 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.11_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCFullYear.length; diff --git a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T3.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T3.js index 112d3139e..6d1f21d0d 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCFullYear.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCFullYear) { +for(var x in Date.prototype.getUTCFullYear) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCFullYear.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T1.js b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T1.js index 03c0d4047..afb6f4622 100644 --- a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.19_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCHours; +var x = Date.prototype.getUTCHours; if(x === 1) Date.prototype.getUTCHours = 2; else diff --git a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T3.js b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T3.js index 0a362c2c5..c43f37c6d 100644 --- a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCHours')) { $ERROR('#1: The Date.prototype.getUTCHours property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCHours") { $ERROR('#2: The Date.prototype.getUTCHours has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T1.js b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T1.js index d0a8f7623..6cc63fa0f 100644 --- a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.19_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCHours.length; diff --git a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T3.js b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T3.js index 3fc0377ea..2e69760e7 100644 --- a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCHours.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCHours) { +for(var x in Date.prototype.getUTCHours) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCHours.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T1.js b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T1.js index 305c48a54..45976c094 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T1.js @@ -9,7 +9,7 @@ es5id: 15.9.5.25_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCMilliseconds; +var x = Date.prototype.getUTCMilliseconds; if(x === 1) Date.prototype.getUTCMilliseconds = 2; else diff --git a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T3.js b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T3.js index 9b5581cb0..83e8c5614 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCMilliseconds')) { $ERROR('#1: The Date.prototype.getUTCMilliseconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCMilliseconds") { $ERROR('#2: The Date.prototype.getUTCMilliseconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T1.js b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T1.js index beceb40a7..397f11816 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.25_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCMilliseconds.length; diff --git a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T3.js b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T3.js index 54c29897f..b0021564a 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMilliseconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCMilliseconds) { +for(var x in Date.prototype.getUTCMilliseconds) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCMilliseconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T1.js b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T1.js index f477d1bf7..7628c7fbe 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.21_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCMinutes; +var x = Date.prototype.getUTCMinutes; if(x === 1) Date.prototype.getUTCMinutes = 2; else diff --git a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T3.js b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T3.js index dbdefe1a0..000142ef4 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCMinutes')) { $ERROR('#1: The Date.prototype.getUTCMinutes property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCMinutes") { $ERROR('#2: The Date.prototype.getUTCMinutes has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T1.js b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T1.js index 3224d217d..e642dfdef 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.21_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCMinutes.length; diff --git a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T3.js b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T3.js index fea8ff75f..24cf476c8 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMinutes.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCMinutes) { +for(var x in Date.prototype.getUTCMinutes) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCMinutes.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T1.js b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T1.js index 5d38f1346..07f7178a6 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.13_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCMonth; +var x = Date.prototype.getUTCMonth; if(x === 1) Date.prototype.getUTCMonth = 2; else diff --git a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T3.js b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T3.js index 36e93f910..2412f3efc 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCMonth')) { $ERROR('#1: The Date.prototype.getUTCMonth property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCMonth") { $ERROR('#2: The Date.prototype.getUTCMonth has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T1.js b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T1.js index 5cae01867..f2b03bea2 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.13_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCMonth.length; diff --git a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T3.js b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T3.js index ced543495..667b5ed95 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMonth.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCMonth) { +for(var x in Date.prototype.getUTCMonth) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCMonth.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T1.js b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T1.js index dee236e0a..a4223822c 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T1.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.23_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.getUTCSeconds; +var x = Date.prototype.getUTCSeconds; if(x === 1) Date.prototype.getUTCSeconds = 2; else diff --git a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T3.js b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T3.js index 910b6d9be..bb7c61190 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T3.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCSeconds')) { $ERROR('#1: The Date.prototype.getUTCSeconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "getUTCSeconds") { $ERROR('#2: The Date.prototype.getUTCSeconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T1.js b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T1.js index dc3f195a1..0c5cf3fda 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T1.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.23_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.getUTCSeconds.length; diff --git a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T3.js b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T3.js index 9bcad90f6..619cdf82e 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T3.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getUTCSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCSeconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.getUTCSeconds) { +for(var x in Date.prototype.getUTCSeconds) { if(x === "length") { $ERROR('#2: The Date.prototype.getUTCSeconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T1.js b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T1.js index 5bac4b5ba..2f55d2070 100644 --- a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T1.js +++ b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.36_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setDate; +var x = Date.prototype.setDate; if(x === 1) Date.prototype.setDate = 2; else diff --git a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T3.js b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T3.js index a7d27000f..25ae9b186 100644 --- a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T3.js +++ b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setDate')) { $ERROR('#1: The Date.prototype.setDate property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setDate") { $ERROR('#2: The Date.prototype.setDate has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T1.js b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T1.js index 726993650..951643f30 100644 --- a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T1.js +++ b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.36_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setDate.length; diff --git a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T3.js b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T3.js index 02cc08ddb..1980bfa14 100644 --- a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T3.js +++ b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setDate.length property has the attribute DontEnum'); } -for(x in Date.prototype.setDate) { +for(var x in Date.prototype.setDate) { if(x === "length") { $ERROR('#2: The Date.prototype.setDate.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T1.js b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T1.js index 89ee1e09c..6615da483 100644 --- a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T1.js +++ b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.40_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setFullYear; +var x = Date.prototype.setFullYear; if(x === 1) Date.prototype.setFullYear = 2; else diff --git a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T3.js b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T3.js index f17124a9a..9ae1733d3 100644 --- a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T3.js +++ b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setFullYear')) { $ERROR('#1: The Date.prototype.setFullYear property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setFullYear") { $ERROR('#2: The Date.prototype.setFullYear has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T1.js b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T1.js index 43e051044..cbd1b11a2 100644 --- a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T1.js +++ b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.40_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setFullYear.length; diff --git a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T3.js b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T3.js index b6866b82c..8963c8ccb 100644 --- a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T3.js +++ b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setFullYear.length property has the attribute DontEnum'); } -for(x in Date.prototype.setFullYear) { +for(var x in Date.prototype.setFullYear) { if(x === "length") { $ERROR('#2: The Date.prototype.setFullYear.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T1.js b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T1.js index 8b1b812dc..26bc8ec90 100644 --- a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T1.js +++ b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.34_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setHours; +var x = Date.prototype.setHours; if(x === 1) Date.prototype.setHours = 2; else diff --git a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T3.js b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T3.js index e9774ac85..89f74e1e5 100644 --- a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T3.js +++ b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setHours')) { $ERROR('#1: The Date.prototype.setHours property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setHours") { $ERROR('#2: The Date.prototype.setHours has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T1.js b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T1.js index 98cbad79e..7ff13e489 100644 --- a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T1.js +++ b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.34_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setHours.length; diff --git a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T3.js b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T3.js index f6208e0fa..3f4b0d753 100644 --- a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T3.js +++ b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setHours.length property has the attribute DontEnum'); } -for(x in Date.prototype.setHours) { +for(var x in Date.prototype.setHours) { if(x === "length") { $ERROR('#2: The Date.prototype.setHours.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T1.js b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T1.js index 0c697d0e4..60f145a77 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T1.js +++ b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.28_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setMilliseconds; +var x = Date.prototype.setMilliseconds; if(x === 1) Date.prototype.setMilliseconds = 2; else diff --git a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T3.js b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T3.js index 61a12c564..98bc24eee 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T3.js +++ b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setMilliseconds')) { $ERROR('#1: The Date.prototype.setMilliseconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setMilliseconds") { $ERROR('#2: The Date.prototype.setMilliseconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T1.js b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T1.js index 812e2ecc5..a9ebc7802 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T1.js +++ b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.28_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setMilliseconds.length; diff --git a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T3.js b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T3.js index 55ec5a96b..78e3e2601 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T3.js +++ b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMilliseconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.setMilliseconds) { +for(var x in Date.prototype.setMilliseconds) { if(x === "length") { $ERROR('#2: The Date.prototype.setMilliseconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T1.js b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T1.js index be9598291..346530ff4 100644 --- a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T1.js +++ b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.32_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setMinutes; +var x = Date.prototype.setMinutes; if(x === 1) Date.prototype.setMinutes = 2; else diff --git a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T3.js b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T3.js index 0fa71c9d5..4e24596bd 100644 --- a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T3.js +++ b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setMinutes')) { $ERROR('#1: The Date.prototype.setMinutes property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setMinutes") { $ERROR('#2: The Date.prototype.setMinutes has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T1.js b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T1.js index 78a278396..3caecaee1 100644 --- a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T1.js +++ b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.32_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setMinutes.length; diff --git a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T3.js b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T3.js index 786866793..14401bcb5 100644 --- a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T3.js +++ b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMinutes.length property has the attribute DontEnum'); } -for(x in Date.prototype.setMinutes) { +for(var x in Date.prototype.setMinutes) { if(x === "length") { $ERROR('#2: The Date.prototype.setMinutes.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T1.js b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T1.js index 0b4122367..2091f6893 100644 --- a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T1.js +++ b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.38_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setMonth; +var x = Date.prototype.setMonth; if(x === 1) Date.prototype.setMonth = 2; else diff --git a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T3.js b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T3.js index 39ebf2c0c..05d264e4c 100644 --- a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T3.js +++ b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setMonth')) { $ERROR('#1: The Date.prototype.setMonth property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setMonth") { $ERROR('#2: The Date.prototype.setMonth has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T1.js b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T1.js index 35dc05622..1dc158a92 100644 --- a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T1.js +++ b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.38_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setMonth.length; diff --git a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T3.js b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T3.js index ce86976c4..82d90e4c5 100644 --- a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T3.js +++ b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMonth.length property has the attribute DontEnum'); } -for(x in Date.prototype.setMonth) { +for(var x in Date.prototype.setMonth) { if(x === "length") { $ERROR('#2: The Date.prototype.setMonth.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T1.js b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T1.js index 54e479991..809d34ff3 100644 --- a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T1.js +++ b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.30_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setSeconds; +var x = Date.prototype.setSeconds; if(x === 1) Date.prototype.setSeconds = 2; else diff --git a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T3.js b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T3.js index 06888ea97..50200d728 100644 --- a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T3.js +++ b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setSeconds')) { $ERROR('#1: The Date.prototype.setSeconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setSeconds") { $ERROR('#2: The Date.prototype.setSeconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T1.js b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T1.js index 14d9b4001..fb655a8a6 100644 --- a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T1.js +++ b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.30_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setSeconds.length; diff --git a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T3.js b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T3.js index b7440d074..bb1626580 100644 --- a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T3.js +++ b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setSeconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.setSeconds) { +for(var x in Date.prototype.setSeconds) { if(x === "length") { $ERROR('#2: The Date.prototype.setSeconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T1.js b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T1.js index 6b46562d5..b25ca44e3 100644 --- a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T1.js +++ b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.27_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setTime; +var x = Date.prototype.setTime; if(x === 1) Date.prototype.setTime = 2; else diff --git a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T3.js b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T3.js index 0d32737e5..d32dd628a 100644 --- a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T3.js +++ b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setTime')) { $ERROR('#1: The Date.prototype.setTime property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setTime") { $ERROR('#2: The Date.prototype.setTime has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T1.js b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T1.js index 0b7d13d41..170b22289 100644 --- a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T1.js +++ b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.27_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setTime.length; diff --git a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T3.js b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T3.js index 34d159b16..3c452b0c0 100644 --- a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T3.js +++ b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setTime.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setTime.length property has the attribute DontEnum'); } -for(x in Date.prototype.setTime) { +for(var x in Date.prototype.setTime) { if(x === "length") { $ERROR('#2: The Date.prototype.setTime.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T1.js b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T1.js index cc01febea..609f66de7 100644 --- a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T1.js +++ b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.37_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setUTCDate; +var x = Date.prototype.setUTCDate; if(x === 1) Date.prototype.setUTCDate = 2; else diff --git a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T3.js b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T3.js index 4f06995fa..419271ea7 100644 --- a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T3.js +++ b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setUTCDate')) { $ERROR('#1: The Date.prototype.setUTCDate property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setUTCDate") { $ERROR('#2: The Date.prototype.setUTCDate has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T1.js b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T1.js index 0a6de61ed..97362346b 100644 --- a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T1.js +++ b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.37_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setUTCDate.length; diff --git a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T3.js b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T3.js index 1e6209371..7d03d1049 100644 --- a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T3.js +++ b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setUTCDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCDate.length property has the attribute DontEnum'); } -for(x in Date.prototype.setUTCDate) { +for(var x in Date.prototype.setUTCDate) { if(x === "length") { $ERROR('#2: The Date.prototype.setUTCDate.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T1.js b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T1.js index ff766eaac..0f1189ed0 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T1.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.41_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setUTCFullYear; +var x = Date.prototype.setUTCFullYear; if(x === 1) Date.prototype.setUTCFullYear = 2; else diff --git a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T3.js b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T3.js index eda85331c..6684e9d17 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T3.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setUTCFullYear')) { $ERROR('#1: The Date.prototype.setUTCFullYear property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setUTCFullYear") { $ERROR('#2: The Date.prototype.setUTCFullYear has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T1.js b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T1.js index c87f3efb8..f2ea0e687 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T1.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.41_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setUTCFullYear.length; diff --git a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T3.js b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T3.js index 69ec93c3a..a0b95cd8e 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T3.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setUTCFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCFullYear.length property has the attribute DontEnum'); } -for(x in Date.prototype.setUTCFullYear) { +for(var x in Date.prototype.setUTCFullYear) { if(x === "length") { $ERROR('#2: The Date.prototype.setUTCFullYear.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T1.js b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T1.js index 5f702b6e3..1b741b16b 100644 --- a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T1.js +++ b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.35_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setUTCHours; +var x = Date.prototype.setUTCHours; if(x === 1) Date.prototype.setUTCHours = 2; else diff --git a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T3.js b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T3.js index d913c38ac..5333b04b5 100644 --- a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T3.js +++ b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setUTCHours')) { $ERROR('#1: The Date.prototype.setUTCHours property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setUTCHours") { $ERROR('#2: The Date.prototype.setUTCHours has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T1.js b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T1.js index 6f2ec88f5..fea978f4e 100644 --- a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T1.js +++ b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.35_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setUTCHours.length; diff --git a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T3.js b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T3.js index 923482fed..a7866956a 100644 --- a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T3.js +++ b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setUTCHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCHours.length property has the attribute DontEnum'); } -for(x in Date.prototype.setUTCHours) { +for(var x in Date.prototype.setUTCHours) { if(x === "length") { $ERROR('#2: The Date.prototype.setUTCHours.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T1.js b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T1.js index d202b6b32..1402bdf0c 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T1.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T1.js @@ -9,7 +9,7 @@ es5id: 15.9.5.29_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setUTCMilliseconds; +var x = Date.prototype.setUTCMilliseconds; if(x === 1) Date.prototype.setUTCMilliseconds = 2; else diff --git a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T3.js b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T3.js index ac581bcb9..a240f92bd 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T3.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.propertyIsEnumerable('setUTCMilliseconds')) { $ERROR('#1: The Date.prototype.setUTCMilliseconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setUTCMilliseconds") { $ERROR('#2: The Date.prototype.setUTCMilliseconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T1.js b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T1.js index 6150ee888..ca89f11c8 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T1.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.29_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setUTCMilliseconds.length; diff --git a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T3.js b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T3.js index 14993e4b4..1eabd7a6f 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T3.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setUTCMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMilliseconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.setUTCMilliseconds) { +for(var x in Date.prototype.setUTCMilliseconds) { if(x === "length") { $ERROR('#2: The Date.prototype.setUTCMilliseconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T1.js b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T1.js index b00c28c26..42936c3cd 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T1.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.33_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setUTCMinutes; +var x = Date.prototype.setUTCMinutes; if(x === 1) Date.prototype.setUTCMinutes = 2; else diff --git a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T3.js b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T3.js index 06584c889..3102249f4 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T3.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setUTCMinutes')) { $ERROR('#1: The Date.prototype.setUTCMinutes property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setUTCMinutes") { $ERROR('#2: The Date.prototype.setUTCMinutes has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T1.js b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T1.js index 584d06585..cba299bcb 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T1.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.33_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setUTCMinutes.length; diff --git a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T3.js b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T3.js index c9e60981c..785525e7e 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T3.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setUTCMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMinutes.length property has the attribute DontEnum'); } -for(x in Date.prototype.setUTCMinutes) { +for(var x in Date.prototype.setUTCMinutes) { if(x === "length") { $ERROR('#2: The Date.prototype.setUTCMinutes.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js index 7aa7c2c14..890beefde 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js +++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.39_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setUTCMonth; +var x = Date.prototype.setUTCMonth; if(x === 1) Date.prototype.setUTCMonth = 2; else diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js index d972ec254..95eddfe94 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js +++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setUTCMonth')) { $ERROR('#1: The Date.prototype.setUTCMonth property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setUTCMonth") { $ERROR('#2: The Date.prototype.setUTCMonth has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T1.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T1.js index 9b00ac2fc..8979fe138 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T1.js +++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.39_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setUTCMonth.length; diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js index b0b8029aa..29f7fd60e 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js +++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setUTCMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMonth.length property has the attribute DontEnum'); } -for(x in Date.prototype.setUTCMonth) { +for(var x in Date.prototype.setUTCMonth) { if(x === "length") { $ERROR('#2: The Date.prototype.setUTCMonth.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T1.js b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T1.js index 0d82a883c..eb7e9a5c7 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T1.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.31_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.setUTCSeconds; +var x = Date.prototype.setUTCSeconds; if(x === 1) Date.prototype.setUTCSeconds = 2; else diff --git a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T3.js b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T3.js index 03f6b27e2..e7d745a98 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T3.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('setUTCSeconds')) { $ERROR('#1: The Date.prototype.setUTCSeconds property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "setUTCSeconds") { $ERROR('#2: The Date.prototype.setUTCSeconds has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T1.js b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T1.js index 57b40d3d3..59a0c073d 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T1.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.31_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.setUTCSeconds.length; diff --git a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T3.js b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T3.js index f64223b4f..366c5da58 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T3.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.setUTCSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCSeconds.length property has the attribute DontEnum'); } -for(x in Date.prototype.setUTCSeconds) { +for(var x in Date.prototype.setUTCSeconds) { if(x === "length") { $ERROR('#2: The Date.prototype.setUTCSeconds.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T1.js b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T1.js index 0f94d529b..0c30dca7d 100644 --- a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T1.js +++ b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.3_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.toDateString; +var x = Date.prototype.toDateString; if(x === 1) Date.prototype.toDateString = 2; else diff --git a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T3.js b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T3.js index 83ebe9d65..c64a42cdc 100644 --- a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T3.js +++ b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('toDateString')) { $ERROR('#1: The Date.prototype.toDateString property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "toDateString") { $ERROR('#2: The Date.prototype.toDateString has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T1.js b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T1.js index 1dea6e991..4b7b3ac24 100644 --- a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T1.js +++ b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.3_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.toDateString.length; diff --git a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T3.js b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T3.js index 65bde2b66..f451d8edb 100644 --- a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T3.js +++ b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.toDateString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toDateString.length property has the attribute DontEnum'); } -for(x in Date.prototype.toDateString) { +for(var x in Date.prototype.toDateString) { if(x === "length") { $ERROR('#2: The Date.prototype.toDateString.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T1.js b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T1.js index c0307da06..9d6284399 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T1.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T1.js @@ -9,7 +9,7 @@ es5id: 15.9.5.6_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.toLocaleDateString; +var x = Date.prototype.toLocaleDateString; if(x === 1) Date.prototype.toLocaleDateString = 2; else diff --git a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T3.js b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T3.js index 01c0c37db..06a7289d8 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T3.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.propertyIsEnumerable('toLocaleDateString')) { $ERROR('#1: The Date.prototype.toLocaleDateString property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "toLocaleDateString") { $ERROR('#2: The Date.prototype.toLocaleDateString has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T1.js b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T1.js index fbec35864..127061c16 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T1.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.6_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.toLocaleDateString.length; diff --git a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T3.js b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T3.js index a6ebdcfb7..1e24bc216 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T3.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.toLocaleDateString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleDateString.length property has the attribute DontEnum'); } -for(x in Date.prototype.toLocaleDateString) { +for(var x in Date.prototype.toLocaleDateString) { if(x === "length") { $ERROR('#2: The Date.prototype.toLocaleDateString.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T1.js b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T1.js index 074d997bb..8a4648bb1 100644 --- a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T1.js +++ b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.5_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.toLocaleString; +var x = Date.prototype.toLocaleString; if(x === 1) Date.prototype.toLocaleString = 2; else diff --git a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T3.js b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T3.js index c702bf366..e0bff03fb 100644 --- a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T3.js +++ b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('toLocaleString')) { $ERROR('#1: The Date.prototype.toLocaleString property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "toLocaleString") { $ERROR('#2: The Date.prototype.toLocaleString has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T1.js b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T1.js index 573b5542b..c7c3b052c 100644 --- a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T1.js +++ b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.5_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.toLocaleString.length; diff --git a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T3.js b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T3.js index 0b1ead4a0..097112efd 100644 --- a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T3.js +++ b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.toLocaleString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleString.length property has the attribute DontEnum'); } -for(x in Date.prototype.toLocaleString) { +for(var x in Date.prototype.toLocaleString) { if(x === "length") { $ERROR('#2: The Date.prototype.toLocaleString.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T1.js b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T1.js index 3cd3b93c7..08bdbd4dd 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T1.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T1.js @@ -9,7 +9,7 @@ es5id: 15.9.5.7_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.toLocaleTimeString; +var x = Date.prototype.toLocaleTimeString; if(x === 1) Date.prototype.toLocaleTimeString = 2; else diff --git a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T3.js b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T3.js index 943654e88..2b1805c9b 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T3.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.propertyIsEnumerable('toLocaleTimeString')) { $ERROR('#1: The Date.prototype.toLocaleTimeString property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "toLocaleTimeString") { $ERROR('#2: The Date.prototype.toLocaleTimeString has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T1.js b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T1.js index 9527abc0d..d216416b4 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T1.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.7_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.toLocaleTimeString.length; diff --git a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T3.js b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T3.js index 0b88614a7..d42cd5403 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T3.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.toLocaleTimeString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleTimeString.length property has the attribute DontEnum'); } -for(x in Date.prototype.toLocaleTimeString) { +for(var x in Date.prototype.toLocaleTimeString) { if(x === "length") { $ERROR('#2: The Date.prototype.toLocaleTimeString.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T1.js b/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T1.js index 17c778def..be40ae6e0 100644 --- a/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T1.js +++ b/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.2_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.toString; +var x = Date.prototype.toString; if(x === 1) Date.prototype.toString = 2; else diff --git a/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T3.js b/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T3.js index 370a87fea..6b78b814f 100644 --- a/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T3.js +++ b/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('toString')) { $ERROR('#1: The Date.prototype.toString property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "toString") { $ERROR('#2: The Date.prototype.toString has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T1.js b/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T1.js index 1221783da..36184f600 100644 --- a/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T1.js +++ b/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.2_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.toString.length; diff --git a/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T3.js b/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T3.js index a4f31f278..d9f818e1f 100644 --- a/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T3.js +++ b/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.toString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toString.length property has the attribute DontEnum'); } -for(x in Date.prototype.toString) { +for(var x in Date.prototype.toString) { if(x === "length") { $ERROR('#2: The Date.prototype.toString.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T1.js b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T1.js index fb0d0a0b3..c3cd74e2a 100644 --- a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T1.js +++ b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.4_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.toTimeString; +var x = Date.prototype.toTimeString; if(x === 1) Date.prototype.toTimeString = 2; else diff --git a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T3.js b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T3.js index 6b9bd3816..65cd6b5ba 100644 --- a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T3.js +++ b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('toTimeString')) { $ERROR('#1: The Date.prototype.toTimeString property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "toTimeString") { $ERROR('#2: The Date.prototype.toTimeString has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T1.js b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T1.js index c81fb5181..ca723dbc3 100644 --- a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T1.js +++ b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.4_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.toTimeString.length; diff --git a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T3.js b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T3.js index bee1613dd..40e180521 100644 --- a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T3.js +++ b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.toTimeString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toTimeString.length property has the attribute DontEnum'); } -for(x in Date.prototype.toTimeString) { +for(var x in Date.prototype.toTimeString) { if(x === "length") { $ERROR('#2: The Date.prototype.toTimeString.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T1.js b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T1.js index 79b5a337a..d4da63e3f 100644 --- a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T1.js +++ b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.42_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.toUTCString; +var x = Date.prototype.toUTCString; if(x === 1) Date.prototype.toUTCString = 2; else diff --git a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T3.js b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T3.js index c0e17f390..1c714cdc0 100644 --- a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T3.js +++ b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('toUTCString')) { $ERROR('#1: The Date.prototype.toUTCString property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "toUTCString") { $ERROR('#2: The Date.prototype.toUTCString has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T1.js b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T1.js index 4350689ef..378ac27b4 100644 --- a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T1.js +++ b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T1.js @@ -7,6 +7,7 @@ info: > DontDelete, DontEnum } attributes es5id: 15.9.5.42_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.toUTCString.length; diff --git a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T3.js b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T3.js index 8fd365de8..5f1f82768 100644 --- a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T3.js +++ b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.toUTCString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toUTCString.length property has the attribute DontEnum'); } -for(x in Date.prototype.toUTCString) { +for(var x in Date.prototype.toUTCString) { if(x === "length") { $ERROR('#2: The Date.prototype.toUTCString.length has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T1.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T1.js index 41fe6b943..28304e073 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T1.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T1.js @@ -7,7 +7,7 @@ es5id: 15.9.5.8_A1_T1 description: Checking absence of ReadOnly attribute ---*/ -x = Date.prototype.valueOf; +var x = Date.prototype.valueOf; if(x === 1) Date.prototype.valueOf = 2; else diff --git a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js index b865982d9..ce8d695ea 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('valueOf')) { $ERROR('#1: The Date.prototype.valueOf property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "valueOf") { $ERROR('#2: The Date.prototype.valueOf has the attribute DontEnum'); } diff --git a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T1.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T1.js index 9a3904a49..fdd237daa 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T1.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T1.js @@ -7,6 +7,7 @@ info: > DontEnum } attributes es5id: 15.9.5.8_A3_T1 description: Checking ReadOnly attribute +flags: [noStrict] ---*/ x = Date.prototype.valueOf.length; diff --git a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T3.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T3.js index 8543a44aa..8a202aa42 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T3.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.valueOf.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.valueOf.length property has the attribute DontEnum'); } -for(x in Date.prototype.valueOf) { +for(var x in Date.prototype.valueOf) { if(x === "length") { $ERROR('#2: The Date.prototype.valueOf.length has the attribute DontEnum'); } |