From 07fa78d6772e53e7a9d00105a5d8af17987c731e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 29 Apr 2015 17:37:58 +0200 Subject: [PATCH] Fix strict mode errors in built-ins/Date Add missing "var" declarations and noStrict flags. Part of issue #35. --- test/built-ins/Date/UTC/S15.9.4.3_A1_T1.js | 2 +- test/built-ins/Date/UTC/S15.9.4.3_A1_T3.js | 2 +- test/built-ins/Date/UTC/S15.9.4.3_A3_T1.js | 1 + test/built-ins/Date/UTC/S15.9.4.3_A3_T3.js | 2 +- test/built-ins/Date/parse/S15.9.4.2_A1_T1.js | 2 +- test/built-ins/Date/parse/S15.9.4.2_A1_T3.js | 2 +- test/built-ins/Date/parse/S15.9.4.2_A3_T1.js | 1 + test/built-ins/Date/parse/S15.9.4.2_A3_T3.js | 2 +- test/built-ins/Date/prototype/S15.9.4.1_A1_T1.js | 1 + test/built-ins/Date/prototype/S15.9.4.1_A1_T2.js | 1 + test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js | 2 +- test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T1.js | 2 +- test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T3.js | 2 +- test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T1.js | 1 + test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js | 2 +- test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T1.js | 2 +- test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T3.js | 2 +- test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T1.js | 1 + test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T3.js | 2 +- test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T1.js | 2 +- test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T3.js | 2 +- test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T1.js | 1 + test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T3.js | 2 +- test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T1.js | 2 +- test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T3.js | 2 +- test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T1.js | 1 + test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js | 2 +- test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T1.js | 2 +- test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T3.js | 2 +- test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T1.js | 1 + test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T3.js | 2 +- .../Date/prototype/getMilliseconds/S15.9.5.24_A1_T1.js | 2 +- .../Date/prototype/getMilliseconds/S15.9.5.24_A1_T3.js | 2 +- .../Date/prototype/getMilliseconds/S15.9.5.24_A3_T1.js | 1 + .../Date/prototype/getMilliseconds/S15.9.5.24_A3_T3.js | 2 +- test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T1.js | 2 +- test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T3.js | 2 +- test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T1.js | 1 + test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T3.js | 2 +- test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T1.js | 2 +- test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T3.js | 2 +- test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T1.js | 1 + test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T3.js | 2 +- test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T1.js | 2 +- test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T3.js | 2 +- test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T1.js | 1 + test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T3.js | 2 +- test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T1.js | 2 +- test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T3.js | 2 +- test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T1.js | 1 + test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T3.js | 2 +- .../Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T1.js | 2 +- .../Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T3.js | 2 +- .../Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T1.js | 1 + .../Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T3.js | 2 +- test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T1.js | 2 +- test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T3.js | 2 +- test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T1.js | 1 + test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T3.js | 2 +- test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T1.js | 2 +- test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T3.js | 2 +- test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T1.js | 1 + test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T3.js | 2 +- .../built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T1.js | 2 +- .../built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js | 2 +- .../built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T1.js | 1 + .../built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T3.js | 2 +- test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T1.js | 2 +- test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T3.js | 2 +- test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T1.js | 1 + test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T3.js | 2 +- .../Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T1.js | 2 +- .../Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T3.js | 2 +- .../Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T1.js | 1 + .../Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T3.js | 2 +- test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T1.js | 2 +- test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T3.js | 2 +- test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T1.js | 1 + test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T3.js | 2 +- test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T1.js | 2 +- test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T3.js | 2 +- test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T1.js | 1 + test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T3.js | 2 +- test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T1.js | 2 +- test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T3.js | 2 +- test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T1.js | 1 + test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T3.js | 2 +- test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T1.js | 2 +- test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T3.js | 2 +- test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T1.js | 1 + test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T3.js | 2 +- test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T1.js | 2 +- test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T3.js | 2 +- test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T1.js | 1 + test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T3.js | 2 +- test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T1.js | 2 +- test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T3.js | 2 +- test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T1.js | 1 + test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T3.js | 2 +- .../Date/prototype/setMilliseconds/S15.9.5.28_A1_T1.js | 2 +- .../Date/prototype/setMilliseconds/S15.9.5.28_A1_T3.js | 2 +- .../Date/prototype/setMilliseconds/S15.9.5.28_A3_T1.js | 1 + .../Date/prototype/setMilliseconds/S15.9.5.28_A3_T3.js | 2 +- test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T1.js | 2 +- test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T3.js | 2 +- test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T1.js | 1 + test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T3.js | 2 +- test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T1.js | 2 +- test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T3.js | 2 +- test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T1.js | 1 + test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T3.js | 2 +- test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T1.js | 2 +- test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T3.js | 2 +- test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T1.js | 1 + test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T3.js | 2 +- test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T1.js | 2 +- test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T3.js | 2 +- test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T1.js | 1 + test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T3.js | 2 +- test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T1.js | 2 +- test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T3.js | 2 +- test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T1.js | 1 + test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T3.js | 2 +- .../built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T1.js | 2 +- .../built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T3.js | 2 +- .../built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T1.js | 1 + .../built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T3.js | 2 +- test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T1.js | 2 +- test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T3.js | 2 +- test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T1.js | 1 + test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T3.js | 2 +- .../Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T1.js | 2 +- .../Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T3.js | 2 +- .../Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T1.js | 1 + .../Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T3.js | 2 +- test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T1.js | 2 +- test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T3.js | 2 +- test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T1.js | 1 + test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T3.js | 2 +- test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js | 2 +- test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js | 2 +- test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T1.js | 1 + test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js | 2 +- test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T1.js | 2 +- test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T3.js | 2 +- test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T1.js | 1 + test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T3.js | 2 +- test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T1.js | 2 +- test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T3.js | 2 +- test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T1.js | 1 + test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T3.js | 2 +- .../Date/prototype/toLocaleDateString/S15.9.5.6_A1_T1.js | 2 +- .../Date/prototype/toLocaleDateString/S15.9.5.6_A1_T3.js | 2 +- .../Date/prototype/toLocaleDateString/S15.9.5.6_A3_T1.js | 1 + .../Date/prototype/toLocaleDateString/S15.9.5.6_A3_T3.js | 2 +- test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T1.js | 2 +- test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T3.js | 2 +- test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T1.js | 1 + test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T3.js | 2 +- .../Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T1.js | 2 +- .../Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T3.js | 2 +- .../Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T1.js | 1 + .../Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T3.js | 2 +- test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T1.js | 2 +- test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T3.js | 2 +- test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T1.js | 1 + test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T3.js | 2 +- test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T1.js | 2 +- test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T3.js | 2 +- test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T1.js | 1 + test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T3.js | 2 +- test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T1.js | 2 +- test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T3.js | 2 +- test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T1.js | 1 + test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T3.js | 2 +- test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T1.js | 2 +- test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js | 2 +- test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T1.js | 1 + test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T3.js | 2 +- 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 d41b70efdf..7da3fa94e1 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 2c4c811c67..52097bbc23 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 b8221b6b41..d21ad9dfc9 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 7f0c0d3cdf..7cd0a0e160 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 46addf72db..f0ab4cdec6 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 3f2c15d4fd..1412faf422 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 e6cfebdc98..920571356c 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 f2798fab4a..a0505ef4e3 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 70304c2674..1113f1cdb0 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 34b4507b1a..66cffbf49c 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 df80775d57..c82768194b 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 5d2cffc322..97bbb409a6 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 96de6b5488..13ec9e3229 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 0c70910f56..88e191f80b 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 02cb90609a..acab8063ba 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 9d19cc8d04..ab93698ea1 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 689f82e5d7..a49fed1ef9 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 d9f5515bf7..039948888a 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 35fb27a5e6..5bba931a8d 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 8a684e38aa..e22f0194db 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 ceb1a8b9b6..df4379492f 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 1d581dae59..767579e4a3 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 a38d352f29..e8010d2973 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 bbd9c7c9e7..31de2be4dd 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 d981fb80b0..1b6a0b9361 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 7dd432d1f3..c0ec890478 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 25a64b6f22..67abb5e4fc 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 17f4c0da02..2545dc9af0 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 295934ee8a..1ab1fb0cf8 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 d63701ba4f..556323d1de 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 00df3f95dc..8a0a49b238 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 475e1157ee..6d815ce461 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 82c9cfff4e..9fc54b5b8e 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 a98fd95003..fe1ecd8ee8 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 2f364d285a..a4b75439f6 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 57b8a159aa..3948096237 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 f407d5c70b..da508b1463 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 08c2dc9e3e..10cde1ca5f 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 238665a87b..c3d9971dc4 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 53bb0632d0..7b375300ea 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 46a94382fb..8c20803740 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 2b73c282f8..2c65e30b6a 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 241d6da436..8c01f2c32a 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 c68b10bc28..bbd2f35f5c 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 d91628c883..0733709e8c 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 4ac5a5041d..c5b790c046 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 112303bf2f..9545e1f978 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 3a8d8bf588..2161b93656 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 498b154376..6f4f94cd52 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 8f246a799d..6034ff9be6 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 3d60b60b3c..e63293d0ad 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 6f979a460e..ab36f0ef9a 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 4e6808e303..4fbac62c3c 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 e09365ec65..09b0df7b8d 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 0ce89003aa..a489f3a756 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 626a3f8582..a9df5b6226 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 3d4668397f..50b717f7a1 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 126e78c264..667d3a0692 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 89d2c56cd0..9dfb203438 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 c496a57856..73768f8dce 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 a4dafbbe23..6225556dc8 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 896fa7ee4a..f1c668e8c1 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 8f3ac2280a..49b317ce96 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 516f95e997..eef2b59c8d 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 dbd5062c74..8d40078e5a 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 613d2c4731..18cd31ff86 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 112d3139e1..6d1f21d0d4 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 03c0d40471..afb6f4622b 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 0a362c2c52..c43f37c6d6 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 d0a8f7623b..6cc63fa0fe 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 3fc0377ea7..2e69760e7d 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 305c48a548..45976c094f 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 9b5581cb0b..83e8c56148 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 beceb40a71..397f11816a 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 54c29897f3..b0021564af 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 f477d1bf7e..7628c7fbe0 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 dbdefe1a0b..000142ef4c 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 3224d217d9..e642dfdef7 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 fea8ff75f0..24cf476c81 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 5d38f1346d..07f7178a6b 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 36e93f9100..2412f3efcb 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 5cae018672..f2b03bea2f 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 ced5434958..667b5ed950 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 dee236e0a1..a4223822cf 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 910b6d9be8..bb7c611900 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 dc3f195a12..0c5cf3fda5 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 9bcad90f61..619cdf82e0 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 5bac4b5baa..2f55d20702 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 a7d27000f8..25ae9b1864 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 7269936500..951643f302 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 02cc08ddb1..1980bfa140 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 89ee1e09c6..6615da4832 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 f17124a9af..9ae1733d34 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 43e0510441..cbd1b11a2e 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 b6866b82cf..8963c8ccb1 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 8b1b812dc3..26bc8ec902 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 e9774ac85f..89f74e1e5a 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 98cbad79ea..7ff13e4893 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 f6208e0fa9..3f4b0d7535 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 0c697d0e42..60f145a771 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 61a12c564b..98bc24eee4 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 812e2ecc50..a9ebc7802a 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 55ec5a96b5..78e3e26010 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 be9598291d..346530ff4f 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 0fa71c9d5f..4e24596bdc 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 78a2783966..3caecaee15 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 786866793c..14401bcb56 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 0b41223670..2091f6893d 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 39ebf2c0cf..05d264e4c7 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 35dc05622e..1dc158a92c 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 ce86976c46..82d90e4c53 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 54e479991d..809d34ff3d 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 06888ea975..50200d7281 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 14d9b4001f..fb655a8a65 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 b7440d0740..bb16265800 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 6b46562d5a..b25ca44e33 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 0d32737e5e..d32dd628ad 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 0b7d13d417..170b222899 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 34d159b165..3c452b0c0f 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 cc01febead..609f66de70 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 4f06995fa0..419271ea74 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 0a6de61ed2..97362346bb 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 1e62093713..7d03d10492 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 ff766eaac8..0f1189ed06 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 eda85331c5..6684e9d175 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 c87f3efb8f..f2ea0e6878 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 69ec93c3a5..a0b95cd8e0 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 5f702b6e38..1b741b16bb 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 d913c38ac2..5333b04b53 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 6f2ec88f51..fea978f4e8 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 923482fedb..a7866956af 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 d202b6b329..1402bdf0c2 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 ac581bcb97..a240f92bd1 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 6150ee8887..ca89f11c8c 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 14993e4b49..1eabd7a6f7 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 b00c28c26c..42936c3cd7 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 06584c889f..3102249f4a 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 584d065852..cba299bcb4 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 c9e60981cd..785525e7ee 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 7aa7c2c149..890beefde1 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 d972ec254e..95eddfe948 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 9b00ac2fcf..8979fe138e 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 b0b8029aa8..29f7fd60ec 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 0d82a883c0..eb7e9a5c76 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 03f6b27e26..e7d745a989 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 57b40d3d36..59a0c073d8 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 f64223b4f7..366c5da589 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 0f94d529b6..0c30dca7d0 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 83ebe9d65a..c64a42cdc3 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 1dea6e9916..4b7b3ac24e 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 65bde2b66e..f451d8edbe 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 c0307da06e..9d6284399c 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 01c0c37dba..06a7289d83 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 fbec358640..127061c169 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 a6ebdcfb79..1e24bc2165 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 074d997bb8..8a4648bb14 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 c702bf3666..e0bff03fbf 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 573b5542b9..c7c3b052c0 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 0b1ead4a03..097112efdf 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 3cd3b93c73..08bdbd4dd3 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 943654e883..2b1805c9b8 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 9527abc0d0..d216416b4e 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 0b88614a7d..d42cd54037 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 17c778def2..be40ae6e02 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 370a87fea1..6b78b814f4 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 1221783dad..36184f6005 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 a4f31f2784..d9f818e1fb 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 fb0d0a0b38..c3cd74e2a3 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 6b9bd38165..65cd6b5baa 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 c81fb51810..ca723dbc3e 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 bee1613dd3..40e1805218 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 79b5a337a3..d4da63e3fc 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 c0e17f3903..1c714cdc03 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 4350689ef8..378ac27b46 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 8fd365de8b..5f1f82768e 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 41fe6b943a..28304e073c 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 b865982d90..ce8d695ea5 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 9a3904a49a..fdd237daa7 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 8543a44aa4..8a202aa424 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'); }