From b59d956b3c268abd0875aeb87d6688f4c7aafc9b Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 15 Feb 2018 16:40:26 -0500 Subject: [PATCH] built-ins/Date/*: make all indentation consistent (depth & character) (#1422) --- test/built-ins/Date/15.9.1.15-1.js | 10 ++-- test/built-ins/Date/S15.9.2.1_A1.js | 56 +++++++++---------- test/built-ins/Date/S15.9.2.1_A2.js | 28 +++++----- test/built-ins/Date/S15.9.3.1_A1_T1.js | 48 ++++++++-------- test/built-ins/Date/S15.9.3.1_A1_T2.js | 48 ++++++++-------- test/built-ins/Date/S15.9.3.1_A1_T3.js | 48 ++++++++-------- test/built-ins/Date/S15.9.3.1_A1_T4.js | 48 ++++++++-------- test/built-ins/Date/S15.9.3.1_A1_T5.js | 48 ++++++++-------- test/built-ins/Date/S15.9.3.1_A1_T6.js | 48 ++++++++-------- test/built-ins/Date/S15.9.3.1_A2_T1.js | 24 ++++---- test/built-ins/Date/S15.9.3.1_A2_T2.js | 24 ++++---- test/built-ins/Date/S15.9.3.1_A2_T3.js | 24 ++++---- test/built-ins/Date/S15.9.3.1_A2_T4.js | 24 ++++---- test/built-ins/Date/S15.9.3.1_A2_T5.js | 24 ++++---- test/built-ins/Date/S15.9.3.1_A2_T6.js | 24 ++++---- test/built-ins/Date/S15.9.3.1_A4_T1.js | 22 +++++--- test/built-ins/Date/S15.9.3.1_A4_T2.js | 28 ++++++---- test/built-ins/Date/S15.9.3.1_A4_T3.js | 34 ++++++----- test/built-ins/Date/S15.9.3.1_A4_T4.js | 40 +++++++------ test/built-ins/Date/S15.9.3.1_A4_T5.js | 46 ++++++++------- test/built-ins/Date/S15.9.3.1_A4_T6.js | 52 +++++++++-------- test/built-ins/Date/S15.9.3.1_A5_T1.js | 2 +- test/built-ins/Date/S15.9.3.1_A6_T1.js | 2 +- test/built-ins/Date/S15.9.3.1_A6_T2.js | 2 +- test/built-ins/Date/S15.9.3.1_A6_T3.js | 2 +- test/built-ins/Date/S15.9.3.1_A6_T4.js | 2 +- test/built-ins/Date/S15.9.3.1_A6_T5.js | 2 +- test/built-ins/Date/S15.9.3.2_A1_T1.js | 32 +++++------ test/built-ins/Date/S15.9.3.2_A2_T1.js | 16 +++--- test/built-ins/Date/S15.9.4_A1.js | 2 +- test/built-ins/Date/S15.9.4_A2.js | 2 +- test/built-ins/Date/S15.9.4_A3.js | 2 +- test/built-ins/Date/S15.9.4_A5.js | 2 +- test/built-ins/Date/UTC/S15.9.4.3_A1_T1.js | 2 +- test/built-ins/Date/UTC/S15.9.4.3_A1_T2.js | 2 +- test/built-ins/Date/UTC/S15.9.4.3_A1_T3.js | 4 +- test/built-ins/Date/UTC/S15.9.4.3_A2_T1.js | 4 +- test/built-ins/Date/UTC/S15.9.4.3_A3_T2.js | 2 +- test/built-ins/Date/UTC/S15.9.4.3_A3_T3.js | 4 +- test/built-ins/Date/now/15.9.4.4-0-3.js | 4 +- test/built-ins/Date/parse/S15.9.4.2_A1_T1.js | 2 +- test/built-ins/Date/parse/S15.9.4.2_A1_T2.js | 2 +- test/built-ins/Date/parse/S15.9.4.2_A1_T3.js | 4 +- test/built-ins/Date/parse/S15.9.4.2_A2_T1.js | 4 +- test/built-ins/Date/parse/S15.9.4.2_A3_T2.js | 2 +- test/built-ins/Date/parse/S15.9.4.2_A3_T3.js | 4 +- .../Date/prototype/S15.9.4.1_A1_T3.js | 4 +- .../Date/prototype/S15.9.5_A01_T1.js | 2 +- .../Date/prototype/S15.9.5_A02_T1.js | 2 +- .../Date/prototype/S15.9.5_A03_T1.js | 2 +- .../Date/prototype/S15.9.5_A04_T1.js | 2 +- .../Date/prototype/S15.9.5_A05_T1.js | 2 +- .../Date/prototype/S15.9.5_A06_T1.js | 2 +- .../Date/prototype/S15.9.5_A07_T1.js | 2 +- .../Date/prototype/S15.9.5_A08_T1.js | 2 +- .../Date/prototype/S15.9.5_A09_T1.js | 2 +- .../Date/prototype/S15.9.5_A10_T1.js | 2 +- .../Date/prototype/S15.9.5_A11_T1.js | 2 +- .../Date/prototype/S15.9.5_A12_T1.js | 2 +- .../Date/prototype/S15.9.5_A13_T1.js | 2 +- .../Date/prototype/S15.9.5_A14_T1.js | 2 +- .../Date/prototype/S15.9.5_A15_T1.js | 2 +- .../Date/prototype/S15.9.5_A16_T1.js | 2 +- .../Date/prototype/S15.9.5_A17_T1.js | 2 +- .../Date/prototype/S15.9.5_A18_T1.js | 2 +- .../Date/prototype/S15.9.5_A19_T1.js | 2 +- .../Date/prototype/S15.9.5_A20_T1.js | 2 +- .../Date/prototype/S15.9.5_A21_T1.js | 2 +- .../Date/prototype/S15.9.5_A22_T1.js | 2 +- .../Date/prototype/S15.9.5_A23_T1.js | 2 +- .../Date/prototype/S15.9.5_A24_T1.js | 2 +- .../Date/prototype/S15.9.5_A25_T1.js | 2 +- .../Date/prototype/S15.9.5_A26_T1.js | 2 +- .../Date/prototype/S15.9.5_A27_T1.js | 2 +- .../Date/prototype/S15.9.5_A28_T1.js | 2 +- .../Date/prototype/S15.9.5_A29_T1.js | 2 +- .../Date/prototype/S15.9.5_A30_T1.js | 2 +- .../Date/prototype/S15.9.5_A31_T1.js | 2 +- .../Date/prototype/S15.9.5_A32_T1.js | 2 +- .../Date/prototype/S15.9.5_A33_T1.js | 2 +- .../Date/prototype/S15.9.5_A34_T1.js | 2 +- .../Date/prototype/S15.9.5_A35_T1.js | 2 +- .../Date/prototype/S15.9.5_A36_T1.js | 2 +- .../Date/prototype/S15.9.5_A37_T1.js | 2 +- .../Date/prototype/S15.9.5_A38_T1.js | 2 +- .../Date/prototype/S15.9.5_A39_T1.js | 2 +- .../Date/prototype/S15.9.5_A40_T1.js | 2 +- .../Date/prototype/S15.9.5_A41_T1.js | 2 +- .../Date/prototype/S15.9.5_A42_T1.js | 2 +- .../Symbol.toPrimitive/hint-invalid.js | 6 +- .../prototype/constructor/S15.9.5.1_A1_T1.js | 2 +- .../prototype/constructor/S15.9.5.1_A1_T2.js | 2 +- .../prototype/constructor/S15.9.5.1_A1_T3.js | 4 +- .../prototype/constructor/S15.9.5.1_A2_T1.js | 4 +- .../prototype/constructor/S15.9.5.1_A3_T2.js | 2 +- .../prototype/constructor/S15.9.5.1_A3_T3.js | 4 +- .../prototype/getDate/S15.9.5.14_A1_T1.js | 2 +- .../prototype/getDate/S15.9.5.14_A1_T2.js | 2 +- .../prototype/getDate/S15.9.5.14_A1_T3.js | 4 +- .../prototype/getDate/S15.9.5.14_A2_T1.js | 4 +- .../prototype/getDate/S15.9.5.14_A3_T2.js | 2 +- .../prototype/getDate/S15.9.5.14_A3_T3.js | 4 +- .../prototype/getDate/this-value-non-date.js | 4 +- .../Date/prototype/getDay/S15.9.5.16_A1_T1.js | 2 +- .../Date/prototype/getDay/S15.9.5.16_A1_T2.js | 2 +- .../Date/prototype/getDay/S15.9.5.16_A1_T3.js | 4 +- .../Date/prototype/getDay/S15.9.5.16_A2_T1.js | 4 +- .../Date/prototype/getDay/S15.9.5.16_A3_T2.js | 2 +- .../Date/prototype/getDay/S15.9.5.16_A3_T3.js | 4 +- .../prototype/getDay/this-value-non-date.js | 4 +- .../prototype/getFullYear/S15.9.5.10_A1_T1.js | 2 +- .../prototype/getFullYear/S15.9.5.10_A1_T2.js | 2 +- .../prototype/getFullYear/S15.9.5.10_A1_T3.js | 4 +- .../prototype/getFullYear/S15.9.5.10_A2_T1.js | 4 +- .../prototype/getFullYear/S15.9.5.10_A3_T2.js | 2 +- .../prototype/getFullYear/S15.9.5.10_A3_T3.js | 4 +- .../getFullYear/this-value-non-date.js | 4 +- .../prototype/getHours/S15.9.5.18_A1_T1.js | 2 +- .../prototype/getHours/S15.9.5.18_A1_T2.js | 2 +- .../prototype/getHours/S15.9.5.18_A1_T3.js | 4 +- .../prototype/getHours/S15.9.5.18_A2_T1.js | 4 +- .../prototype/getHours/S15.9.5.18_A3_T2.js | 2 +- .../prototype/getHours/S15.9.5.18_A3_T3.js | 4 +- .../prototype/getHours/this-value-non-date.js | 4 +- .../getMilliseconds/S15.9.5.24_A1_T1.js | 2 +- .../getMilliseconds/S15.9.5.24_A1_T2.js | 2 +- .../getMilliseconds/S15.9.5.24_A1_T3.js | 4 +- .../getMilliseconds/S15.9.5.24_A2_T1.js | 4 +- .../getMilliseconds/S15.9.5.24_A3_T2.js | 2 +- .../getMilliseconds/S15.9.5.24_A3_T3.js | 4 +- .../getMilliseconds/this-value-non-date.js | 4 +- .../prototype/getMinutes/S15.9.5.20_A1_T1.js | 2 +- .../prototype/getMinutes/S15.9.5.20_A1_T2.js | 2 +- .../prototype/getMinutes/S15.9.5.20_A1_T3.js | 4 +- .../prototype/getMinutes/S15.9.5.20_A2_T1.js | 4 +- .../prototype/getMinutes/S15.9.5.20_A3_T2.js | 2 +- .../prototype/getMinutes/S15.9.5.20_A3_T3.js | 4 +- .../getMinutes/this-value-non-date.js | 4 +- .../prototype/getMonth/S15.9.5.12_A1_T1.js | 2 +- .../prototype/getMonth/S15.9.5.12_A1_T2.js | 2 +- .../prototype/getMonth/S15.9.5.12_A1_T3.js | 4 +- .../prototype/getMonth/S15.9.5.12_A2_T1.js | 4 +- .../prototype/getMonth/S15.9.5.12_A3_T2.js | 2 +- .../prototype/getMonth/S15.9.5.12_A3_T3.js | 4 +- .../prototype/getMonth/this-value-non-date.js | 4 +- .../prototype/getSeconds/S15.9.5.22_A1_T1.js | 2 +- .../prototype/getSeconds/S15.9.5.22_A1_T2.js | 2 +- .../prototype/getSeconds/S15.9.5.22_A1_T3.js | 4 +- .../prototype/getSeconds/S15.9.5.22_A2_T1.js | 4 +- .../prototype/getSeconds/S15.9.5.22_A3_T2.js | 2 +- .../prototype/getSeconds/S15.9.5.22_A3_T3.js | 4 +- .../getSeconds/this-value-non-date.js | 4 +- .../Date/prototype/getTime/S15.9.5.9_A1_T1.js | 2 +- .../Date/prototype/getTime/S15.9.5.9_A1_T2.js | 2 +- .../Date/prototype/getTime/S15.9.5.9_A1_T3.js | 4 +- .../Date/prototype/getTime/S15.9.5.9_A2_T1.js | 4 +- .../Date/prototype/getTime/S15.9.5.9_A3_T2.js | 2 +- .../Date/prototype/getTime/S15.9.5.9_A3_T3.js | 4 +- .../prototype/getTime/this-value-non-date.js | 4 +- .../getTimezoneOffset/S15.9.5.26_A1_T1.js | 2 +- .../getTimezoneOffset/S15.9.5.26_A1_T2.js | 2 +- .../getTimezoneOffset/S15.9.5.26_A1_T3.js | 4 +- .../getTimezoneOffset/S15.9.5.26_A2_T1.js | 4 +- .../getTimezoneOffset/S15.9.5.26_A3_T2.js | 2 +- .../getTimezoneOffset/S15.9.5.26_A3_T3.js | 4 +- .../getTimezoneOffset/this-value-non-date.js | 4 +- .../prototype/getUTCDate/S15.9.5.15_A1_T1.js | 2 +- .../prototype/getUTCDate/S15.9.5.15_A1_T2.js | 2 +- .../prototype/getUTCDate/S15.9.5.15_A1_T3.js | 4 +- .../prototype/getUTCDate/S15.9.5.15_A2_T1.js | 4 +- .../prototype/getUTCDate/S15.9.5.15_A3_T2.js | 2 +- .../prototype/getUTCDate/S15.9.5.15_A3_T3.js | 4 +- .../getUTCDate/this-value-non-date.js | 4 +- .../prototype/getUTCDay/S15.9.5.17_A1_T1.js | 2 +- .../prototype/getUTCDay/S15.9.5.17_A1_T2.js | 2 +- .../prototype/getUTCDay/S15.9.5.17_A1_T3.js | 4 +- .../prototype/getUTCDay/S15.9.5.17_A2_T1.js | 4 +- .../prototype/getUTCDay/S15.9.5.17_A3_T2.js | 2 +- .../prototype/getUTCDay/S15.9.5.17_A3_T3.js | 4 +- .../getUTCDay/this-value-non-date.js | 4 +- .../getUTCFullYear/S15.9.5.11_A1_T1.js | 2 +- .../getUTCFullYear/S15.9.5.11_A1_T2.js | 2 +- .../getUTCFullYear/S15.9.5.11_A1_T3.js | 4 +- .../getUTCFullYear/S15.9.5.11_A2_T1.js | 4 +- .../getUTCFullYear/S15.9.5.11_A3_T2.js | 2 +- .../getUTCFullYear/S15.9.5.11_A3_T3.js | 4 +- .../getUTCFullYear/this-value-non-date.js | 4 +- .../prototype/getUTCHours/S15.9.5.19_A1_T1.js | 2 +- .../prototype/getUTCHours/S15.9.5.19_A1_T2.js | 2 +- .../prototype/getUTCHours/S15.9.5.19_A1_T3.js | 4 +- .../prototype/getUTCHours/S15.9.5.19_A2_T1.js | 4 +- .../prototype/getUTCHours/S15.9.5.19_A3_T2.js | 2 +- .../prototype/getUTCHours/S15.9.5.19_A3_T3.js | 4 +- .../getUTCHours/this-value-non-date.js | 4 +- .../getUTCMilliseconds/S15.9.5.25_A1_T1.js | 2 +- .../getUTCMilliseconds/S15.9.5.25_A1_T2.js | 2 +- .../getUTCMilliseconds/S15.9.5.25_A1_T3.js | 4 +- .../getUTCMilliseconds/S15.9.5.25_A2_T1.js | 4 +- .../getUTCMilliseconds/S15.9.5.25_A3_T2.js | 2 +- .../getUTCMilliseconds/S15.9.5.25_A3_T3.js | 4 +- .../getUTCMilliseconds/this-value-non-date.js | 4 +- .../getUTCMinutes/S15.9.5.21_A1_T1.js | 2 +- .../getUTCMinutes/S15.9.5.21_A1_T2.js | 2 +- .../getUTCMinutes/S15.9.5.21_A1_T3.js | 4 +- .../getUTCMinutes/S15.9.5.21_A2_T1.js | 4 +- .../getUTCMinutes/S15.9.5.21_A3_T2.js | 2 +- .../getUTCMinutes/S15.9.5.21_A3_T3.js | 4 +- .../getUTCMinutes/this-value-non-date.js | 4 +- .../prototype/getUTCMonth/S15.9.5.13_A1_T1.js | 2 +- .../prototype/getUTCMonth/S15.9.5.13_A1_T2.js | 2 +- .../prototype/getUTCMonth/S15.9.5.13_A1_T3.js | 4 +- .../prototype/getUTCMonth/S15.9.5.13_A2_T1.js | 4 +- .../prototype/getUTCMonth/S15.9.5.13_A3_T2.js | 2 +- .../prototype/getUTCMonth/S15.9.5.13_A3_T3.js | 4 +- .../getUTCMonth/this-value-non-date.js | 4 +- .../getUTCSeconds/S15.9.5.23_A1_T1.js | 2 +- .../getUTCSeconds/S15.9.5.23_A1_T2.js | 2 +- .../getUTCSeconds/S15.9.5.23_A1_T3.js | 4 +- .../getUTCSeconds/S15.9.5.23_A2_T1.js | 4 +- .../getUTCSeconds/S15.9.5.23_A3_T2.js | 2 +- .../getUTCSeconds/S15.9.5.23_A3_T3.js | 4 +- .../getUTCSeconds/this-value-non-date.js | 4 +- .../prototype/setDate/S15.9.5.36_A1_T1.js | 2 +- .../prototype/setDate/S15.9.5.36_A1_T2.js | 2 +- .../prototype/setDate/S15.9.5.36_A1_T3.js | 4 +- .../prototype/setDate/S15.9.5.36_A2_T1.js | 4 +- .../prototype/setDate/S15.9.5.36_A3_T2.js | 2 +- .../prototype/setDate/S15.9.5.36_A3_T3.js | 4 +- .../prototype/setDate/this-value-non-date.js | 4 +- .../Date/prototype/setFullYear/15.9.5.40_1.js | 2 +- .../prototype/setFullYear/S15.9.5.40_A1_T1.js | 2 +- .../prototype/setFullYear/S15.9.5.40_A1_T2.js | 2 +- .../prototype/setFullYear/S15.9.5.40_A1_T3.js | 4 +- .../prototype/setFullYear/S15.9.5.40_A2_T1.js | 4 +- .../prototype/setFullYear/S15.9.5.40_A3_T2.js | 2 +- .../prototype/setFullYear/S15.9.5.40_A3_T3.js | 4 +- .../setFullYear/this-value-non-date.js | 4 +- .../prototype/setHours/S15.9.5.34_A1_T1.js | 2 +- .../prototype/setHours/S15.9.5.34_A1_T2.js | 2 +- .../prototype/setHours/S15.9.5.34_A1_T3.js | 4 +- .../prototype/setHours/S15.9.5.34_A2_T1.js | 4 +- .../prototype/setHours/S15.9.5.34_A3_T2.js | 2 +- .../prototype/setHours/S15.9.5.34_A3_T3.js | 4 +- .../prototype/setHours/this-value-non-date.js | 4 +- .../setMilliseconds/S15.9.5.28_A1_T1.js | 2 +- .../setMilliseconds/S15.9.5.28_A1_T2.js | 2 +- .../setMilliseconds/S15.9.5.28_A1_T3.js | 4 +- .../setMilliseconds/S15.9.5.28_A2_T1.js | 4 +- .../setMilliseconds/S15.9.5.28_A3_T2.js | 2 +- .../setMilliseconds/S15.9.5.28_A3_T3.js | 4 +- .../setMilliseconds/arg-to-number.js | 2 +- .../setMilliseconds/this-value-non-date.js | 4 +- .../prototype/setMinutes/S15.9.5.32_A1_T1.js | 2 +- .../prototype/setMinutes/S15.9.5.32_A1_T2.js | 2 +- .../prototype/setMinutes/S15.9.5.32_A1_T3.js | 4 +- .../prototype/setMinutes/S15.9.5.32_A2_T1.js | 4 +- .../prototype/setMinutes/S15.9.5.32_A3_T2.js | 2 +- .../prototype/setMinutes/S15.9.5.32_A3_T3.js | 4 +- .../setMinutes/this-value-non-date.js | 4 +- .../prototype/setMonth/S15.9.5.38_A1_T1.js | 2 +- .../prototype/setMonth/S15.9.5.38_A1_T2.js | 2 +- .../prototype/setMonth/S15.9.5.38_A1_T3.js | 4 +- .../prototype/setMonth/S15.9.5.38_A2_T1.js | 4 +- .../prototype/setMonth/S15.9.5.38_A3_T2.js | 2 +- .../prototype/setMonth/S15.9.5.38_A3_T3.js | 4 +- .../prototype/setMonth/this-value-non-date.js | 4 +- .../prototype/setSeconds/S15.9.5.30_A1_T1.js | 2 +- .../prototype/setSeconds/S15.9.5.30_A1_T2.js | 2 +- .../prototype/setSeconds/S15.9.5.30_A1_T3.js | 4 +- .../prototype/setSeconds/S15.9.5.30_A2_T1.js | 4 +- .../prototype/setSeconds/S15.9.5.30_A3_T2.js | 2 +- .../prototype/setSeconds/S15.9.5.30_A3_T3.js | 4 +- .../setSeconds/this-value-non-date.js | 4 +- .../prototype/setTime/S15.9.5.27_A1_T1.js | 2 +- .../prototype/setTime/S15.9.5.27_A1_T2.js | 2 +- .../prototype/setTime/S15.9.5.27_A1_T3.js | 4 +- .../prototype/setTime/S15.9.5.27_A2_T1.js | 4 +- .../prototype/setTime/S15.9.5.27_A3_T2.js | 2 +- .../prototype/setTime/S15.9.5.27_A3_T3.js | 4 +- .../prototype/setTime/this-value-non-date.js | 4 +- .../prototype/setUTCDate/S15.9.5.37_A1_T1.js | 2 +- .../prototype/setUTCDate/S15.9.5.37_A1_T2.js | 2 +- .../prototype/setUTCDate/S15.9.5.37_A1_T3.js | 4 +- .../prototype/setUTCDate/S15.9.5.37_A2_T1.js | 4 +- .../prototype/setUTCDate/S15.9.5.37_A3_T2.js | 2 +- .../prototype/setUTCDate/S15.9.5.37_A3_T3.js | 4 +- .../setUTCFullYear/S15.9.5.41_A1_T1.js | 2 +- .../setUTCFullYear/S15.9.5.41_A1_T2.js | 2 +- .../setUTCFullYear/S15.9.5.41_A1_T3.js | 4 +- .../setUTCFullYear/S15.9.5.41_A2_T1.js | 4 +- .../setUTCFullYear/S15.9.5.41_A3_T2.js | 2 +- .../setUTCFullYear/S15.9.5.41_A3_T3.js | 4 +- .../prototype/setUTCHours/S15.9.5.35_A1_T1.js | 2 +- .../prototype/setUTCHours/S15.9.5.35_A1_T2.js | 2 +- .../prototype/setUTCHours/S15.9.5.35_A1_T3.js | 4 +- .../prototype/setUTCHours/S15.9.5.35_A2_T1.js | 4 +- .../prototype/setUTCHours/S15.9.5.35_A3_T2.js | 2 +- .../prototype/setUTCHours/S15.9.5.35_A3_T3.js | 4 +- .../setUTCMilliseconds/S15.9.5.29_A1_T1.js | 2 +- .../setUTCMilliseconds/S15.9.5.29_A1_T2.js | 2 +- .../setUTCMilliseconds/S15.9.5.29_A1_T3.js | 4 +- .../setUTCMilliseconds/S15.9.5.29_A2_T1.js | 4 +- .../setUTCMilliseconds/S15.9.5.29_A3_T2.js | 2 +- .../setUTCMilliseconds/S15.9.5.29_A3_T3.js | 4 +- .../setUTCMinutes/S15.9.5.33_A1_T1.js | 2 +- .../setUTCMinutes/S15.9.5.33_A1_T2.js | 2 +- .../setUTCMinutes/S15.9.5.33_A1_T3.js | 4 +- .../setUTCMinutes/S15.9.5.33_A2_T1.js | 4 +- .../setUTCMinutes/S15.9.5.33_A3_T2.js | 2 +- .../setUTCMinutes/S15.9.5.33_A3_T3.js | 4 +- .../prototype/setUTCMonth/S15.9.5.39_A1_T1.js | 2 +- .../prototype/setUTCMonth/S15.9.5.39_A1_T2.js | 2 +- .../prototype/setUTCMonth/S15.9.5.39_A1_T3.js | 4 +- .../prototype/setUTCMonth/S15.9.5.39_A2_T1.js | 4 +- .../prototype/setUTCMonth/S15.9.5.39_A3_T2.js | 2 +- .../prototype/setUTCMonth/S15.9.5.39_A3_T3.js | 4 +- .../setUTCSeconds/S15.9.5.31_A1_T1.js | 2 +- .../setUTCSeconds/S15.9.5.31_A1_T2.js | 2 +- .../setUTCSeconds/S15.9.5.31_A1_T3.js | 4 +- .../setUTCSeconds/S15.9.5.31_A2_T1.js | 4 +- .../setUTCSeconds/S15.9.5.31_A3_T2.js | 2 +- .../setUTCSeconds/S15.9.5.31_A3_T3.js | 4 +- .../prototype/toDateString/S15.9.5.3_A1_T1.js | 2 +- .../prototype/toDateString/S15.9.5.3_A1_T2.js | 2 +- .../prototype/toDateString/S15.9.5.3_A1_T3.js | 4 +- .../prototype/toDateString/S15.9.5.3_A2_T1.js | 4 +- .../prototype/toDateString/S15.9.5.3_A3_T2.js | 2 +- .../prototype/toDateString/S15.9.5.3_A3_T3.js | 4 +- .../prototype/toDateString/invalid-date.js | 2 - .../prototype/toISOString/15.9.5.43-0-10.js | 24 ++++---- .../prototype/toISOString/15.9.5.43-0-11.js | 8 +-- .../prototype/toISOString/15.9.5.43-0-12.js | 8 +-- .../prototype/toISOString/15.9.5.43-0-13.js | 6 +- .../prototype/toISOString/15.9.5.43-0-14.js | 4 +- .../prototype/toISOString/15.9.5.43-0-15.js | 4 +- .../prototype/toISOString/15.9.5.43-0-16.js | 4 +- .../prototype/toISOString/15.9.5.43-0-3.js | 2 +- .../prototype/toISOString/15.9.5.43-0-4.js | 4 +- .../prototype/toISOString/15.9.5.43-0-5.js | 2 +- .../prototype/toISOString/15.9.5.43-0-6.js | 2 +- .../prototype/toISOString/15.9.5.43-0-7.js | 2 +- .../prototype/toISOString/15.9.5.43-0-8.js | 16 +++--- .../prototype/toISOString/15.9.5.43-0-9.js | 24 ++++---- .../Date/prototype/toJSON/15.9.5.44-0-1.js | 2 +- .../toLocaleDateString/S15.9.5.6_A1_T1.js | 2 +- .../toLocaleDateString/S15.9.5.6_A1_T2.js | 2 +- .../toLocaleDateString/S15.9.5.6_A1_T3.js | 4 +- .../toLocaleDateString/S15.9.5.6_A2_T1.js | 4 +- .../toLocaleDateString/S15.9.5.6_A3_T2.js | 2 +- .../toLocaleDateString/S15.9.5.6_A3_T3.js | 4 +- .../toLocaleString/S15.9.5.5_A1_T1.js | 2 +- .../toLocaleString/S15.9.5.5_A1_T2.js | 2 +- .../toLocaleString/S15.9.5.5_A1_T3.js | 4 +- .../toLocaleString/S15.9.5.5_A2_T1.js | 4 +- .../toLocaleString/S15.9.5.5_A3_T2.js | 2 +- .../toLocaleString/S15.9.5.5_A3_T3.js | 4 +- .../toLocaleTimeString/S15.9.5.7_A1_T1.js | 2 +- .../toLocaleTimeString/S15.9.5.7_A1_T2.js | 2 +- .../toLocaleTimeString/S15.9.5.7_A1_T3.js | 4 +- .../toLocaleTimeString/S15.9.5.7_A2_T1.js | 4 +- .../toLocaleTimeString/S15.9.5.7_A3_T2.js | 2 +- .../toLocaleTimeString/S15.9.5.7_A3_T3.js | 4 +- .../prototype/toString/S15.9.5.2_A1_T1.js | 2 +- .../prototype/toString/S15.9.5.2_A1_T2.js | 2 +- .../prototype/toString/S15.9.5.2_A1_T3.js | 4 +- .../prototype/toString/S15.9.5.2_A2_T1.js | 4 +- .../prototype/toString/S15.9.5.2_A3_T2.js | 2 +- .../prototype/toString/S15.9.5.2_A3_T3.js | 4 +- .../prototype/toString/non-date-receiver.js | 4 +- .../prototype/toTimeString/S15.9.5.4_A1_T1.js | 2 +- .../prototype/toTimeString/S15.9.5.4_A1_T2.js | 2 +- .../prototype/toTimeString/S15.9.5.4_A1_T3.js | 4 +- .../prototype/toTimeString/S15.9.5.4_A2_T1.js | 4 +- .../prototype/toTimeString/S15.9.5.4_A3_T2.js | 2 +- .../prototype/toTimeString/S15.9.5.4_A3_T3.js | 4 +- .../prototype/toTimeString/invalid-date.js | 2 - .../prototype/toUTCString/S15.9.5.42_A1_T1.js | 2 +- .../prototype/toUTCString/S15.9.5.42_A1_T2.js | 2 +- .../prototype/toUTCString/S15.9.5.42_A1_T3.js | 4 +- .../prototype/toUTCString/S15.9.5.42_A2_T1.js | 4 +- .../prototype/toUTCString/S15.9.5.42_A3_T2.js | 2 +- .../prototype/toUTCString/S15.9.5.42_A3_T3.js | 4 +- .../prototype/toUTCString/invalid-date.js | 1 - .../Date/prototype/valueOf/S15.9.5.8_A1_T1.js | 2 +- .../Date/prototype/valueOf/S15.9.5.8_A1_T2.js | 2 +- .../Date/prototype/valueOf/S15.9.5.8_A1_T3.js | 4 +- .../Date/prototype/valueOf/S15.9.5.8_A2_T1.js | 4 +- .../Date/prototype/valueOf/S15.9.5.8_A3_T2.js | 2 +- .../Date/prototype/valueOf/S15.9.5.8_A3_T3.js | 4 +- .../Date/value-symbol-to-prim-return-obj.js | 4 +- .../Date/value-to-primitive-result-faulty.js | 4 +- 391 files changed, 1011 insertions(+), 932 deletions(-) diff --git a/test/built-ins/Date/15.9.1.15-1.js b/test/built-ins/Date/15.9.1.15-1.js index b2f1f1c01f..395a20bbc8 100644 --- a/test/built-ins/Date/15.9.1.15-1.js +++ b/test/built-ins/Date/15.9.1.15-1.js @@ -10,10 +10,10 @@ description: > absent ---*/ - var result = false; - var expectedDateTimeStr = "1970-01-01T00:00:00.000Z"; - var dateObj = new Date("1970"); - var dateStr = dateObj.toISOString(); - result = dateStr === expectedDateTimeStr; +var result = false; +var expectedDateTimeStr = "1970-01-01T00:00:00.000Z"; +var dateObj = new Date("1970"); +var dateStr = dateObj.toISOString(); +result = dateStr === expectedDateTimeStr; assert(result, 'result !== true'); diff --git a/test/built-ins/Date/S15.9.2.1_A1.js b/test/built-ins/Date/S15.9.2.1_A1.js index fd49157378..24722c8ddd 100644 --- a/test/built-ins/Date/S15.9.2.1_A1.js +++ b/test/built-ins/Date/S15.9.2.1_A1.js @@ -11,71 +11,71 @@ description: Checking type of returned value ---*/ //CHECK#1 -if( typeof Date() !== "string" ) { - $ERROR('#1: typeof Date() should be "string", actual is '+(typeof Date())); +if (typeof Date() !== "string") { + $ERROR('#1: typeof Date() should be "string", actual is ' + (typeof Date())); } //CHECK#2 -if( typeof Date(1) !== "string" ) { - $ERROR('#2: typeof Date(1) should be "string", actual is '+(typeof Date(1))); +if (typeof Date(1) !== "string") { + $ERROR('#2: typeof Date(1) should be "string", actual is ' + (typeof Date(1))); } //CHECK#3 -if( typeof Date(1970, 1) !== "string" ) { - $ERROR('#3: typeof Date(1970, 1) should be "string", actual is '+(typeof Date(1970, 1))); +if (typeof Date(1970, 1) !== "string") { + $ERROR('#3: typeof Date(1970, 1) should be "string", actual is ' + (typeof Date(1970, 1))); } //CHECK#4 -if( typeof Date(1970, 1, 1) !== "string" ) { - $ERROR('#4: typeof Date(1970, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1))); +if (typeof Date(1970, 1, 1) !== "string") { + $ERROR('#4: typeof Date(1970, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1))); } //CHECK#5 -if( typeof Date(1970, 1, 1, 1) !== "string" ) { - $ERROR('#5: typeof Date(1970, 1, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1, 1))); +if (typeof Date(1970, 1, 1, 1) !== "string") { + $ERROR('#5: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1))); } //CHECK#6 -if( typeof Date(1970, 1, 1, 1) !== "string" ) { - $ERROR('#7: typeof Date(1970, 1, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1, 1))); +if (typeof Date(1970, 1, 1, 1) !== "string") { + $ERROR('#7: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1))); } //CHECK#8 -if( typeof Date(1970, 1, 1, 1, 0) !== "string" ) { - $ERROR('#8: typeof Date(1970, 1, 1, 1, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0))); +if (typeof Date(1970, 1, 1, 1, 0) !== "string") { + $ERROR('#8: typeof Date(1970, 1, 1, 1, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0))); } //CHECK#9 -if( typeof Date(1970, 1, 1, 1, 0, 0) !== "string" ) { - $ERROR('#9: typeof Date(1970, 1, 1, 1, 0, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0, 0))); +if (typeof Date(1970, 1, 1, 1, 0, 0) !== "string") { + $ERROR('#9: typeof Date(1970, 1, 1, 1, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0))); } //CHECK#10 -if( typeof Date(1970, 1, 1, 1, 0, 0, 0) !== "string" ) { - $ERROR('#10: typeof Date(1970, 1, 1, 1, 0, 0, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0, 0, 0))); +if (typeof Date(1970, 1, 1, 1, 0, 0, 0) !== "string") { + $ERROR('#10: typeof Date(1970, 1, 1, 1, 0, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0, 0))); } //CHECK#11 -if( typeof Date(Number.NaN) !== "string" ) { - $ERROR('#11: typeof Date(Number.NaN) should be "string", actual is '+(typeof Date(Number.NaN))); +if (typeof Date(Number.NaN) !== "string") { + $ERROR('#11: typeof Date(Number.NaN) should be "string", actual is ' + (typeof Date(Number.NaN))); } //CHECK#12 -if( typeof Date(Number.POSITIVE_INFINITY) !== "string" ) { - $ERROR('#12: typeof Date(Number.POSITIVE_INFINITY) should be "string", actual is '+(typeof Date(Number.POSITIVE_INFINITY))); +if (typeof Date(Number.POSITIVE_INFINITY) !== "string") { + $ERROR('#12: typeof Date(Number.POSITIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.POSITIVE_INFINITY))); } //CHECK#13 -if( typeof Date(Number.NEGATIVE_INFINITY) !== "string" ) { - $ERROR('#13: typeof Date(Number.NEGATIVE_INFINITY) should be "string", actual is '+(typeof Date(Number.NEGATIVE_INFINITY))); +if (typeof Date(Number.NEGATIVE_INFINITY) !== "string") { + $ERROR('#13: typeof Date(Number.NEGATIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.NEGATIVE_INFINITY))); } //CHECK#14 -if( typeof Date(undefined) !== "string" ) { - $ERROR('#14: typeof Date(undefined) should be "string", actual is '+(typeof Date(undefined))); +if (typeof Date(undefined) !== "string") { + $ERROR('#14: typeof Date(undefined) should be "string", actual is ' + (typeof Date(undefined))); } //CHECK#15 -if( typeof Date(null) !== "string" ) { - $ERROR('#15: typeof Date(null) should be "string", actual is '+(typeof Date(null))); +if (typeof Date(null) !== "string") { + $ERROR('#15: typeof Date(null) should be "string", actual is ' + (typeof Date(null))); } diff --git a/test/built-ins/Date/S15.9.2.1_A2.js b/test/built-ins/Date/S15.9.2.1_A2.js index c461b0e875..4d627a8091 100644 --- a/test/built-ins/Date/S15.9.2.1_A2.js +++ b/test/built-ins/Date/S15.9.2.1_A2.js @@ -22,71 +22,71 @@ function isEqual(d1, d2) { } //CHECK#1 -if( !isEqual(Date(), (new Date()).toString()) ) { +if (!isEqual(Date(), (new Date()).toString())) { $ERROR('#1: Date() is equal to (new Date()).toString()'); } //CHECK#2 -if( !isEqual(Date(1), (new Date()).toString()) ) { +if (!isEqual(Date(1), (new Date()).toString())) { $ERROR('#2: Date(1) is equal to (new Date()).toString()'); } //CHECK#3 -if( !isEqual(Date(1970, 1), (new Date()).toString()) ) { +if (!isEqual(Date(1970, 1), (new Date()).toString())) { $ERROR('#3: Date(1970, 1) is equal to (new Date()).toString()'); } //CHECK#4 -if( !isEqual(Date(1970, 1, 1), (new Date()).toString()) ) { +if (!isEqual(Date(1970, 1, 1), (new Date()).toString())) { $ERROR('#4: Date(1970, 1, 1) is equal to (new Date()).toString()'); } //CHECK#5 -if( !isEqual(Date(1970, 1, 1, 1), (new Date()).toString()) ) { +if (!isEqual(Date(1970, 1, 1, 1), (new Date()).toString())) { $ERROR('#5: Date(1970, 1, 1, 1) is equal to (new Date()).toString()'); } //CHECK#6 -if( !isEqual(Date(1970, 1, 1, 1), (new Date()).toString()) ) { +if (!isEqual(Date(1970, 1, 1, 1), (new Date()).toString())) { $ERROR('#7: Date(1970, 1, 1, 1) is equal to (new Date()).toString()'); } //CHECK#8 -if( !isEqual(Date(1970, 1, 1, 1, 0), (new Date()).toString()) ) { +if (!isEqual(Date(1970, 1, 1, 1, 0), (new Date()).toString())) { $ERROR('#8: Date(1970, 1, 1, 1, 0) is equal to (new Date()).toString()'); } //CHECK#9 -if( !isEqual(Date(1970, 1, 1, 1, 0, 0), (new Date()).toString()) ) { +if (!isEqual(Date(1970, 1, 1, 1, 0, 0), (new Date()).toString())) { $ERROR('#9: Date(1970, 1, 1, 1, 0, 0) is equal to (new Date()).toString()'); } //CHECK#10 -if( !isEqual(Date(1970, 1, 1, 1, 0, 0, 0), (new Date()).toString()) ) { +if (!isEqual(Date(1970, 1, 1, 1, 0, 0, 0), (new Date()).toString())) { $ERROR('#10: Date(1970, 1, 1, 1, 0, 0, 0) is equal to (new Date()).toString()'); } //CHECK#11 -if( !isEqual(Date(Number.NaN), (new Date()).toString()) ) { +if (!isEqual(Date(Number.NaN), (new Date()).toString())) { $ERROR('#11: Date(Number.NaN) is equal to (new Date()).toString()'); } //CHECK#12 -if( !isEqual(Date(Number.POSITIVE_INFINITY), (new Date()).toString()) ) { +if (!isEqual(Date(Number.POSITIVE_INFINITY), (new Date()).toString())) { $ERROR('#12: Date(Number.POSITIVE_INFINITY) is equal to (new Date()).toString()'); } //CHECK#13 -if( !isEqual(Date(Number.NEGATIVE_INFINITY), (new Date()).toString()) ) { +if (!isEqual(Date(Number.NEGATIVE_INFINITY), (new Date()).toString())) { $ERROR('#13: Date(Number.NEGATIVE_INFINITY) is equal to (new Date()).toString()'); } //CHECK#14 -if( !isEqual(Date(undefined), (new Date()).toString()) ) { +if (!isEqual(Date(undefined), (new Date()).toString())) { $ERROR('#14: Date(undefined) is equal to (new Date()).toString()'); } //CHECK#15 -if( !isEqual(Date(null), (new Date()).toString()) ) { +if (!isEqual(Date(null), (new Date()).toString())) { $ERROR('#15: Date(null) is equal to (new Date()).toString()'); } diff --git a/test/built-ins/Date/S15.9.3.1_A1_T1.js b/test/built-ins/Date/S15.9.3.1_A1_T1.js index af7e4e3e67..7e6baff635 100644 --- a/test/built-ins/Date/S15.9.3.1_A1_T1.js +++ b/test/built-ins/Date/S15.9.3.1_A1_T1.js @@ -19,12 +19,12 @@ if (new Date(1899, 11) === undefined) { } var x13 = new Date(1899, 11); -if(typeof x13 !== "object"){ +if (typeof x13 !== "object") { $ERROR("#1.3: typeof new Date(1899, 11) should be 'object'"); } var x14 = new Date(1899, 11); -if(x14 === undefined){ +if (x14 === undefined) { $ERROR("#1.4: new Date(1899, 11) should not be undefined"); } @@ -37,12 +37,12 @@ if (new Date(1899, 12) === undefined) { } var x23 = new Date(1899, 12); -if(typeof x23 !== "object"){ +if (typeof x23 !== "object") { $ERROR("#2.3: typeof new Date(1899, 12) should be 'object'"); } var x24 = new Date(1899, 12); -if(x24 === undefined){ +if (x24 === undefined) { $ERROR("#2.4: new Date(1899, 12) should not be undefined"); } @@ -55,12 +55,12 @@ if (new Date(1900, 0) === undefined) { } var x33 = new Date(1900, 0); -if(typeof x33 !== "object"){ +if (typeof x33 !== "object") { $ERROR("#3.3: typeof new Date(1900, 0) should be 'object'"); } var x34 = new Date(1900, 0); -if(x34 === undefined){ +if (x34 === undefined) { $ERROR("#3.4: new Date(1900, 0) should not be undefined"); } @@ -73,12 +73,12 @@ if (new Date(1969, 11) === undefined) { } var x43 = new Date(1969, 11); -if(typeof x43 !== "object"){ +if (typeof x43 !== "object") { $ERROR("#4.3: typeof new Date(1969, 11) should be 'object'"); } var x44 = new Date(1969, 11); -if(x44 === undefined){ +if (x44 === undefined) { $ERROR("#4.4: new Date(1969, 11) should not be undefined"); } @@ -91,12 +91,12 @@ if (new Date(1969, 12) === undefined) { } var x53 = new Date(1969, 12); -if(typeof x53 !== "object"){ +if (typeof x53 !== "object") { $ERROR("#5.3: typeof new Date(1969, 12) should be 'object'"); } var x54 = new Date(1969, 12); -if(x54 === undefined){ +if (x54 === undefined) { $ERROR("#5.4: new Date(1969, 12) should not be undefined"); } @@ -109,12 +109,12 @@ if (new Date(1970, 0) === undefined) { } var x63 = new Date(1970, 0); -if(typeof x63 !== "object"){ +if (typeof x63 !== "object") { $ERROR("#6.3: typeof new Date(1970, 0) should be 'object'"); } var x64 = new Date(1970, 0); -if(x64 === undefined){ +if (x64 === undefined) { $ERROR("#6.4: new Date(1970, 0) should not be undefined"); } @@ -127,12 +127,12 @@ if (new Date(1999, 11) === undefined) { } var x73 = new Date(1999, 11); -if(typeof x73 !== "object"){ +if (typeof x73 !== "object") { $ERROR("#7.3: typeof new Date(1999, 11) should be 'object'"); } var x74 = new Date(1999, 11); -if(x74 === undefined){ +if (x74 === undefined) { $ERROR("#7.4: new Date(1999, 11) should not be undefined"); } @@ -145,12 +145,12 @@ if (new Date(1999, 12) === undefined) { } var x83 = new Date(1999, 12); -if(typeof x83 !== "object"){ +if (typeof x83 !== "object") { $ERROR("#8.3: typeof new Date(1999, 12) should be 'object'"); } var x84 = new Date(1999, 12); -if(x84 === undefined){ +if (x84 === undefined) { $ERROR("#8.4: new Date(1999, 12) should not be undefined"); } @@ -163,12 +163,12 @@ if (new Date(2000, 0) === undefined) { } var x93 = new Date(2000, 0); -if(typeof x93 !== "object"){ +if (typeof x93 !== "object") { $ERROR("#9.3: typeof new Date(2000, 0) should be 'object'"); } var x94 = new Date(2000, 0); -if(x94 === undefined){ +if (x94 === undefined) { $ERROR("#9.4: new Date(2000, 0) should not be undefined"); } @@ -181,12 +181,12 @@ if (new Date(2099, 11) === undefined) { } var x103 = new Date(2099, 11); -if(typeof x103 !== "object"){ +if (typeof x103 !== "object") { $ERROR("#10.3: typeof new Date(2099, 11) should be 'object'"); } var x104 = new Date(2099, 11); -if(x104 === undefined){ +if (x104 === undefined) { $ERROR("#10.4: new Date(2099, 11) should not be undefined"); } @@ -199,12 +199,12 @@ if (new Date(2099, 12) === undefined) { } var x113 = new Date(2099, 12); -if(typeof x113 !== "object"){ +if (typeof x113 !== "object") { $ERROR("#11.3: typeof new Date(2099, 12) should be 'object'"); } var x114 = new Date(2099, 12); -if(x114 === undefined){ +if (x114 === undefined) { $ERROR("#11.4: new Date(2099, 12) should not be undefined"); } @@ -217,11 +217,11 @@ if (new Date(2100, 0) === undefined) { } var x123 = new Date(2100, 0); -if(typeof x123 !== "object"){ +if (typeof x123 !== "object") { $ERROR("#12.3: typeof new Date(2100, 0) should be 'object'"); } var x124 = new Date(2100, 0); -if(x124 === undefined){ +if (x124 === undefined) { $ERROR("#12.4: new Date(2100, 0) should not be undefined"); } diff --git a/test/built-ins/Date/S15.9.3.1_A1_T2.js b/test/built-ins/Date/S15.9.3.1_A1_T2.js index a787643e81..3265980f92 100644 --- a/test/built-ins/Date/S15.9.3.1_A1_T2.js +++ b/test/built-ins/Date/S15.9.3.1_A1_T2.js @@ -19,12 +19,12 @@ if (new Date(1899, 11, 31) === undefined) { } var x13 = new Date(1899, 11, 31); -if(typeof x13 !== "object"){ +if (typeof x13 !== "object") { $ERROR("#1.3: typeof new Date(1899, 11, 31) should be 'object'"); } var x14 = new Date(1899, 11, 31); -if(x14 === undefined){ +if (x14 === undefined) { $ERROR("#1.4: new Date(1899, 11, 31) should not be undefined"); } @@ -37,12 +37,12 @@ if (new Date(1899, 12, 1) === undefined) { } var x23 = new Date(1899, 12, 1); -if(typeof x23 !== "object"){ +if (typeof x23 !== "object") { $ERROR("#2.3: typeof new Date(1899, 12, 1) should be 'object'"); } var x24 = new Date(1899, 12, 1); -if(x24 === undefined){ +if (x24 === undefined) { $ERROR("#2.4: new Date(1899, 12, 1) should not be undefined"); } @@ -55,12 +55,12 @@ if (new Date(1900, 0, 1) === undefined) { } var x33 = new Date(1900, 0, 1); -if(typeof x33 !== "object"){ +if (typeof x33 !== "object") { $ERROR("#3.3: typeof new Date(1900, 0, 1) should be 'object'"); } var x34 = new Date(1900, 0, 1); -if(x34 === undefined){ +if (x34 === undefined) { $ERROR("#3.4: new Date(1900, 0, 1) should not be undefined"); } @@ -73,12 +73,12 @@ if (new Date(1969, 11, 31) === undefined) { } var x43 = new Date(1969, 11, 31); -if(typeof x43 !== "object"){ +if (typeof x43 !== "object") { $ERROR("#4.3: typeof new Date(1969, 11, 31) should be 'object'"); } var x44 = new Date(1969, 11, 31); -if(x44 === undefined){ +if (x44 === undefined) { $ERROR("#4.4: new Date(1969, 11, 31) should not be undefined"); } @@ -91,12 +91,12 @@ if (new Date(1969, 12, 1) === undefined) { } var x53 = new Date(1969, 12, 1); -if(typeof x53 !== "object"){ +if (typeof x53 !== "object") { $ERROR("#5.3: typeof new Date(1969, 12, 1) should be 'object'"); } var x54 = new Date(1969, 12, 1); -if(x54 === undefined){ +if (x54 === undefined) { $ERROR("#5.4: new Date(1969, 12, 1) should not be undefined"); } @@ -109,12 +109,12 @@ if (new Date(1970, 0, 1) === undefined) { } var x63 = new Date(1970, 0, 1); -if(typeof x63 !== "object"){ +if (typeof x63 !== "object") { $ERROR("#6.3: typeof new Date(1970, 0, 1) should be 'object'"); } var x64 = new Date(1970, 0, 1); -if(x64 === undefined){ +if (x64 === undefined) { $ERROR("#6.4: new Date(1970, 0, 1) should not be undefined"); } @@ -127,12 +127,12 @@ if (new Date(1999, 11, 31) === undefined) { } var x73 = new Date(1999, 11, 31); -if(typeof x73 !== "object"){ +if (typeof x73 !== "object") { $ERROR("#7.3: typeof new Date(1999, 11, 31) should be 'object'"); } var x74 = new Date(1999, 11, 31); -if(x74 === undefined){ +if (x74 === undefined) { $ERROR("#7.4: new Date(1999, 11, 31) should not be undefined"); } @@ -145,12 +145,12 @@ if (new Date(1999, 12, 1) === undefined) { } var x83 = new Date(1999, 12, 1); -if(typeof x83 !== "object"){ +if (typeof x83 !== "object") { $ERROR("#8.3: typeof new Date(1999, 12, 1) should be 'object'"); } var x84 = new Date(1999, 12, 1); -if(x84 === undefined){ +if (x84 === undefined) { $ERROR("#8.4: new Date(1999, 12, 1) should not be undefined"); } @@ -163,12 +163,12 @@ if (new Date(2000, 0, 1) === undefined) { } var x93 = new Date(2000, 0, 1); -if(typeof x93 !== "object"){ +if (typeof x93 !== "object") { $ERROR("#9.3: typeof new Date(2000, 0, 1) should be 'object'"); } var x94 = new Date(2000, 0, 1); -if(x94 === undefined){ +if (x94 === undefined) { $ERROR("#9.4: new Date(2000, 0, 1) should not be undefined"); } @@ -181,12 +181,12 @@ if (new Date(2099, 11, 31) === undefined) { } var x103 = new Date(2099, 11, 31); -if(typeof x103 !== "object"){ +if (typeof x103 !== "object") { $ERROR("#10.3: typeof new Date(2099, 11, 31) should be 'object'"); } var x104 = new Date(2099, 11, 31); -if(x104 === undefined){ +if (x104 === undefined) { $ERROR("#10.4: new Date(2099, 11, 31) should not be undefined"); } @@ -199,12 +199,12 @@ if (new Date(2099, 12, 1) === undefined) { } var x113 = new Date(2099, 12, 1); -if(typeof x113 !== "object"){ +if (typeof x113 !== "object") { $ERROR("#11.3: typeof new Date(2099, 12, 1) should be 'object'"); } var x114 = new Date(2099, 12, 1); -if(x114 === undefined){ +if (x114 === undefined) { $ERROR("#11.4: new Date(2099, 12, 1) should not be undefined"); } @@ -217,11 +217,11 @@ if (new Date(2100, 0, 1) === undefined) { } var x123 = new Date(2100, 0, 1); -if(typeof x123 !== "object"){ +if (typeof x123 !== "object") { $ERROR("#12.3: typeof new Date(2100, 0, 1) should be 'object'"); } var x124 = new Date(2100, 0, 1); -if(x124 === undefined){ +if (x124 === undefined) { $ERROR("#12.4: new Date(2100, 0, 1) should not be undefined"); } diff --git a/test/built-ins/Date/S15.9.3.1_A1_T3.js b/test/built-ins/Date/S15.9.3.1_A1_T3.js index 648c8bbce7..875e3a8a4d 100644 --- a/test/built-ins/Date/S15.9.3.1_A1_T3.js +++ b/test/built-ins/Date/S15.9.3.1_A1_T3.js @@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23) === undefined) { } var x13 = new Date(1899, 11, 31, 23); -if(typeof x13 !== "object"){ +if (typeof x13 !== "object") { $ERROR("#1.3: typeof new Date(1899, 11, 31, 23) should be 'object'"); } var x14 = new Date(1899, 11, 31, 23); -if(x14 === undefined){ +if (x14 === undefined) { $ERROR("#1.4: new Date(1899, 11, 31, 23) should not be undefined"); } @@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0) === undefined) { } var x23 = new Date(1899, 12, 1, 0); -if(typeof x23 !== "object"){ +if (typeof x23 !== "object") { $ERROR("#2.3: typeof new Date(1899, 12, 1, 0) should be 'object'"); } var x24 = new Date(1899, 12, 1, 0); -if(x24 === undefined){ +if (x24 === undefined) { $ERROR("#2.4: new Date(1899, 12, 1, 0) should not be undefined"); } @@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0) === undefined) { } var x33 = new Date(1900, 0, 1, 0); -if(typeof x33 !== "object"){ +if (typeof x33 !== "object") { $ERROR("#3.3: typeof new Date(1900, 0, 1, 0) should be 'object'"); } var x34 = new Date(1900, 0, 1, 0); -if(x34 === undefined){ +if (x34 === undefined) { $ERROR("#3.4: new Date(1900, 0, 1, 0) should not be undefined"); } @@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23) === undefined) { } var x43 = new Date(1969, 11, 31, 23); -if(typeof x43 !== "object"){ +if (typeof x43 !== "object") { $ERROR("#4.3: typeof new Date(1969, 11, 31, 23) should be 'object'"); } var x44 = new Date(1969, 11, 31, 23); -if(x44 === undefined){ +if (x44 === undefined) { $ERROR("#4.4: new Date(1969, 11, 31, 23) should not be undefined"); } @@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0) === undefined) { } var x53 = new Date(1969, 12, 1, 0); -if(typeof x53 !== "object"){ +if (typeof x53 !== "object") { $ERROR("#5.3: typeof new Date(1969, 12, 1, 0) should be 'object'"); } var x54 = new Date(1969, 12, 1, 0); -if(x54 === undefined){ +if (x54 === undefined) { $ERROR("#5.4: new Date(1969, 12, 1, 0) should not be undefined"); } @@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0) === undefined) { } var x63 = new Date(1970, 0, 1, 0); -if(typeof x63 !== "object"){ +if (typeof x63 !== "object") { $ERROR("#6.3: typeof new Date(1970, 0, 1, 0) should be 'object'"); } var x64 = new Date(1970, 0, 1, 0); -if(x64 === undefined){ +if (x64 === undefined) { $ERROR("#6.4: new Date(1970, 0, 1, 0) should not be undefined"); } @@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23) === undefined) { } var x73 = new Date(1999, 11, 31, 23); -if(typeof x73 !== "object"){ +if (typeof x73 !== "object") { $ERROR("#7.3: typeof new Date(1999, 11, 31, 23) should be 'object'"); } var x74 = new Date(1999, 11, 31, 23); -if(x74 === undefined){ +if (x74 === undefined) { $ERROR("#7.4: new Date(1999, 11, 31, 23) should not be undefined"); } @@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0) === undefined) { } var x83 = new Date(1999, 12, 1, 0); -if(typeof x83 !== "object"){ +if (typeof x83 !== "object") { $ERROR("#8.3: typeof new Date(1999, 12, 1, 0) should be 'object'"); } var x84 = new Date(1999, 12, 1, 0); -if(x84 === undefined){ +if (x84 === undefined) { $ERROR("#8.4: new Date(1999, 12, 1, 0) should not be undefined"); } @@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0) === undefined) { } var x93 = new Date(2000, 0, 1, 0); -if(typeof x93 !== "object"){ +if (typeof x93 !== "object") { $ERROR("#9.3: typeof new Date(2000, 0, 1, 0) should be 'object'"); } var x94 = new Date(2000, 0, 1, 0); -if(x94 === undefined){ +if (x94 === undefined) { $ERROR("#9.4: new Date(2000, 0, 1, 0) should not be undefined"); } @@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23) === undefined) { } var x103 = new Date(2099, 11, 31, 23); -if(typeof x103 !== "object"){ +if (typeof x103 !== "object") { $ERROR("#10.3: typeof new Date(2099, 11, 31, 23) should be 'object'"); } var x104 = new Date(2099, 11, 31, 23); -if(x104 === undefined){ +if (x104 === undefined) { $ERROR("#10.4: new Date(2099, 11, 31, 23) should not be undefined"); } @@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0) === undefined) { } var x113 = new Date(2099, 12, 1, 0); -if(typeof x113 !== "object"){ +if (typeof x113 !== "object") { $ERROR("#11.3: typeof new Date(2099, 12, 1, 0) should be 'object'"); } var x114 = new Date(2099, 12, 1, 0); -if(x114 === undefined){ +if (x114 === undefined) { $ERROR("#11.4: new Date(2099, 12, 1, 0) should not be undefined"); } @@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0) === undefined) { } var x123 = new Date(2100, 0, 1, 0); -if(typeof x123 !== "object"){ +if (typeof x123 !== "object") { $ERROR("#12.3: typeof new Date(2100, 0, 1, 0) should be 'object'"); } var x124 = new Date(2100, 0, 1, 0); -if(x124 === undefined){ +if (x124 === undefined) { $ERROR("#12.4: new Date(2100, 0, 1, 0) should not be undefined"); } diff --git a/test/built-ins/Date/S15.9.3.1_A1_T4.js b/test/built-ins/Date/S15.9.3.1_A1_T4.js index 086ed9a6ca..ef574b9651 100644 --- a/test/built-ins/Date/S15.9.3.1_A1_T4.js +++ b/test/built-ins/Date/S15.9.3.1_A1_T4.js @@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23, 59) === undefined) { } var x13 = new Date(1899, 11, 31, 23, 59); -if(typeof x13 !== "object"){ +if (typeof x13 !== "object") { $ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59) should be 'object'"); } var x14 = new Date(1899, 11, 31, 23, 59); -if(x14 === undefined){ +if (x14 === undefined) { $ERROR("#1.4: new Date(1899, 11, 31, 23, 59) should not be undefined"); } @@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0, 0) === undefined) { } var x23 = new Date(1899, 12, 1, 0, 0); -if(typeof x23 !== "object"){ +if (typeof x23 !== "object") { $ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0) should be 'object'"); } var x24 = new Date(1899, 12, 1, 0, 0); -if(x24 === undefined){ +if (x24 === undefined) { $ERROR("#2.4: new Date(1899, 12, 1, 0, 0) should not be undefined"); } @@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0, 0) === undefined) { } var x33 = new Date(1900, 0, 1, 0, 0); -if(typeof x33 !== "object"){ +if (typeof x33 !== "object") { $ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0) should be 'object'"); } var x34 = new Date(1900, 0, 1, 0, 0); -if(x34 === undefined){ +if (x34 === undefined) { $ERROR("#3.4: new Date(1900, 0, 1, 0, 0) should not be undefined"); } @@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23, 59) === undefined) { } var x43 = new Date(1969, 11, 31, 23, 59); -if(typeof x43 !== "object"){ +if (typeof x43 !== "object") { $ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59) should be 'object'"); } var x44 = new Date(1969, 11, 31, 23, 59); -if(x44 === undefined){ +if (x44 === undefined) { $ERROR("#4.4: new Date(1969, 11, 31, 23, 59) should not be undefined"); } @@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0, 0) === undefined) { } var x53 = new Date(1969, 12, 1, 0, 0); -if(typeof x53 !== "object"){ +if (typeof x53 !== "object") { $ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0) should be 'object'"); } var x54 = new Date(1969, 12, 1, 0, 0); -if(x54 === undefined){ +if (x54 === undefined) { $ERROR("#5.4: new Date(1969, 12, 1, 0, 0) should not be undefined"); } @@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0, 0) === undefined) { } var x63 = new Date(1970, 0, 1, 0, 0); -if(typeof x63 !== "object"){ +if (typeof x63 !== "object") { $ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0) should be 'object'"); } var x64 = new Date(1970, 0, 1, 0, 0); -if(x64 === undefined){ +if (x64 === undefined) { $ERROR("#6.4: new Date(1970, 0, 1, 0, 0) should not be undefined"); } @@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23, 59) === undefined) { } var x73 = new Date(1999, 11, 31, 23, 59); -if(typeof x73 !== "object"){ +if (typeof x73 !== "object") { $ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59) should be 'object'"); } var x74 = new Date(1999, 11, 31, 23, 59); -if(x74 === undefined){ +if (x74 === undefined) { $ERROR("#7.4: new Date(1999, 11, 31, 23, 59) should not be undefined"); } @@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0, 0) === undefined) { } var x83 = new Date(1999, 12, 1, 0, 0); -if(typeof x83 !== "object"){ +if (typeof x83 !== "object") { $ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0) should be 'object'"); } var x84 = new Date(1999, 12, 1, 0, 0); -if(x84 === undefined){ +if (x84 === undefined) { $ERROR("#8.4: new Date(1999, 12, 1, 0, 0) should not be undefined"); } @@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0, 0) === undefined) { } var x93 = new Date(2000, 0, 1, 0, 0); -if(typeof x93 !== "object"){ +if (typeof x93 !== "object") { $ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0) should be 'object'"); } var x94 = new Date(2000, 0, 1, 0, 0); -if(x94 === undefined){ +if (x94 === undefined) { $ERROR("#9.4: new Date(2000, 0, 1, 0, 0) should not be undefined"); } @@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23, 59) === undefined) { } var x103 = new Date(2099, 11, 31, 23, 59); -if(typeof x103 !== "object"){ +if (typeof x103 !== "object") { $ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59) should be 'object'"); } var x104 = new Date(2099, 11, 31, 23, 59); -if(x104 === undefined){ +if (x104 === undefined) { $ERROR("#10.4: new Date(2099, 11, 31, 23, 59) should not be undefined"); } @@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0, 0) === undefined) { } var x113 = new Date(2099, 12, 1, 0, 0); -if(typeof x113 !== "object"){ +if (typeof x113 !== "object") { $ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0) should be 'object'"); } var x114 = new Date(2099, 12, 1, 0, 0); -if(x114 === undefined){ +if (x114 === undefined) { $ERROR("#11.4: new Date(2099, 12, 1, 0, 0) should not be undefined"); } @@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0, 0) === undefined) { } var x123 = new Date(2100, 0, 1, 0, 0); -if(typeof x123 !== "object"){ +if (typeof x123 !== "object") { $ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0) should be 'object'"); } var x124 = new Date(2100, 0, 1, 0, 0); -if(x124 === undefined){ +if (x124 === undefined) { $ERROR("#12.4: new Date(2100, 0, 1, 0, 0) should not be undefined"); } diff --git a/test/built-ins/Date/S15.9.3.1_A1_T5.js b/test/built-ins/Date/S15.9.3.1_A1_T5.js index 6a6ed02fdf..0f1d0df2c8 100644 --- a/test/built-ins/Date/S15.9.3.1_A1_T5.js +++ b/test/built-ins/Date/S15.9.3.1_A1_T5.js @@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23, 59, 59) === undefined) { } var x13 = new Date(1899, 11, 31, 23, 59, 59); -if(typeof x13 !== "object"){ +if (typeof x13 !== "object") { $ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'"); } var x14 = new Date(1899, 11, 31, 23, 59, 59); -if(x14 === undefined){ +if (x14 === undefined) { $ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59) should not be undefined"); } @@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0, 0, 0) === undefined) { } var x23 = new Date(1899, 12, 1, 0, 0, 0); -if(typeof x23 !== "object"){ +if (typeof x23 !== "object") { $ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'"); } var x24 = new Date(1899, 12, 1, 0, 0, 0); -if(x24 === undefined){ +if (x24 === undefined) { $ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0) should not be undefined"); } @@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0, 0, 0) === undefined) { } var x33 = new Date(1900, 0, 1, 0, 0, 0); -if(typeof x33 !== "object"){ +if (typeof x33 !== "object") { $ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'"); } var x34 = new Date(1900, 0, 1, 0, 0, 0); -if(x34 === undefined){ +if (x34 === undefined) { $ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0) should not be undefined"); } @@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23, 59, 59) === undefined) { } var x43 = new Date(1969, 11, 31, 23, 59, 59); -if(typeof x43 !== "object"){ +if (typeof x43 !== "object") { $ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'"); } var x44 = new Date(1969, 11, 31, 23, 59, 59); -if(x44 === undefined){ +if (x44 === undefined) { $ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59) should not be undefined"); } @@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0, 0, 0) === undefined) { } var x53 = new Date(1969, 12, 1, 0, 0, 0); -if(typeof x53 !== "object"){ +if (typeof x53 !== "object") { $ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'"); } var x54 = new Date(1969, 12, 1, 0, 0, 0); -if(x54 === undefined){ +if (x54 === undefined) { $ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0) should not be undefined"); } @@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0, 0, 0) === undefined) { } var x63 = new Date(1970, 0, 1, 0, 0, 0); -if(typeof x63 !== "object"){ +if (typeof x63 !== "object") { $ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'"); } var x64 = new Date(1970, 0, 1, 0, 0, 0); -if(x64 === undefined){ +if (x64 === undefined) { $ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0) should not be undefined"); } @@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23, 59, 59) === undefined) { } var x73 = new Date(1999, 11, 31, 23, 59, 59); -if(typeof x73 !== "object"){ +if (typeof x73 !== "object") { $ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'"); } var x74 = new Date(1999, 11, 31, 23, 59, 59); -if(x74 === undefined){ +if (x74 === undefined) { $ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59) should not be undefined"); } @@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0, 0, 0) === undefined) { } var x83 = new Date(1999, 12, 1, 0, 0, 0); -if(typeof x83 !== "object"){ +if (typeof x83 !== "object") { $ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'"); } var x84 = new Date(1999, 12, 1, 0, 0, 0); -if(x84 === undefined){ +if (x84 === undefined) { $ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0) should not be undefined"); } @@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0, 0, 0) === undefined) { } var x93 = new Date(2000, 0, 1, 0, 0, 0); -if(typeof x93 !== "object"){ +if (typeof x93 !== "object") { $ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'"); } var x94 = new Date(2000, 0, 1, 0, 0, 0); -if(x94 === undefined){ +if (x94 === undefined) { $ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0) should not be undefined"); } @@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23, 59, 59) === undefined) { } var x103 = new Date(2099, 11, 31, 23, 59, 59); -if(typeof x103 !== "object"){ +if (typeof x103 !== "object") { $ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'"); } var x104 = new Date(2099, 11, 31, 23, 59, 59); -if(x104 === undefined){ +if (x104 === undefined) { $ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59) should not be undefined"); } @@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0, 0, 0) === undefined) { } var x113 = new Date(2099, 12, 1, 0, 0, 0); -if(typeof x113 !== "object"){ +if (typeof x113 !== "object") { $ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'"); } var x114 = new Date(2099, 12, 1, 0, 0, 0); -if(x114 === undefined){ +if (x114 === undefined) { $ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0) should not be undefined"); } @@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0, 0, 0) === undefined) { } var x123 = new Date(2100, 0, 1, 0, 0, 0); -if(typeof x123 !== "object"){ +if (typeof x123 !== "object") { $ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'"); } var x124 = new Date(2100, 0, 1, 0, 0, 0); -if(x124 === undefined){ +if (x124 === undefined) { $ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0) should not be undefined"); } diff --git a/test/built-ins/Date/S15.9.3.1_A1_T6.js b/test/built-ins/Date/S15.9.3.1_A1_T6.js index 5288bf7b97..dac4065f5e 100644 --- a/test/built-ins/Date/S15.9.3.1_A1_T6.js +++ b/test/built-ins/Date/S15.9.3.1_A1_T6.js @@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23, 59, 59, 999) === undefined) { } var x13 = new Date(1899, 11, 31, 23, 59, 59, 999); -if(typeof x13 !== "object"){ +if (typeof x13 !== "object") { $ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'"); } var x14 = new Date(1899, 11, 31, 23, 59, 59, 999); -if(x14 === undefined){ +if (x14 === undefined) { $ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined"); } @@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0, 0, 0, 0) === undefined) { } var x23 = new Date(1899, 12, 1, 0, 0, 0, 0); -if(typeof x23 !== "object"){ +if (typeof x23 !== "object") { $ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'"); } var x24 = new Date(1899, 12, 1, 0, 0, 0, 0); -if(x24 === undefined){ +if (x24 === undefined) { $ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined"); } @@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0, 0, 0, 0) === undefined) { } var x33 = new Date(1900, 0, 1, 0, 0, 0, 0); -if(typeof x33 !== "object"){ +if (typeof x33 !== "object") { $ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'"); } var x34 = new Date(1900, 0, 1, 0, 0, 0, 0); -if(x34 === undefined){ +if (x34 === undefined) { $ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined"); } @@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23, 59, 59, 999) === undefined) { } var x43 = new Date(1969, 11, 31, 23, 59, 59, 999); -if(typeof x43 !== "object"){ +if (typeof x43 !== "object") { $ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'"); } var x44 = new Date(1969, 11, 31, 23, 59, 59, 999); -if(x44 === undefined){ +if (x44 === undefined) { $ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined"); } @@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0, 0, 0, 0) === undefined) { } var x53 = new Date(1969, 12, 1, 0, 0, 0, 0); -if(typeof x53 !== "object"){ +if (typeof x53 !== "object") { $ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'"); } var x54 = new Date(1969, 12, 1, 0, 0, 0, 0); -if(x54 === undefined){ +if (x54 === undefined) { $ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined"); } @@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0, 0, 0, 0) === undefined) { } var x63 = new Date(1970, 0, 1, 0, 0, 0, 0); -if(typeof x63 !== "object"){ +if (typeof x63 !== "object") { $ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'"); } var x64 = new Date(1970, 0, 1, 0, 0, 0, 0); -if(x64 === undefined){ +if (x64 === undefined) { $ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined"); } @@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23, 59, 59, 999) === undefined) { } var x73 = new Date(1999, 11, 31, 23, 59, 59, 999); -if(typeof x73 !== "object"){ +if (typeof x73 !== "object") { $ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'"); } var x74 = new Date(1999, 11, 31, 23, 59, 59, 999); -if(x74 === undefined){ +if (x74 === undefined) { $ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined"); } @@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0, 0, 0, 0) === undefined) { } var x83 = new Date(1999, 12, 1, 0, 0, 0, 0); -if(typeof x83 !== "object"){ +if (typeof x83 !== "object") { $ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'"); } var x84 = new Date(1999, 12, 1, 0, 0, 0, 0); -if(x84 === undefined){ +if (x84 === undefined) { $ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined"); } @@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0, 0, 0, 0) === undefined) { } var x93 = new Date(2000, 0, 1, 0, 0, 0, 0); -if(typeof x93 !== "object"){ +if (typeof x93 !== "object") { $ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'"); } var x94 = new Date(2000, 0, 1, 0, 0, 0, 0); -if(x94 === undefined){ +if (x94 === undefined) { $ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined"); } @@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23, 59, 59, 999) === undefined) { } var x103 = new Date(2099, 11, 31, 23, 59, 59, 999); -if(typeof x103 !== "object"){ +if (typeof x103 !== "object") { $ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'"); } var x104 = new Date(2099, 11, 31, 23, 59, 59, 999); -if(x104 === undefined){ +if (x104 === undefined) { $ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined"); } @@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0, 0, 0, 0) === undefined) { } var x113 = new Date(2099, 12, 1, 0, 0, 0, 0); -if(typeof x113 !== "object"){ +if (typeof x113 !== "object") { $ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'"); } var x114 = new Date(2099, 12, 1, 0, 0, 0, 0); -if(x114 === undefined){ +if (x114 === undefined) { $ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined"); } @@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0, 0, 0, 0) === undefined) { } var x123 = new Date(2100, 0, 1, 0, 0, 0, 0); -if(typeof x123 !== "object"){ +if (typeof x123 !== "object") { $ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'"); } var x124 = new Date(2100, 0, 1, 0, 0, 0, 0); -if(x124 === undefined){ +if (x124 === undefined) { $ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined"); } diff --git a/test/built-ins/Date/S15.9.3.1_A2_T1.js b/test/built-ins/Date/S15.9.3.1_A2_T1.js index 6f31096ca0..cf02c44a1a 100644 --- a/test/built-ins/Date/S15.9.3.1_A2_T1.js +++ b/test/built-ins/Date/S15.9.3.1_A2_T1.js @@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) { } var x13 = new Date(1899, 11); -if(Date.prototype !== x13.constructor.prototype){ +if (Date.prototype !== x13.constructor.prototype) { $ERROR("#1.3: Date.prototype === x13.constructor.prototype"); } @@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) { } var x23 = new Date(1899, 12); -if(Date.prototype !== x23.constructor.prototype){ +if (Date.prototype !== x23.constructor.prototype) { $ERROR("#2.3: Date.prototype === x23.constructor.prototype"); } @@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) { } var x33 = new Date(1900, 0); -if(Date.prototype !== x33.constructor.prototype){ +if (Date.prototype !== x33.constructor.prototype) { $ERROR("#3.3: Date.prototype === x33.constructor.prototype"); } @@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) { } var x43 = new Date(1969, 11); -if(Date.prototype !== x43.constructor.prototype){ +if (Date.prototype !== x43.constructor.prototype) { $ERROR("#4.3: Date.prototype === x43.constructor.prototype"); } @@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) { } var x53 = new Date(1969, 12); -if(Date.prototype !== x53.constructor.prototype){ +if (Date.prototype !== x53.constructor.prototype) { $ERROR("#5.3: Date.prototype === x53.constructor.prototype"); } @@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) { } var x63 = new Date(1970, 0); -if(Date.prototype !== x63.constructor.prototype){ +if (Date.prototype !== x63.constructor.prototype) { $ERROR("#6.3: Date.prototype === x63.constructor.prototype"); } @@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) { } var x73 = new Date(1999, 11); -if(Date.prototype !== x73.constructor.prototype){ +if (Date.prototype !== x73.constructor.prototype) { $ERROR("#7.3: Date.prototype === x73.constructor.prototype"); } @@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) { } var x83 = new Date(1999, 12); -if(Date.prototype !== x83.constructor.prototype){ +if (Date.prototype !== x83.constructor.prototype) { $ERROR("#8.3: Date.prototype === x83.constructor.prototype"); } @@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) { } var x93 = new Date(2000, 0); -if(Date.prototype !== x93.constructor.prototype){ +if (Date.prototype !== x93.constructor.prototype) { $ERROR("#9.3: Date.prototype === x93.constructor.prototype"); } @@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) { } var x103 = new Date(2099, 11); -if(Date.prototype !== x103.constructor.prototype){ +if (Date.prototype !== x103.constructor.prototype) { $ERROR("#10.3: Date.prototype === x103.constructor.prototype"); } @@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) { } var x113 = new Date(2099, 12); -if(Date.prototype !== x113.constructor.prototype){ +if (Date.prototype !== x113.constructor.prototype) { $ERROR("#11.3: Date.prototype === x113.constructor.prototype"); } @@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) { } var x123 = new Date(2100, 0); -if(Date.prototype !== x123.constructor.prototype){ +if (Date.prototype !== x123.constructor.prototype) { $ERROR("#12.3: Date.prototype === x123.constructor.prototype"); } diff --git a/test/built-ins/Date/S15.9.3.1_A2_T2.js b/test/built-ins/Date/S15.9.3.1_A2_T2.js index d94064962f..b10c645855 100644 --- a/test/built-ins/Date/S15.9.3.1_A2_T2.js +++ b/test/built-ins/Date/S15.9.3.1_A2_T2.js @@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) { } var x13 = new Date(1899, 11, 31); -if(Date.prototype !== x13.constructor.prototype){ +if (Date.prototype !== x13.constructor.prototype) { $ERROR("#1.3: Date.prototype === x13.constructor.prototype"); } @@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) { } var x23 = new Date(1899, 12, 1); -if(Date.prototype !== x23.constructor.prototype){ +if (Date.prototype !== x23.constructor.prototype) { $ERROR("#2.3: Date.prototype === x23.constructor.prototype"); } @@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) { } var x33 = new Date(1900, 0, 1); -if(Date.prototype !== x33.constructor.prototype){ +if (Date.prototype !== x33.constructor.prototype) { $ERROR("#3.3: Date.prototype === x33.constructor.prototype"); } @@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) { } var x43 = new Date(1969, 11, 31); -if(Date.prototype !== x43.constructor.prototype){ +if (Date.prototype !== x43.constructor.prototype) { $ERROR("#4.3: Date.prototype === x43.constructor.prototype"); } @@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) { } var x53 = new Date(1969, 12, 1); -if(Date.prototype !== x53.constructor.prototype){ +if (Date.prototype !== x53.constructor.prototype) { $ERROR("#5.3: Date.prototype === x53.constructor.prototype"); } @@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) { } var x63 = new Date(1970, 0, 1); -if(Date.prototype !== x63.constructor.prototype){ +if (Date.prototype !== x63.constructor.prototype) { $ERROR("#6.3: Date.prototype === x63.constructor.prototype"); } @@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) { } var x73 = new Date(1999, 11, 31); -if(Date.prototype !== x73.constructor.prototype){ +if (Date.prototype !== x73.constructor.prototype) { $ERROR("#7.3: Date.prototype === x73.constructor.prototype"); } @@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) { } var x83 = new Date(1999, 12, 1); -if(Date.prototype !== x83.constructor.prototype){ +if (Date.prototype !== x83.constructor.prototype) { $ERROR("#8.3: Date.prototype === x83.constructor.prototype"); } @@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) { } var x93 = new Date(2000, 0, 1); -if(Date.prototype !== x93.constructor.prototype){ +if (Date.prototype !== x93.constructor.prototype) { $ERROR("#9.3: Date.prototype === x93.constructor.prototype"); } @@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) { } var x103 = new Date(2099, 11, 31); -if(Date.prototype !== x103.constructor.prototype){ +if (Date.prototype !== x103.constructor.prototype) { $ERROR("#10.3: Date.prototype === x103.constructor.prototype"); } @@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) { } var x113 = new Date(2099, 12, 1); -if(Date.prototype !== x113.constructor.prototype){ +if (Date.prototype !== x113.constructor.prototype) { $ERROR("#11.3: Date.prototype === x113.constructor.prototype"); } @@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) { } var x123 = new Date(2100, 0, 1); -if(Date.prototype !== x123.constructor.prototype){ +if (Date.prototype !== x123.constructor.prototype) { $ERROR("#12.3: Date.prototype === x123.constructor.prototype"); } diff --git a/test/built-ins/Date/S15.9.3.1_A2_T3.js b/test/built-ins/Date/S15.9.3.1_A2_T3.js index cf4ed45a9b..bb2848b632 100644 --- a/test/built-ins/Date/S15.9.3.1_A2_T3.js +++ b/test/built-ins/Date/S15.9.3.1_A2_T3.js @@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) { } var x13 = new Date(1899, 11, 31, 23); -if(Date.prototype !== x13.constructor.prototype){ +if (Date.prototype !== x13.constructor.prototype) { $ERROR("#1.3: Date.prototype === x13.constructor.prototype"); } @@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) { } var x23 = new Date(1899, 12, 1, 0); -if(Date.prototype !== x23.constructor.prototype){ +if (Date.prototype !== x23.constructor.prototype) { $ERROR("#2.3: Date.prototype === x23.constructor.prototype"); } @@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) { } var x33 = new Date(1900, 0, 1, 0); -if(Date.prototype !== x33.constructor.prototype){ +if (Date.prototype !== x33.constructor.prototype) { $ERROR("#3.3: Date.prototype === x33.constructor.prototype"); } @@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) { } var x43 = new Date(1969, 11, 31, 23); -if(Date.prototype !== x43.constructor.prototype){ +if (Date.prototype !== x43.constructor.prototype) { $ERROR("#4.3: Date.prototype === x43.constructor.prototype"); } @@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) { } var x53 = new Date(1969, 12, 1, 0); -if(Date.prototype !== x53.constructor.prototype){ +if (Date.prototype !== x53.constructor.prototype) { $ERROR("#5.3: Date.prototype === x53.constructor.prototype"); } @@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) { } var x63 = new Date(1970, 0, 1, 0); -if(Date.prototype !== x63.constructor.prototype){ +if (Date.prototype !== x63.constructor.prototype) { $ERROR("#6.3: Date.prototype === x63.constructor.prototype"); } @@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) { } var x73 = new Date(1999, 11, 31, 23); -if(Date.prototype !== x73.constructor.prototype){ +if (Date.prototype !== x73.constructor.prototype) { $ERROR("#7.3: Date.prototype === x73.constructor.prototype"); } @@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) { } var x83 = new Date(1999, 12, 1, 0); -if(Date.prototype !== x83.constructor.prototype){ +if (Date.prototype !== x83.constructor.prototype) { $ERROR("#8.3: Date.prototype === x83.constructor.prototype"); } @@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) { } var x93 = new Date(2000, 0, 1, 0); -if(Date.prototype !== x93.constructor.prototype){ +if (Date.prototype !== x93.constructor.prototype) { $ERROR("#9.3: Date.prototype === x93.constructor.prototype"); } @@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) { } var x103 = new Date(2099, 11, 31, 23); -if(Date.prototype !== x103.constructor.prototype){ +if (Date.prototype !== x103.constructor.prototype) { $ERROR("#10.3: Date.prototype === x103.constructor.prototype"); } @@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) { } var x113 = new Date(2099, 12, 1, 0); -if(Date.prototype !== x113.constructor.prototype){ +if (Date.prototype !== x113.constructor.prototype) { $ERROR("#11.3: Date.prototype === x113.constructor.prototype"); } @@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) { } var x123 = new Date(2100, 0, 1, 0); -if(Date.prototype !== x123.constructor.prototype){ +if (Date.prototype !== x123.constructor.prototype) { $ERROR("#12.3: Date.prototype === x123.constructor.prototype"); } diff --git a/test/built-ins/Date/S15.9.3.1_A2_T4.js b/test/built-ins/Date/S15.9.3.1_A2_T4.js index 1b2c23946a..b1549d400b 100644 --- a/test/built-ins/Date/S15.9.3.1_A2_T4.js +++ b/test/built-ins/Date/S15.9.3.1_A2_T4.js @@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) { } var x13 = new Date(1899, 11, 31, 23, 59); -if(Date.prototype !== x13.constructor.prototype){ +if (Date.prototype !== x13.constructor.prototype) { $ERROR("#1.3: Date.prototype === x13.constructor.prototype"); } @@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) { } var x23 = new Date(1899, 12, 1, 0, 0); -if(Date.prototype !== x23.constructor.prototype){ +if (Date.prototype !== x23.constructor.prototype) { $ERROR("#2.3: Date.prototype === x23.constructor.prototype"); } @@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) { } var x33 = new Date(1900, 0, 1, 0, 0); -if(Date.prototype !== x33.constructor.prototype){ +if (Date.prototype !== x33.constructor.prototype) { $ERROR("#3.3: Date.prototype === x33.constructor.prototype"); } @@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) { } var x43 = new Date(1969, 11, 31, 23, 59); -if(Date.prototype !== x43.constructor.prototype){ +if (Date.prototype !== x43.constructor.prototype) { $ERROR("#4.3: Date.prototype === x43.constructor.prototype"); } @@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) { } var x53 = new Date(1969, 12, 1, 0, 0); -if(Date.prototype !== x53.constructor.prototype){ +if (Date.prototype !== x53.constructor.prototype) { $ERROR("#5.3: Date.prototype === x53.constructor.prototype"); } @@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) { } var x63 = new Date(1970, 0, 1, 0, 0); -if(Date.prototype !== x63.constructor.prototype){ +if (Date.prototype !== x63.constructor.prototype) { $ERROR("#6.3: Date.prototype === x63.constructor.prototype"); } @@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) { } var x73 = new Date(1999, 11, 31, 23, 59); -if(Date.prototype !== x73.constructor.prototype){ +if (Date.prototype !== x73.constructor.prototype) { $ERROR("#7.3: Date.prototype === x73.constructor.prototype"); } @@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) { } var x83 = new Date(1999, 12, 1, 0, 0); -if(Date.prototype !== x83.constructor.prototype){ +if (Date.prototype !== x83.constructor.prototype) { $ERROR("#8.3: Date.prototype === x83.constructor.prototype"); } @@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) { } var x93 = new Date(2000, 0, 1, 0, 0); -if(Date.prototype !== x93.constructor.prototype){ +if (Date.prototype !== x93.constructor.prototype) { $ERROR("#9.3: Date.prototype === x93.constructor.prototype"); } @@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) { } var x103 = new Date(2099, 11, 31, 23, 59); -if(Date.prototype !== x103.constructor.prototype){ +if (Date.prototype !== x103.constructor.prototype) { $ERROR("#10.3: Date.prototype === x103.constructor.prototype"); } @@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) { } var x113 = new Date(2099, 12, 1, 0, 0); -if(Date.prototype !== x113.constructor.prototype){ +if (Date.prototype !== x113.constructor.prototype) { $ERROR("#11.3: Date.prototype === x113.constructor.prototype"); } @@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) { } var x123 = new Date(2100, 0, 1, 0, 0); -if(Date.prototype !== x123.constructor.prototype){ +if (Date.prototype !== x123.constructor.prototype) { $ERROR("#12.3: Date.prototype === x123.constructor.prototype"); } diff --git a/test/built-ins/Date/S15.9.3.1_A2_T5.js b/test/built-ins/Date/S15.9.3.1_A2_T5.js index d1b0a43fa5..8b34dd84b4 100644 --- a/test/built-ins/Date/S15.9.3.1_A2_T5.js +++ b/test/built-ins/Date/S15.9.3.1_A2_T5.js @@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) { } var x13 = new Date(1899, 11, 31, 23, 59, 59); -if(Date.prototype !== x13.constructor.prototype){ +if (Date.prototype !== x13.constructor.prototype) { $ERROR("#1.3: Date.prototype === x13.constructor.prototype"); } @@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) { } var x23 = new Date(1899, 12, 1, 0, 0, 0); -if(Date.prototype !== x23.constructor.prototype){ +if (Date.prototype !== x23.constructor.prototype) { $ERROR("#2.3: Date.prototype === x23.constructor.prototype"); } @@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) { } var x33 = new Date(1900, 0, 1, 0, 0, 0); -if(Date.prototype !== x33.constructor.prototype){ +if (Date.prototype !== x33.constructor.prototype) { $ERROR("#3.3: Date.prototype === x33.constructor.prototype"); } @@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) { } var x43 = new Date(1969, 11, 31, 23, 59, 59); -if(Date.prototype !== x43.constructor.prototype){ +if (Date.prototype !== x43.constructor.prototype) { $ERROR("#4.3: Date.prototype === x43.constructor.prototype"); } @@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) { } var x53 = new Date(1969, 12, 1, 0, 0, 0); -if(Date.prototype !== x53.constructor.prototype){ +if (Date.prototype !== x53.constructor.prototype) { $ERROR("#5.3: Date.prototype === x53.constructor.prototype"); } @@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) { } var x63 = new Date(1970, 0, 1, 0, 0, 0); -if(Date.prototype !== x63.constructor.prototype){ +if (Date.prototype !== x63.constructor.prototype) { $ERROR("#6.3: Date.prototype === x63.constructor.prototype"); } @@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) { } var x73 = new Date(1999, 11, 31, 23, 59, 59); -if(Date.prototype !== x73.constructor.prototype){ +if (Date.prototype !== x73.constructor.prototype) { $ERROR("#7.3: Date.prototype === x73.constructor.prototype"); } @@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) { } var x83 = new Date(1999, 12, 1, 0, 0, 0); -if(Date.prototype !== x83.constructor.prototype){ +if (Date.prototype !== x83.constructor.prototype) { $ERROR("#8.3: Date.prototype === x83.constructor.prototype"); } @@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) { } var x93 = new Date(2000, 0, 1, 0, 0, 0); -if(Date.prototype !== x93.constructor.prototype){ +if (Date.prototype !== x93.constructor.prototype) { $ERROR("#9.3: Date.prototype === x93.constructor.prototype"); } @@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) { } var x103 = new Date(2099, 11, 31, 23, 59, 59); -if(Date.prototype !== x103.constructor.prototype){ +if (Date.prototype !== x103.constructor.prototype) { $ERROR("#10.3: Date.prototype === x103.constructor.prototype"); } @@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) { } var x113 = new Date(2099, 12, 1, 0, 0, 0); -if(Date.prototype !== x113.constructor.prototype){ +if (Date.prototype !== x113.constructor.prototype) { $ERROR("#11.3: Date.prototype === x113.constructor.prototype"); } @@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) { } var x123 = new Date(2100, 0, 1, 0, 0, 0); -if(Date.prototype !== x123.constructor.prototype){ +if (Date.prototype !== x123.constructor.prototype) { $ERROR("#12.3: Date.prototype === x123.constructor.prototype"); } diff --git a/test/built-ins/Date/S15.9.3.1_A2_T6.js b/test/built-ins/Date/S15.9.3.1_A2_T6.js index b3ff5fc8cc..8fde48a2fa 100644 --- a/test/built-ins/Date/S15.9.3.1_A2_T6.js +++ b/test/built-ins/Date/S15.9.3.1_A2_T6.js @@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) { } var x13 = new Date(1899, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x13.constructor.prototype){ +if (Date.prototype !== x13.constructor.prototype) { $ERROR("#1.3: Date.prototype === x13.constructor.prototype"); } @@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) { } var x23 = new Date(1899, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x23.constructor.prototype){ +if (Date.prototype !== x23.constructor.prototype) { $ERROR("#2.3: Date.prototype === x23.constructor.prototype"); } @@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) { } var x33 = new Date(1900, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x33.constructor.prototype){ +if (Date.prototype !== x33.constructor.prototype) { $ERROR("#3.3: Date.prototype === x33.constructor.prototype"); } @@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) { } var x43 = new Date(1969, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x43.constructor.prototype){ +if (Date.prototype !== x43.constructor.prototype) { $ERROR("#4.3: Date.prototype === x43.constructor.prototype"); } @@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) { } var x53 = new Date(1969, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x53.constructor.prototype){ +if (Date.prototype !== x53.constructor.prototype) { $ERROR("#5.3: Date.prototype === x53.constructor.prototype"); } @@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) { } var x63 = new Date(1970, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x63.constructor.prototype){ +if (Date.prototype !== x63.constructor.prototype) { $ERROR("#6.3: Date.prototype === x63.constructor.prototype"); } @@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) { } var x73 = new Date(1999, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x73.constructor.prototype){ +if (Date.prototype !== x73.constructor.prototype) { $ERROR("#7.3: Date.prototype === x73.constructor.prototype"); } @@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) { } var x83 = new Date(1999, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x83.constructor.prototype){ +if (Date.prototype !== x83.constructor.prototype) { $ERROR("#8.3: Date.prototype === x83.constructor.prototype"); } @@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) { } var x93 = new Date(2000, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x93.constructor.prototype){ +if (Date.prototype !== x93.constructor.prototype) { $ERROR("#9.3: Date.prototype === x93.constructor.prototype"); } @@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) { } var x103 = new Date(2099, 11, 31, 23, 59, 59, 999); -if(Date.prototype !== x103.constructor.prototype){ +if (Date.prototype !== x103.constructor.prototype) { $ERROR("#10.3: Date.prototype === x103.constructor.prototype"); } @@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) { } var x113 = new Date(2099, 12, 1, 0, 0, 0, 0); -if(Date.prototype !== x113.constructor.prototype){ +if (Date.prototype !== x113.constructor.prototype) { $ERROR("#11.3: Date.prototype === x113.constructor.prototype"); } @@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) { } var x123 = new Date(2100, 0, 1, 0, 0, 0, 0); -if(Date.prototype !== x123.constructor.prototype){ +if (Date.prototype !== x123.constructor.prototype) { $ERROR("#12.3: Date.prototype === x123.constructor.prototype"); } diff --git a/test/built-ins/Date/S15.9.3.1_A4_T1.js b/test/built-ins/Date/S15.9.3.1_A4_T1.js index 6f7174902b..890ce66430 100644 --- a/test/built-ins/Date/S15.9.3.1_A4_T1.js +++ b/test/built-ins/Date/S15.9.3.1_A4_T1.js @@ -17,30 +17,34 @@ es5id: 15.9.3.1_A4_T1 description: 2 arguments, (year, month) ---*/ -var myObj = function(val){ +var myObj = function(val) { this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; + this.valueOf = function() { + throw "valueOf-" + this.value; + }; + this.toString = function() { + throw "toString-" + this.value; + }; }; //CHECK#1 -try{ +try { var x1 = new Date(new myObj(1), new myObj(2)); $ERROR("#1: The 1st step is calling ToNumber(year)"); } -catch(e){ - if(e !== "valueOf-1"){ +catch (e) { + if (e !== "valueOf-1") { $ERROR("#1: The 1st step is calling ToNumber(year)"); } } //CHECK#2 -try{ +try { var x2 = new Date(1, new myObj(2)); $ERROR("#2: The 2nd step is calling ToNumber(month)"); } -catch(e){ - if(e !== "valueOf-2"){ +catch (e) { + if (e !== "valueOf-2") { $ERROR("#2: The 2nd step is calling ToNumber(month)"); } } diff --git a/test/built-ins/Date/S15.9.3.1_A4_T2.js b/test/built-ins/Date/S15.9.3.1_A4_T2.js index 3dbe78ff75..bc3fc25037 100644 --- a/test/built-ins/Date/S15.9.3.1_A4_T2.js +++ b/test/built-ins/Date/S15.9.3.1_A4_T2.js @@ -17,41 +17,45 @@ es5id: 15.9.3.1_A4_T2 description: 3 arguments, (year, month, date) ---*/ -var myObj = function(val){ +var myObj = function(val) { this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; + this.valueOf = function() { + throw "valueOf-" + this.value; + }; + this.toString = function() { + throw "toString-" + this.value; + }; }; //CHECK#1 -try{ +try { var x1 = new Date(new myObj(1), new myObj(2), new myObj(3)); $ERROR("#1: The 1st step is calling ToNumber(year)"); } -catch(e){ - if(e !== "valueOf-1"){ +catch (e) { + if (e !== "valueOf-1") { $ERROR("#1: The 1st step is calling ToNumber(year)"); } } //CHECK#2 -try{ +try { var x2 = new Date(1, new myObj(2), new myObj(3)); $ERROR("#2: The 2nd step is calling ToNumber(month)"); } -catch(e){ - if(e !== "valueOf-2"){ +catch (e) { + if (e !== "valueOf-2") { $ERROR("#2: The 2nd step is calling ToNumber(month)"); } } //CHECK#3 -try{ +try { var x3 = new Date(1, 2, new myObj(3)); $ERROR("#3: The 3rd step is calling ToNumber(date)"); } -catch(e){ - if(e !== "valueOf-3"){ +catch (e) { + if (e !== "valueOf-3") { $ERROR("#3: The 3rd step is calling ToNumber(date)"); } } diff --git a/test/built-ins/Date/S15.9.3.1_A4_T3.js b/test/built-ins/Date/S15.9.3.1_A4_T3.js index ff59c4e69b..2280edf5df 100644 --- a/test/built-ins/Date/S15.9.3.1_A4_T3.js +++ b/test/built-ins/Date/S15.9.3.1_A4_T3.js @@ -17,52 +17,56 @@ es5id: 15.9.3.1_A4_T3 description: 4 arguments, (year, month, date, hours) ---*/ -var myObj = function(val){ +var myObj = function(val) { this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; + this.valueOf = function() { + throw "valueOf-" + this.value; + }; + this.toString = function() { + throw "toString-" + this.value; + }; }; //CHECK#1 -try{ +try { var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4)); $ERROR("#1: The 1st step is calling ToNumber(year)"); } -catch(e){ - if(e !== "valueOf-1"){ +catch (e) { + if (e !== "valueOf-1") { $ERROR("#1: The 1st step is calling ToNumber(year)"); } } //CHECK#2 -try{ +try { var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4)); $ERROR("#2: The 2nd step is calling ToNumber(month)"); } -catch(e){ - if(e !== "valueOf-2"){ +catch (e) { + if (e !== "valueOf-2") { $ERROR("#2: The 2nd step is calling ToNumber(month)"); } } //CHECK#3 -try{ +try { var x3 = new Date(1, 2, new myObj(3), new myObj(4)); $ERROR("#3: The 3rd step is calling ToNumber(date)"); } -catch(e){ - if(e !== "valueOf-3"){ +catch (e) { + if (e !== "valueOf-3") { $ERROR("#3: The 3rd step is calling ToNumber(date)"); } } //CHECK#4 -try{ +try { var x4 = new Date(1, 2, 3, new myObj(4)); $ERROR("#4: The 4th step is calling ToNumber(hours)"); } -catch(e){ - if(e !== "valueOf-4"){ +catch (e) { + if (e !== "valueOf-4") { $ERROR("#4: The 4th step is calling ToNumber(hours)"); } } diff --git a/test/built-ins/Date/S15.9.3.1_A4_T4.js b/test/built-ins/Date/S15.9.3.1_A4_T4.js index c9377d5993..49a0d15d2d 100644 --- a/test/built-ins/Date/S15.9.3.1_A4_T4.js +++ b/test/built-ins/Date/S15.9.3.1_A4_T4.js @@ -17,63 +17,67 @@ es5id: 15.9.3.1_A4_T4 description: 5 arguments, (year, month, date, hours, minutes) ---*/ -var myObj = function(val){ +var myObj = function(val) { this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; + this.valueOf = function() { + throw "valueOf-" + this.value; + }; + this.toString = function() { + throw "toString-" + this.value; + }; }; //CHECK#1 -try{ +try { var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5)); $ERROR("#1: The 1st step is calling ToNumber(year)"); } -catch(e){ - if(e !== "valueOf-1"){ +catch (e) { + if (e !== "valueOf-1") { $ERROR("#1: The 1st step is calling ToNumber(year)"); } } //CHECK#2 -try{ +try { var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5)); $ERROR("#2: The 2nd step is calling ToNumber(month)"); } -catch(e){ - if(e !== "valueOf-2"){ +catch (e) { + if (e !== "valueOf-2") { $ERROR("#2: The 2nd step is calling ToNumber(month)"); } } //CHECK#3 -try{ +try { var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5)); $ERROR("#3: The 3rd step is calling ToNumber(date)"); } -catch(e){ - if(e !== "valueOf-3"){ +catch (e) { + if (e !== "valueOf-3") { $ERROR("#3: The 3rd step is calling ToNumber(date)"); } } //CHECK#4 -try{ +try { var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5)); $ERROR("#4: The 4th step is calling ToNumber(hours)"); } -catch(e){ - if(e !== "valueOf-4"){ +catch (e) { + if (e !== "valueOf-4") { $ERROR("#4: The 4th step is calling ToNumber(hours)"); } } //CHECK#5 -try{ +try { var x5 = new Date(1, 2, 3, 4, new myObj(5)); $ERROR("#5: The 5th step is calling ToNumber(minutes)"); } -catch(e){ - if(e !== "valueOf-5"){ +catch (e) { + if (e !== "valueOf-5") { $ERROR("#5: The 5th step is calling ToNumber(minutes)"); } } diff --git a/test/built-ins/Date/S15.9.3.1_A4_T5.js b/test/built-ins/Date/S15.9.3.1_A4_T5.js index 646a93696f..f7bf7f2042 100644 --- a/test/built-ins/Date/S15.9.3.1_A4_T5.js +++ b/test/built-ins/Date/S15.9.3.1_A4_T5.js @@ -17,74 +17,78 @@ es5id: 15.9.3.1_A4_T5 description: 6 arguments, (year, month, date, hours, minutes, seconds) ---*/ -var myObj = function(val){ +var myObj = function(val) { this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; + this.valueOf = function() { + throw "valueOf-" + this.value; + }; + this.toString = function() { + throw "toString-" + this.value; + }; }; //CHECK#1 -try{ +try { var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6)); $ERROR("#1: The 1st step is calling ToNumber(year)"); } -catch(e){ - if(e !== "valueOf-1"){ +catch (e) { + if (e !== "valueOf-1") { $ERROR("#1: The 1st step is calling ToNumber(year)"); } } //CHECK#2 -try{ +try { var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6)); $ERROR("#2: The 2nd step is calling ToNumber(month)"); } -catch(e){ - if(e !== "valueOf-2"){ +catch (e) { + if (e !== "valueOf-2") { $ERROR("#2: The 2nd step is calling ToNumber(month)"); } } //CHECK#3 -try{ +try { var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6)); $ERROR("#3: The 3rd step is calling ToNumber(date)"); } -catch(e){ - if(e !== "valueOf-3"){ +catch (e) { + if (e !== "valueOf-3") { $ERROR("#3: The 3rd step is calling ToNumber(date)"); } } //CHECK#4 -try{ +try { var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6)); $ERROR("#4: The 4th step is calling ToNumber(hours)"); } -catch(e){ - if(e !== "valueOf-4"){ +catch (e) { + if (e !== "valueOf-4") { $ERROR("#4: The 4th step is calling ToNumber(hours)"); } } //CHECK#5 -try{ +try { var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6)); $ERROR("#5: The 5th step is calling ToNumber(minutes)"); } -catch(e){ - if(e !== "valueOf-5"){ +catch (e) { + if (e !== "valueOf-5") { $ERROR("#5: The 5th step is calling ToNumber(minutes)"); } } //CHECK#6 -try{ +try { var x6 = new Date(1, 2, 3, 4, 5, new myObj(6)); $ERROR("#6: The 6th step is calling ToNumber(seconds)"); } -catch(e){ - if(e !== "valueOf-6"){ +catch (e) { + if (e !== "valueOf-6") { $ERROR("#6: The 6th step is calling ToNumber(seconds)"); } } diff --git a/test/built-ins/Date/S15.9.3.1_A4_T6.js b/test/built-ins/Date/S15.9.3.1_A4_T6.js index 16f6dedb88..8eebc2ec66 100644 --- a/test/built-ins/Date/S15.9.3.1_A4_T6.js +++ b/test/built-ins/Date/S15.9.3.1_A4_T6.js @@ -17,85 +17,89 @@ es5id: 15.9.3.1_A4_T6 description: 7 arguments, (year, month, date, hours, minutes, seconds, ms) ---*/ -var myObj = function(val){ +var myObj = function(val) { this.value = val; - this.valueOf = function(){throw "valueOf-"+this.value;}; - this.toString = function(){throw "toString-"+this.value;}; + this.valueOf = function() { + throw "valueOf-" + this.value; + }; + this.toString = function() { + throw "toString-" + this.value; + }; }; //CHECK#1 -try{ +try { var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); $ERROR("#1: The 1st step is calling ToNumber(year)"); } -catch(e){ - if(e !== "valueOf-1"){ +catch (e) { + if (e !== "valueOf-1") { $ERROR("#1: The 1st step is calling ToNumber(year)"); } } //CHECK#2 -try{ +try { var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); $ERROR("#2: The 2nd step is calling ToNumber(month)"); } -catch(e){ - if(e !== "valueOf-2"){ +catch (e) { + if (e !== "valueOf-2") { $ERROR("#2: The 2nd step is calling ToNumber(month)"); } } //CHECK#3 -try{ +try { var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); $ERROR("#3: The 3rd step is calling ToNumber(date)"); } -catch(e){ - if(e !== "valueOf-3"){ +catch (e) { + if (e !== "valueOf-3") { $ERROR("#3: The 3rd step is calling ToNumber(date)"); } } //CHECK#4 -try{ +try { var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6), new myObj(7)); $ERROR("#4: The 4th step is calling ToNumber(hours)"); } -catch(e){ - if(e !== "valueOf-4"){ +catch (e) { + if (e !== "valueOf-4") { $ERROR("#4: The 4th step is calling ToNumber(hours)"); } } //CHECK#5 -try{ +try { var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6), new myObj(7)); $ERROR("#5: The 5th step is calling ToNumber(minutes)"); } -catch(e){ - if(e !== "valueOf-5"){ +catch (e) { + if (e !== "valueOf-5") { $ERROR("#5: The 5th step is calling ToNumber(minutes)"); } } //CHECK#6 -try{ +try { var x6 = new Date(1, 2, 3, 4, 5, new myObj(6), new myObj(7)); $ERROR("#6: The 6th step is calling ToNumber(seconds)"); } -catch(e){ - if(e !== "valueOf-6"){ +catch (e) { + if (e !== "valueOf-6") { $ERROR("#6: The 6th step is calling ToNumber(seconds)"); } } //CHECK#7 -try{ +try { var x7 = new Date(1, 2, 3, 4, 5, 6, new myObj(7)); $ERROR("#7: The 7th step is calling ToNumber(ms)"); } -catch(e){ - if(e !== "valueOf-7"){ +catch (e) { + if (e !== "valueOf-7") { $ERROR("#7: The 7th step is calling ToNumber(ms)"); } } diff --git a/test/built-ins/Date/S15.9.3.1_A5_T1.js b/test/built-ins/Date/S15.9.3.1_A5_T1.js index 9c98a6a640..e9f2d545c6 100644 --- a/test/built-ins/Date/S15.9.3.1_A5_T1.js +++ b/test/built-ins/Date/S15.9.3.1_A5_T1.js @@ -33,7 +33,7 @@ assertRelativeDateMs(new Date(1999, 11), 944006400000); assertRelativeDateMs(new Date(1999, 12), 946684800000); -assertRelativeDateMs(new Date(2000, 0), 946684800000); +assertRelativeDateMs(new Date(2000, 0), 946684800000); assertRelativeDateMs(new Date(2099, 11), 4099766400000); diff --git a/test/built-ins/Date/S15.9.3.1_A6_T1.js b/test/built-ins/Date/S15.9.3.1_A6_T1.js index 28a0f459f7..90c8ac12d7 100644 --- a/test/built-ins/Date/S15.9.3.1_A6_T1.js +++ b/test/built-ins/Date/S15.9.3.1_A6_T1.js @@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T1 description: 2 arguments, (year, month) ---*/ -function DateValue(year, month, date, hours, minutes, seconds, ms){ +function DateValue(year, month, date, hours, minutes, seconds, ms) { return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); } diff --git a/test/built-ins/Date/S15.9.3.1_A6_T2.js b/test/built-ins/Date/S15.9.3.1_A6_T2.js index 83e35fd245..cc3c1a2894 100644 --- a/test/built-ins/Date/S15.9.3.1_A6_T2.js +++ b/test/built-ins/Date/S15.9.3.1_A6_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T2 description: 3 arguments, (year, month, date) ---*/ -function DateValue(year, month, date, hours, minutes, seconds, ms){ +function DateValue(year, month, date, hours, minutes, seconds, ms) { return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); } diff --git a/test/built-ins/Date/S15.9.3.1_A6_T3.js b/test/built-ins/Date/S15.9.3.1_A6_T3.js index aec94cc406..f7d549bb99 100644 --- a/test/built-ins/Date/S15.9.3.1_A6_T3.js +++ b/test/built-ins/Date/S15.9.3.1_A6_T3.js @@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T3 description: 4 arguments, (year, month, date, hours) ---*/ -function DateValue(year, month, date, hours, minutes, seconds, ms){ +function DateValue(year, month, date, hours, minutes, seconds, ms) { return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); } diff --git a/test/built-ins/Date/S15.9.3.1_A6_T4.js b/test/built-ins/Date/S15.9.3.1_A6_T4.js index db3d3e9907..69d00640c3 100644 --- a/test/built-ins/Date/S15.9.3.1_A6_T4.js +++ b/test/built-ins/Date/S15.9.3.1_A6_T4.js @@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T4 description: 5 arguments, (year, month, date, hours, minutes) ---*/ -function DateValue(year, month, date, hours, minutes, seconds, ms){ +function DateValue(year, month, date, hours, minutes, seconds, ms) { return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); } diff --git a/test/built-ins/Date/S15.9.3.1_A6_T5.js b/test/built-ins/Date/S15.9.3.1_A6_T5.js index e222772c24..ae5c324d77 100644 --- a/test/built-ins/Date/S15.9.3.1_A6_T5.js +++ b/test/built-ins/Date/S15.9.3.1_A6_T5.js @@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T5 description: 6 arguments, (year, month, date, hours, minutes, seconds) ---*/ -function DateValue(year, month, date, hours, minutes, seconds, ms){ +function DateValue(year, month, date, hours, minutes, seconds, ms) { return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); } diff --git a/test/built-ins/Date/S15.9.3.2_A1_T1.js b/test/built-ins/Date/S15.9.3.2_A1_T1.js index ebde6e4bd4..bd82eadd9a 100644 --- a/test/built-ins/Date/S15.9.3.2_A1_T1.js +++ b/test/built-ins/Date/S15.9.3.2_A1_T1.js @@ -20,12 +20,12 @@ if (new Date(date_1899_end) === undefined) { } var x13 = new Date(date_1899_end); -if(typeof x13 !== "object"){ +if (typeof x13 !== "object") { $ERROR("#1.3: typeof new Date(date_1899_end) !== 'object'"); } var x14 = new Date(date_1899_end); -if(x14 === undefined){ +if (x14 === undefined) { $ERROR("#1.4: new Date(date_1899_end) !== undefined"); } @@ -38,12 +38,12 @@ if (new Date(date_1900_start) === undefined) { } var x23 = new Date(date_1900_start); -if(typeof x23 !== "object"){ +if (typeof x23 !== "object") { $ERROR("#2.3: typeof new Date(date_1900_start) !== 'object'"); } var x24 = new Date(date_1900_start); -if(x24 === undefined){ +if (x24 === undefined) { $ERROR("#2.4: new Date(date_1900_start) !== undefined"); } @@ -56,12 +56,12 @@ if (new Date(date_1969_end) === undefined) { } var x33 = new Date(date_1969_end); -if(typeof x33 !== "object"){ +if (typeof x33 !== "object") { $ERROR("#3.3: typeof new Date(date_1969_end) !== 'object'"); } var x34 = new Date(date_1969_end); -if(x34 === undefined){ +if (x34 === undefined) { $ERROR("#3.4: new Date(date_1969_end) !== undefined"); } @@ -74,12 +74,12 @@ if (new Date(date_1970_start) === undefined) { } var x43 = new Date(date_1970_start); -if(typeof x43 !== "object"){ +if (typeof x43 !== "object") { $ERROR("#4.3: typeof new Date(date_1970_start) !== 'object'"); } var x44 = new Date(date_1970_start); -if(x44 === undefined){ +if (x44 === undefined) { $ERROR("#4.4: new Date(date_1970_start) !== undefined"); } @@ -92,12 +92,12 @@ if (new Date(date_1999_end) === undefined) { } var x53 = new Date(date_1999_end); -if(typeof x53 !== "object"){ +if (typeof x53 !== "object") { $ERROR("#5.3: typeof new Date(date_1999_end) !== 'object'"); } var x54 = new Date(date_1999_end); -if(x54 === undefined){ +if (x54 === undefined) { $ERROR("#5.4: new Date(date_1999_end) !== undefined"); } @@ -110,12 +110,12 @@ if (new Date(date_2000_start) === undefined) { } var x63 = new Date(date_2000_start); -if(typeof x63 !== "object"){ +if (typeof x63 !== "object") { $ERROR("#6.3: typeof new Date(date_2000_start) !== 'object'"); } var x64 = new Date(date_2000_start); -if(x64 === undefined){ +if (x64 === undefined) { $ERROR("#6.4: new Date(date_2000_start) !== undefined"); } @@ -128,12 +128,12 @@ if (new Date(date_2099_end) === undefined) { } var x73 = new Date(date_2099_end); -if(typeof x73 !== "object"){ +if (typeof x73 !== "object") { $ERROR("#7.3: typeof new Date(date_2099_end) !== 'object'"); } var x74 = new Date(date_2099_end); -if(x74 === undefined){ +if (x74 === undefined) { $ERROR("#7.4: new Date(date_2099_end) !== undefined"); } @@ -146,11 +146,11 @@ if (new Date(date_2100_start) === undefined) { } var x83 = new Date(date_2100_start); -if(typeof x83 !== "object"){ +if (typeof x83 !== "object") { $ERROR("#8.3: typeof new Date(date_2100_start) !== 'object'"); } var x84 = new Date(date_2100_start); -if(x84 === undefined){ +if (x84 === undefined) { $ERROR("#8.4: new Date(date_2100_start) !== undefined"); } diff --git a/test/built-ins/Date/S15.9.3.2_A2_T1.js b/test/built-ins/Date/S15.9.3.2_A2_T1.js index 3cc1825c61..80e2dacd87 100644 --- a/test/built-ins/Date/S15.9.3.2_A2_T1.js +++ b/test/built-ins/Date/S15.9.3.2_A2_T1.js @@ -23,7 +23,7 @@ if (!Date.prototype.isPrototypeOf(x12)) { } var x13 = new Date(date_1899_end); -if(Date.prototype !== x13.constructor.prototype){ +if (Date.prototype !== x13.constructor.prototype) { $ERROR("#1.3: Date.prototype !== x13.constructor.prototype"); } @@ -38,7 +38,7 @@ if (!Date.prototype.isPrototypeOf(x22)) { } var x23 = new Date(date_1900_start); -if(Date.prototype !== x23.constructor.prototype){ +if (Date.prototype !== x23.constructor.prototype) { $ERROR("#2.3: Date.prototype !== x23.constructor.prototype"); } @@ -53,7 +53,7 @@ if (!Date.prototype.isPrototypeOf(x32)) { } var x33 = new Date(date_1969_end); -if(Date.prototype !== x33.constructor.prototype){ +if (Date.prototype !== x33.constructor.prototype) { $ERROR("#3.3: Date.prototype !== x33.constructor.prototype"); } @@ -68,7 +68,7 @@ if (!Date.prototype.isPrototypeOf(x42)) { } var x43 = new Date(date_1970_start); -if(Date.prototype !== x43.constructor.prototype){ +if (Date.prototype !== x43.constructor.prototype) { $ERROR("#4.3: Date.prototype !== x43.constructor.prototype"); } @@ -83,7 +83,7 @@ if (!Date.prototype.isPrototypeOf(x52)) { } var x53 = new Date(date_1999_end); -if(Date.prototype !== x53.constructor.prototype){ +if (Date.prototype !== x53.constructor.prototype) { $ERROR("#5.3: Date.prototype !== x53.constructor.prototype"); } @@ -98,7 +98,7 @@ if (!Date.prototype.isPrototypeOf(x62)) { } var x63 = new Date(date_2000_start); -if(Date.prototype !== x63.constructor.prototype){ +if (Date.prototype !== x63.constructor.prototype) { $ERROR("#6.3: Date.prototype !== x63.constructor.prototype"); } @@ -113,7 +113,7 @@ if (!Date.prototype.isPrototypeOf(x72)) { } var x73 = new Date(date_2099_end); -if(Date.prototype !== x73.constructor.prototype){ +if (Date.prototype !== x73.constructor.prototype) { $ERROR("#7.3: Date.prototype !== x73.constructor.prototype"); } @@ -128,6 +128,6 @@ if (!Date.prototype.isPrototypeOf(x82)) { } var x83 = new Date(date_2100_start); -if(Date.prototype !== x83.constructor.prototype){ +if (Date.prototype !== x83.constructor.prototype) { $ERROR("#8.3: Date.prototype !== x83.constructor.prototype"); } diff --git a/test/built-ins/Date/S15.9.4_A1.js b/test/built-ins/Date/S15.9.4_A1.js index 02b7842b7e..7957670f63 100644 --- a/test/built-ins/Date/S15.9.4_A1.js +++ b/test/built-ins/Date/S15.9.4_A1.js @@ -8,6 +8,6 @@ es5id: 15.9.4_A1 description: Checking existence of the property "prototype" ---*/ -if(!Date.hasOwnProperty("prototype")){ +if (!Date.hasOwnProperty("prototype")) { $ERROR('#1: The Date constructor has the property "prototype"'); } diff --git a/test/built-ins/Date/S15.9.4_A2.js b/test/built-ins/Date/S15.9.4_A2.js index 3090a39e02..dd0652d887 100644 --- a/test/built-ins/Date/S15.9.4_A2.js +++ b/test/built-ins/Date/S15.9.4_A2.js @@ -8,6 +8,6 @@ es5id: 15.9.4_A2 description: Checking existence of the property "parse" ---*/ -if(!Date.hasOwnProperty("parse")){ +if (!Date.hasOwnProperty("parse")) { $ERROR('#1: The Date constructor has the property "parse"'); } diff --git a/test/built-ins/Date/S15.9.4_A3.js b/test/built-ins/Date/S15.9.4_A3.js index 0c86338612..162bf922fb 100644 --- a/test/built-ins/Date/S15.9.4_A3.js +++ b/test/built-ins/Date/S15.9.4_A3.js @@ -8,6 +8,6 @@ es5id: 15.9.4_A3 description: Checking existence of the property "UTC" ---*/ -if(!Date.hasOwnProperty("UTC")){ +if (!Date.hasOwnProperty("UTC")) { $ERROR('#1: The Date constructor has the property "UTC"'); } diff --git a/test/built-ins/Date/S15.9.4_A5.js b/test/built-ins/Date/S15.9.4_A5.js index 96d9b652f8..066e575b0c 100644 --- a/test/built-ins/Date/S15.9.4_A5.js +++ b/test/built-ins/Date/S15.9.4_A5.js @@ -9,7 +9,7 @@ description: Checking Date.length property ---*/ //CHECK#1 -if (!Date.hasOwnProperty("length")){ +if (!Date.hasOwnProperty("length")) { $ERROR('#1: Date constructor has length property'); } 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 8f30c29885..7def6880c7 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.UTC; -if(x === 1) +if (x === 1) Date.UTC = 2; else Date.UTC = 1; diff --git a/test/built-ins/Date/UTC/S15.9.4.3_A1_T2.js b/test/built-ins/Date/UTC/S15.9.4.3_A1_T2.js index 6a930ef7f4..a6c590a814 100644 --- a/test/built-ins/Date/UTC/S15.9.4.3_A1_T2.js +++ b/test/built-ins/Date/UTC/S15.9.4.3_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.4.3_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.UTC === false) { +if (delete Date.UTC === false) { $ERROR('#1: The Date.UTC property has not the attributes DontDelete'); } 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 af50c5f72b..3db47612a1 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 @@ -12,8 +12,8 @@ if (Date.propertyIsEnumerable('UTC')) { $ERROR('#1: The Date.UTC property has the attribute DontEnum'); } -for(var x in Date) { - if(x === "UTC") { +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_A2_T1.js b/test/built-ins/Date/UTC/S15.9.4.3_A2_T1.js index 3846946cdc..ced5116878 100644 --- a/test/built-ins/Date/UTC/S15.9.4.3_A2_T1.js +++ b/test/built-ins/Date/UTC/S15.9.4.3_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.4.3_A2_T1 description: The "length" property of the "UTC" is 7 ---*/ -if(Date.UTC.hasOwnProperty("length") !== true){ +if (Date.UTC.hasOwnProperty("length") !== true) { $ERROR('#1: The UTC has a "length" property'); } -if(Date.UTC.length !== 7){ +if (Date.UTC.length !== 7) { $ERROR('#2: The "length" property of the UTC is 7'); } diff --git a/test/built-ins/Date/UTC/S15.9.4.3_A3_T2.js b/test/built-ins/Date/UTC/S15.9.4.3_A3_T2.js index ce29d4b9dd..79d0468c74 100644 --- a/test/built-ins/Date/UTC/S15.9.4.3_A3_T2.js +++ b/test/built-ins/Date/UTC/S15.9.4.3_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.4.3_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.UTC.length !== true) { +if (delete Date.UTC.length !== true) { $ERROR('#1: The Date.UTC.length property does not have the attributes DontDelete'); } 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 e14dccda30..99fc8db1be 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 @@ -14,8 +14,8 @@ if (Date.UTC.propertyIsEnumerable('length')) { $ERROR('#1: The Date.UTC.length property has the attribute DontEnum'); } -for(var x in Date.UTC) { - if(x === "length") { +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/now/15.9.4.4-0-3.js b/test/built-ins/Date/now/15.9.4.4-0-3.js index bafb8bcdde..49c7ac4259 100644 --- a/test/built-ins/Date/now/15.9.4.4-0-3.js +++ b/test/built-ins/Date/now/15.9.4.4-0-3.js @@ -7,6 +7,6 @@ es5id: 15.9.4.4-0-3 description: Date.now must exist as a function ---*/ - var fun = Date.now; +var fun = Date.now; -assert.sameValue(typeof (fun), "function", 'typeof (fun)'); +assert.sameValue(typeof(fun), "function", 'typeof (fun)'); 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 48587d9d69..e820b95d02 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.parse; -if(x === 1) +if (x === 1) Date.parse = 2; else Date.parse = 1; diff --git a/test/built-ins/Date/parse/S15.9.4.2_A1_T2.js b/test/built-ins/Date/parse/S15.9.4.2_A1_T2.js index 1b7e25f8d7..65bb436f50 100644 --- a/test/built-ins/Date/parse/S15.9.4.2_A1_T2.js +++ b/test/built-ins/Date/parse/S15.9.4.2_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.4.2_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.parse === false) { +if (delete Date.parse === false) { $ERROR('#1: The Date.parse property has not the attributes DontDelete'); } 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 b91821807a..28de1c4973 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 @@ -12,8 +12,8 @@ if (Date.propertyIsEnumerable('parse')) { $ERROR('#1: The Date.parse property has the attribute DontEnum'); } -for(var x in Date) { - if(x === "parse") { +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_A2_T1.js b/test/built-ins/Date/parse/S15.9.4.2_A2_T1.js index bfec5f9087..83b526abcd 100644 --- a/test/built-ins/Date/parse/S15.9.4.2_A2_T1.js +++ b/test/built-ins/Date/parse/S15.9.4.2_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.4.2_A2_T1 description: The "length" property of the "parse" is 1 ---*/ -if(Date.parse.hasOwnProperty("length") !== true){ +if (Date.parse.hasOwnProperty("length") !== true) { $ERROR('#1: The parse has a "length" property'); } -if(Date.parse.length !== 1){ +if (Date.parse.length !== 1) { $ERROR('#2: The "length" property of the parse is 1'); } diff --git a/test/built-ins/Date/parse/S15.9.4.2_A3_T2.js b/test/built-ins/Date/parse/S15.9.4.2_A3_T2.js index dc2af6291a..50c4f3128e 100644 --- a/test/built-ins/Date/parse/S15.9.4.2_A3_T2.js +++ b/test/built-ins/Date/parse/S15.9.4.2_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.4.2_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.parse.length !== true) { +if (delete Date.parse.length !== true) { $ERROR('#1: The Date.parse.length property does not have the attributes DontDelete'); } 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 404fbfa251..5e2de082f6 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 @@ -14,8 +14,8 @@ if (Date.parse.propertyIsEnumerable('length')) { $ERROR('#1: The Date.parse.length property has the attribute DontEnum'); } -for(var x in Date.parse) { - if(x === "length") { +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_T3.js b/test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js index e40edd102d..584534f08d 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 @@ -14,8 +14,8 @@ if (Date.propertyIsEnumerable('prototype')) { $ERROR('#1: The Date.prototype property has the attribute DontEnum'); } -for(var x in Date) { - if(x === "prototype") { +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/S15.9.5_A01_T1.js b/test/built-ins/Date/prototype/S15.9.5_A01_T1.js index 03fa78a01b..4e8aa39a4b 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A01_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A01_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A01_T1 description: The Date.prototype has the property "constructor" ---*/ -if(Date.prototype.hasOwnProperty("constructor") !== true){ +if (Date.prototype.hasOwnProperty("constructor") !== true) { $ERROR('#1: The Date.prototype has the property "constructor"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A02_T1.js b/test/built-ins/Date/prototype/S15.9.5_A02_T1.js index dc4be9ce96..2eed4f1eb3 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A02_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A02_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A02_T1 description: The Date.prototype has the property "toString" ---*/ -if(Date.prototype.hasOwnProperty("toString") !== true){ +if (Date.prototype.hasOwnProperty("toString") !== true) { $ERROR('#1: The Date.prototype has the property "toString"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A03_T1.js b/test/built-ins/Date/prototype/S15.9.5_A03_T1.js index 9aefb6afe5..0ee361179e 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A03_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A03_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A03_T1 description: The Date.prototype has the property "toDateString" ---*/ -if(Date.prototype.hasOwnProperty("toDateString") !== true){ +if (Date.prototype.hasOwnProperty("toDateString") !== true) { $ERROR('#1: The Date.prototype has the property "toDateString"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A04_T1.js b/test/built-ins/Date/prototype/S15.9.5_A04_T1.js index 45f26ff7b3..c069dc245b 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A04_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A04_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A04_T1 description: The Date.prototype has the property "toTimeString" ---*/ -if(Date.prototype.hasOwnProperty("toTimeString") !== true){ +if (Date.prototype.hasOwnProperty("toTimeString") !== true) { $ERROR('#1: The Date.prototype has the property "toTimeString"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A05_T1.js b/test/built-ins/Date/prototype/S15.9.5_A05_T1.js index 748d927ddb..93d0473d5f 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A05_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A05_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A05_T1 description: The Date.prototype has the property "toLocaleString" ---*/ -if(Date.prototype.hasOwnProperty("toLocaleString") !== true){ +if (Date.prototype.hasOwnProperty("toLocaleString") !== true) { $ERROR('#1: The Date.prototype has the property "toLocaleString"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A06_T1.js b/test/built-ins/Date/prototype/S15.9.5_A06_T1.js index 1c3a6f0fa2..03d792523b 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A06_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A06_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A06_T1 description: The Date.prototype has the property "toLocaleDateString" ---*/ -if(Date.prototype.hasOwnProperty("toLocaleDateString") !== true){ +if (Date.prototype.hasOwnProperty("toLocaleDateString") !== true) { $ERROR('#1: The Date.prototype has the property "toLocaleDateString"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A07_T1.js b/test/built-ins/Date/prototype/S15.9.5_A07_T1.js index eb79567f32..d4e616a3b0 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A07_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A07_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A07_T1 description: The Date.prototype has the property "toLocaleTimeString" ---*/ -if(Date.prototype.hasOwnProperty("toLocaleTimeString") !== true){ +if (Date.prototype.hasOwnProperty("toLocaleTimeString") !== true) { $ERROR('#1: The Date.prototype has the property "toLocaleTimeString"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A08_T1.js b/test/built-ins/Date/prototype/S15.9.5_A08_T1.js index bb69276387..956c540300 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A08_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A08_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A08_T1 description: The Date.prototype has the property "valueOf" ---*/ -if(Date.prototype.hasOwnProperty("valueOf") !== true){ +if (Date.prototype.hasOwnProperty("valueOf") !== true) { $ERROR('#1: The Date.prototype has the property "valueOf"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A09_T1.js b/test/built-ins/Date/prototype/S15.9.5_A09_T1.js index 7f28f0e7e7..1702b4f796 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A09_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A09_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A09_T1 description: The Date.prototype has the property "getTime" ---*/ -if(Date.prototype.hasOwnProperty("getTime") !== true){ +if (Date.prototype.hasOwnProperty("getTime") !== true) { $ERROR('#1: The Date.prototype has the property "getTime"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A10_T1.js b/test/built-ins/Date/prototype/S15.9.5_A10_T1.js index 4c6c2369d2..a97e2830e6 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A10_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A10_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A10_T1 description: The Date.prototype has the property "getFullYear" ---*/ -if(Date.prototype.hasOwnProperty("getFullYear") !== true){ +if (Date.prototype.hasOwnProperty("getFullYear") !== true) { $ERROR('#1: The Date.prototype has the property "getFullYear"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A11_T1.js b/test/built-ins/Date/prototype/S15.9.5_A11_T1.js index 2e12494f19..a808725adf 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A11_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A11_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A11_T1 description: The Date.prototype has the property "getUTCFullYear" ---*/ -if(Date.prototype.hasOwnProperty("getUTCFullYear") !== true){ +if (Date.prototype.hasOwnProperty("getUTCFullYear") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCFullYear"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A12_T1.js b/test/built-ins/Date/prototype/S15.9.5_A12_T1.js index 22a6ea411d..8d697d6659 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A12_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A12_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A12_T1 description: The Date.prototype has the property "getMonth" ---*/ -if(Date.prototype.hasOwnProperty("getMonth") !== true){ +if (Date.prototype.hasOwnProperty("getMonth") !== true) { $ERROR('#1: The Date.prototype has the property "getMonth"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A13_T1.js b/test/built-ins/Date/prototype/S15.9.5_A13_T1.js index f99b87ae63..4e8e7e1c6d 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A13_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A13_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A13_T1 description: The Date.prototype has the property "getUTCMonth" ---*/ -if(Date.prototype.hasOwnProperty("getUTCMonth") !== true){ +if (Date.prototype.hasOwnProperty("getUTCMonth") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCMonth"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A14_T1.js b/test/built-ins/Date/prototype/S15.9.5_A14_T1.js index 6decf276d5..901af6df6b 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A14_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A14_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A14_T1 description: The Date.prototype has the property "getDate" ---*/ -if(Date.prototype.hasOwnProperty("getDate") !== true){ +if (Date.prototype.hasOwnProperty("getDate") !== true) { $ERROR('#1: The Date.prototype has the property "getDate"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A15_T1.js b/test/built-ins/Date/prototype/S15.9.5_A15_T1.js index 8ea5416202..1ea076f8b7 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A15_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A15_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A15_T1 description: The Date.prototype has the property "getUTCDate" ---*/ -if(Date.prototype.hasOwnProperty("getUTCDate") !== true){ +if (Date.prototype.hasOwnProperty("getUTCDate") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCDate"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A16_T1.js b/test/built-ins/Date/prototype/S15.9.5_A16_T1.js index f45c81f911..e6e74d724c 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A16_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A16_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A16_T1 description: The Date.prototype has the property "getDay" ---*/ -if(Date.prototype.hasOwnProperty("getDay") !== true){ +if (Date.prototype.hasOwnProperty("getDay") !== true) { $ERROR('#1: The Date.prototype has the property "getDay"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A17_T1.js b/test/built-ins/Date/prototype/S15.9.5_A17_T1.js index f4131a3870..a1bfd2a829 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A17_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A17_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A17_T1 description: The Date.prototype has the property "getUTCDay" ---*/ -if(Date.prototype.hasOwnProperty("getUTCDay") !== true){ +if (Date.prototype.hasOwnProperty("getUTCDay") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCDay"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A18_T1.js b/test/built-ins/Date/prototype/S15.9.5_A18_T1.js index 1bfad7eddd..b0c5d99148 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A18_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A18_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A18_T1 description: The Date.prototype has the property "getHours" ---*/ -if(Date.prototype.hasOwnProperty("getHours") !== true){ +if (Date.prototype.hasOwnProperty("getHours") !== true) { $ERROR('#1: The Date.prototype has the property "getHours"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A19_T1.js b/test/built-ins/Date/prototype/S15.9.5_A19_T1.js index d023a173d9..121995f933 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A19_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A19_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A19_T1 description: The Date.prototype has the property "getUTCHours" ---*/ -if(Date.prototype.hasOwnProperty("getUTCHours") !== true){ +if (Date.prototype.hasOwnProperty("getUTCHours") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCHours"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A20_T1.js b/test/built-ins/Date/prototype/S15.9.5_A20_T1.js index fa1eb9a962..91af4cab85 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A20_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A20_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A20_T1 description: The Date.prototype has the property "getMinutes" ---*/ -if(Date.prototype.hasOwnProperty("getMinutes") !== true){ +if (Date.prototype.hasOwnProperty("getMinutes") !== true) { $ERROR('#1: The Date.prototype has the property "getMinutes"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A21_T1.js b/test/built-ins/Date/prototype/S15.9.5_A21_T1.js index 004239f0b2..f6b144d329 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A21_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A21_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A21_T1 description: The Date.prototype has the property "getUTCMinutes" ---*/ -if(Date.prototype.hasOwnProperty("getUTCMinutes") !== true){ +if (Date.prototype.hasOwnProperty("getUTCMinutes") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCMinutes"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A22_T1.js b/test/built-ins/Date/prototype/S15.9.5_A22_T1.js index 77de3c9645..7e06d80203 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A22_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A22_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A22_T1 description: The Date.prototype has the property "getSeconds" ---*/ -if(Date.prototype.hasOwnProperty("getSeconds") !== true){ +if (Date.prototype.hasOwnProperty("getSeconds") !== true) { $ERROR('#1: The Date.prototype has the property "getSeconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A23_T1.js b/test/built-ins/Date/prototype/S15.9.5_A23_T1.js index 63cc548530..8dab8344e2 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A23_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A23_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A23_T1 description: The Date.prototype has the property "getUTCSeconds" ---*/ -if(Date.prototype.hasOwnProperty("getUTCSeconds") !== true){ +if (Date.prototype.hasOwnProperty("getUTCSeconds") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCSeconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A24_T1.js b/test/built-ins/Date/prototype/S15.9.5_A24_T1.js index 745978484b..62bf0c5fe8 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A24_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A24_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A24_T1 description: The Date.prototype has the property "getMilliseconds" ---*/ -if(Date.prototype.hasOwnProperty("getMilliseconds") !== true){ +if (Date.prototype.hasOwnProperty("getMilliseconds") !== true) { $ERROR('#1: The Date.prototype has the property "getMilliseconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A25_T1.js b/test/built-ins/Date/prototype/S15.9.5_A25_T1.js index 945c9f4951..a3fa23e11e 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A25_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A25_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A25_T1 description: The Date.prototype has the property "getUTCMilliseconds" ---*/ -if(Date.prototype.hasOwnProperty("getUTCMilliseconds") !== true){ +if (Date.prototype.hasOwnProperty("getUTCMilliseconds") !== true) { $ERROR('#1: The Date.prototype has the property "getUTCMilliseconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A26_T1.js b/test/built-ins/Date/prototype/S15.9.5_A26_T1.js index 2b04f057b0..dce48a446e 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A26_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A26_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A26_T1 description: The Date.prototype has the property "getTimezoneOffset" ---*/ -if(Date.prototype.hasOwnProperty("getTimezoneOffset") !== true){ +if (Date.prototype.hasOwnProperty("getTimezoneOffset") !== true) { $ERROR('#1: The Date.prototype has the property "getTimezoneOffset"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A27_T1.js b/test/built-ins/Date/prototype/S15.9.5_A27_T1.js index 29ca2ca874..5cfb076ede 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A27_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A27_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A27_T1 description: The Date.prototype has the property "setTime" ---*/ -if(Date.prototype.hasOwnProperty("setTime") !== true){ +if (Date.prototype.hasOwnProperty("setTime") !== true) { $ERROR('#1: The Date.prototype has the property "setTime"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A28_T1.js b/test/built-ins/Date/prototype/S15.9.5_A28_T1.js index 757515d0ac..9477085b7a 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A28_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A28_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A28_T1 description: The Date.prototype has the property "setMilliseconds" ---*/ -if(Date.prototype.hasOwnProperty("setMilliseconds") !== true){ +if (Date.prototype.hasOwnProperty("setMilliseconds") !== true) { $ERROR('#1: The Date.prototype has the property "setMilliseconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A29_T1.js b/test/built-ins/Date/prototype/S15.9.5_A29_T1.js index 73e634993c..c9fe329cb4 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A29_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A29_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A29_T1 description: The Date.prototype has the property "setUTCMilliseconds" ---*/ -if(Date.prototype.hasOwnProperty("setUTCMilliseconds") !== true){ +if (Date.prototype.hasOwnProperty("setUTCMilliseconds") !== true) { $ERROR('#1: The Date.prototype has the property "setUTCMilliseconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A30_T1.js b/test/built-ins/Date/prototype/S15.9.5_A30_T1.js index 87df1a9224..e65718a734 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A30_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A30_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A30_T1 description: The Date.prototype has the property "setSeconds" ---*/ -if(Date.prototype.hasOwnProperty("setSeconds") !== true){ +if (Date.prototype.hasOwnProperty("setSeconds") !== true) { $ERROR('#1: The Date.prototype has the property "setSeconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A31_T1.js b/test/built-ins/Date/prototype/S15.9.5_A31_T1.js index 332509563c..64f801900c 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A31_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A31_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A31_T1 description: The Date.prototype has the property "setUTCSeconds" ---*/ -if(Date.prototype.hasOwnProperty("setUTCSeconds") !== true){ +if (Date.prototype.hasOwnProperty("setUTCSeconds") !== true) { $ERROR('#1: The Date.prototype has the property "setUTCSeconds"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A32_T1.js b/test/built-ins/Date/prototype/S15.9.5_A32_T1.js index 086486601e..19e349e8b1 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A32_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A32_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A32_T1 description: The Date.prototype has the property "setMinutes" ---*/ -if(Date.prototype.hasOwnProperty("setMinutes") !== true){ +if (Date.prototype.hasOwnProperty("setMinutes") !== true) { $ERROR('#1: The Date.prototype has the property "setMinutes"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A33_T1.js b/test/built-ins/Date/prototype/S15.9.5_A33_T1.js index e64d4dade1..85f07b5f2f 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A33_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A33_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A33_T1 description: The Date.prototype has the property "setUTCMinutes" ---*/ -if(Date.prototype.hasOwnProperty("setUTCMinutes") !== true){ +if (Date.prototype.hasOwnProperty("setUTCMinutes") !== true) { $ERROR('#1: The Date.prototype has the property "setUTCMinutes"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A34_T1.js b/test/built-ins/Date/prototype/S15.9.5_A34_T1.js index 887364be28..4810950ba9 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A34_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A34_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A34_T1 description: The Date.prototype has the property "setHours" ---*/ -if(Date.prototype.hasOwnProperty("setHours") !== true){ +if (Date.prototype.hasOwnProperty("setHours") !== true) { $ERROR('#1: The Date.prototype has the property "setHours"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A35_T1.js b/test/built-ins/Date/prototype/S15.9.5_A35_T1.js index ef6a352ada..c2a98b4144 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A35_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A35_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A35_T1 description: The Date.prototype has the property "setUTCHours" ---*/ -if(Date.prototype.hasOwnProperty("setUTCHours") !== true){ +if (Date.prototype.hasOwnProperty("setUTCHours") !== true) { $ERROR('#1: The Date.prototype has the property "setUTCHours"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A36_T1.js b/test/built-ins/Date/prototype/S15.9.5_A36_T1.js index 7eff330465..4fa278360c 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A36_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A36_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A36_T1 description: The Date.prototype has the property "setDate" ---*/ -if(Date.prototype.hasOwnProperty("setDate") !== true){ +if (Date.prototype.hasOwnProperty("setDate") !== true) { $ERROR('#1: The Date.prototype has the property "setDate"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A37_T1.js b/test/built-ins/Date/prototype/S15.9.5_A37_T1.js index 2d76fab112..1c88f55bd9 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A37_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A37_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A37_T1 description: The Date.prototype has the property "setUTCDate" ---*/ -if(Date.prototype.hasOwnProperty("setUTCDate") !== true){ +if (Date.prototype.hasOwnProperty("setUTCDate") !== true) { $ERROR('#1: The Date.prototype has the property "setUTCDate"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A38_T1.js b/test/built-ins/Date/prototype/S15.9.5_A38_T1.js index 562c03ec12..1b4ce8b06a 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A38_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A38_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A38_T1 description: The Date.prototype has the property "setMonth" ---*/ -if(Date.prototype.hasOwnProperty("setMonth") !== true){ +if (Date.prototype.hasOwnProperty("setMonth") !== true) { $ERROR('#1: The Date.prototype has the property "setMonth"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A39_T1.js b/test/built-ins/Date/prototype/S15.9.5_A39_T1.js index b5d13f4bff..0798b71487 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A39_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A39_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A39_T1 description: The Date.prototype has the property "setUTCMonth" ---*/ -if(Date.prototype.hasOwnProperty("setUTCMonth") !== true){ +if (Date.prototype.hasOwnProperty("setUTCMonth") !== true) { $ERROR('#1: The Date.prototype has the property "setUTCMonth"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A40_T1.js b/test/built-ins/Date/prototype/S15.9.5_A40_T1.js index 096cb7f621..b32f6858f7 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A40_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A40_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A40_T1 description: The Date.prototype has the property "setFullYear" ---*/ -if(Date.prototype.hasOwnProperty("setFullYear") !== true){ +if (Date.prototype.hasOwnProperty("setFullYear") !== true) { $ERROR('#1: The Date.prototype has the property "setFullYear"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A41_T1.js b/test/built-ins/Date/prototype/S15.9.5_A41_T1.js index af8535a377..879e1bfc91 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A41_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A41_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A41_T1 description: The Date.prototype has the property "setUTCFullYear" ---*/ -if(Date.prototype.hasOwnProperty("setUTCFullYear") !== true){ +if (Date.prototype.hasOwnProperty("setUTCFullYear") !== true) { $ERROR('#1: The Date.prototype has the property "setUTCFullYear"'); } diff --git a/test/built-ins/Date/prototype/S15.9.5_A42_T1.js b/test/built-ins/Date/prototype/S15.9.5_A42_T1.js index c6c4eb4b44..61dc0ef4cb 100644 --- a/test/built-ins/Date/prototype/S15.9.5_A42_T1.js +++ b/test/built-ins/Date/prototype/S15.9.5_A42_T1.js @@ -8,6 +8,6 @@ es5id: 15.9.5_A42_T1 description: The Date.prototype has the property "toUTCString" ---*/ -if(Date.prototype.hasOwnProperty("toUTCString") !== true){ +if (Date.prototype.hasOwnProperty("toUTCString") !== true) { $ERROR('#1: The Date.prototype has the property "toUTCString"'); } diff --git a/test/built-ins/Date/prototype/Symbol.toPrimitive/hint-invalid.js b/test/built-ins/Date/prototype/Symbol.toPrimitive/hint-invalid.js index 61e0ee127b..207f28c6ad 100644 --- a/test/built-ins/Date/prototype/Symbol.toPrimitive/hint-invalid.js +++ b/test/built-ins/Date/prototype/Symbol.toPrimitive/hint-invalid.js @@ -48,5 +48,9 @@ assert.throws(TypeError, function() { }); assert.throws(TypeError, function() { - d[Symbol.toPrimitive]({ toString: function() { 'number'; } }); + d[Symbol.toPrimitive]({ + toString: function() { + 'number'; + } + }); }); 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 015869e875..7b31914c45 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.constructor; -if(x === 1) +if (x === 1) Date.prototype.constructor = 2; else Date.prototype.constructor = 1; diff --git a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T2.js b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T2.js index 1969ffc3e6..fb7f638138 100644 --- a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T2.js +++ b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.1_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.constructor === false) { +if (delete Date.prototype.constructor === false) { $ERROR('#1: The Date.prototype.constructor property has not the attributes DontDelete'); } 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 4c0bd7cb39..585613408a 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('constructor')) { $ERROR('#1: The Date.prototype.constructor property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "constructor") { +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_A2_T1.js b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A2_T1.js index e7fe30436b..49cd15ab26 100644 --- a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A2_T1.js +++ b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.1_A2_T1 description: The "length" property of the "constructor" is 7 ---*/ -if(Date.prototype.constructor.hasOwnProperty("length") !== true){ +if (Date.prototype.constructor.hasOwnProperty("length") !== true) { $ERROR('#1: The constructor has a "length" property'); } -if(Date.prototype.constructor.length !== 7){ +if (Date.prototype.constructor.length !== 7) { $ERROR('#2: The "length" property of the constructor is 7'); } diff --git a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T2.js b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T2.js index 529e66b44d..b5beb2284d 100644 --- a/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T2.js +++ b/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.1_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.constructor.length !== true) { +if (delete Date.prototype.constructor.length !== true) { $ERROR('#1: The Date.prototype.constructor.length property does not have the attributes DontDelete'); } 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 e913c47d30..d920a2e816 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 @@ -14,8 +14,8 @@ if (Date.prototype.constructor.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.constructor.length property has the attribute DontEnum'); } -for(var x in Date.prototype.constructor) { - if(x === "length") { +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 602a86f0e6..3a75f29c6e 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getDate; -if(x === 1) +if (x === 1) Date.prototype.getDate = 2; else Date.prototype.getDate = 1; diff --git a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T2.js b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T2.js index 1b88c0dfa1..61047cc755 100644 --- a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T2.js +++ b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.14_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getDate === false) { +if (delete Date.prototype.getDate === false) { $ERROR('#1: The Date.prototype.getDate property has not the attributes DontDelete'); } 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 8c8984d235..76ad845df2 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getDate')) { $ERROR('#1: The Date.prototype.getDate property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getDate") { +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_A2_T1.js b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A2_T1.js index 14a92d6e3d..4756c8aa0d 100644 --- a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A2_T1.js +++ b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.14_A2_T1 description: The "length" property of the "getDate" is 0 ---*/ -if(Date.prototype.getDate.hasOwnProperty("length") !== true){ +if (Date.prototype.getDate.hasOwnProperty("length") !== true) { $ERROR('#1: The getDate has a "length" property'); } -if(Date.prototype.getDate.length !== 0){ +if (Date.prototype.getDate.length !== 0) { $ERROR('#2: The "length" property of the getDate is 0'); } diff --git a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T2.js b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T2.js index d52223e2dc..464dd1a2f5 100644 --- a/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T2.js +++ b/test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.14_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getDate.length !== true) { +if (delete Date.prototype.getDate.length !== true) { $ERROR('#1: The Date.prototype.getDate.length property does not have the attributes DontDelete'); } 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 2bfb76a144..1838bde8e8 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 @@ -14,8 +14,8 @@ if (Date.prototype.getDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getDate.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getDate) { - if(x === "length") { +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/getDate/this-value-non-date.js b/test/built-ins/Date/prototype/getDate/this-value-non-date.js index 6734712ca1..31eb39ad36 100644 --- a/test/built-ins/Date/prototype/getDate/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getDate/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getDate = Date.prototype.getDate; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getDate, 'function'); 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 646100bc1b..dd0195edc3 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getDay; -if(x === 1) +if (x === 1) Date.prototype.getDay = 2; else Date.prototype.getDay = 1; diff --git a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T2.js b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T2.js index 2524225ed7..dc5b545841 100644 --- a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T2.js +++ b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.16_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getDay === false) { +if (delete Date.prototype.getDay === false) { $ERROR('#1: The Date.prototype.getDay property has not the attributes DontDelete'); } 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 ec4cc8a1aa..d7c241aaad 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getDay')) { $ERROR('#1: The Date.prototype.getDay property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getDay") { +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_A2_T1.js b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A2_T1.js index a1d10c6dca..f9ab232680 100644 --- a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A2_T1.js +++ b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.16_A2_T1 description: The "length" property of the "getDay" is 0 ---*/ -if(Date.prototype.getDay.hasOwnProperty("length") !== true){ +if (Date.prototype.getDay.hasOwnProperty("length") !== true) { $ERROR('#1: The getDay has a "length" property'); } -if(Date.prototype.getDay.length !== 0){ +if (Date.prototype.getDay.length !== 0) { $ERROR('#2: The "length" property of the getDay is 0'); } diff --git a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T2.js b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T2.js index 44019e9b98..fa7ea6a930 100644 --- a/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T2.js +++ b/test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.16_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getDay.length !== true) { +if (delete Date.prototype.getDay.length !== true) { $ERROR('#1: The Date.prototype.getDay.length property does not have the attributes DontDelete'); } 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 8d062a86b6..e0c5e04e38 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 @@ -14,8 +14,8 @@ if (Date.prototype.getDay.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getDay.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getDay) { - if(x === "length") { +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/getDay/this-value-non-date.js b/test/built-ins/Date/prototype/getDay/this-value-non-date.js index 71adf2c099..f03661dd90 100644 --- a/test/built-ins/Date/prototype/getDay/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getDay/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getDay = Date.prototype.getDay; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getDay, 'function'); 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 e965ed28db..54897a558c 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getFullYear; -if(x === 1) +if (x === 1) Date.prototype.getFullYear = 2; else Date.prototype.getFullYear = 1; diff --git a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T2.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T2.js index 087abbffb7..bfc30f4390 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T2.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.10_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getFullYear === false) { +if (delete Date.prototype.getFullYear === false) { $ERROR('#1: The Date.prototype.getFullYear property has not the attributes DontDelete'); } 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 e410c92139..bc6e973095 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getFullYear')) { $ERROR('#1: The Date.prototype.getFullYear property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getFullYear") { +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_A2_T1.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A2_T1.js index 76682ac390..e6126c6a1c 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A2_T1.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.10_A2_T1 description: The "length" property of the "getFullYear" is 0 ---*/ -if(Date.prototype.getFullYear.hasOwnProperty("length") !== true){ +if (Date.prototype.getFullYear.hasOwnProperty("length") !== true) { $ERROR('#1: The getFullYear has a "length" property'); } -if(Date.prototype.getFullYear.length !== 0){ +if (Date.prototype.getFullYear.length !== 0) { $ERROR('#2: The "length" property of the getFullYear is 0'); } diff --git a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T2.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T2.js index 8b35eb11b0..9bdbc7d895 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T2.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.10_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getFullYear.length !== true) { +if (delete Date.prototype.getFullYear.length !== true) { $ERROR('#1: The Date.prototype.getFullYear.length property does not have the attributes DontDelete'); } 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 36e66960f2..7fedce52a1 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 @@ -14,8 +14,8 @@ if (Date.prototype.getFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getFullYear.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getFullYear) { - if(x === "length") { +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/getFullYear/this-value-non-date.js b/test/built-ins/Date/prototype/getFullYear/this-value-non-date.js index db86b65f9b..f191bd5a6c 100644 --- a/test/built-ins/Date/prototype/getFullYear/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getFullYear/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getFullYear = Date.prototype.getFullYear; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getFullYear, 'function'); 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 77a92e2fd6..b587f199e1 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getHours; -if(x === 1) +if (x === 1) Date.prototype.getHours = 2; else Date.prototype.getHours = 1; diff --git a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T2.js b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T2.js index b0c1a1677c..08824758c7 100644 --- a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T2.js +++ b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.18_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getHours === false) { +if (delete Date.prototype.getHours === false) { $ERROR('#1: The Date.prototype.getHours property has not the attributes DontDelete'); } 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 b9a4dd05bb..eb6d465017 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getHours')) { $ERROR('#1: The Date.prototype.getHours property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getHours") { +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_A2_T1.js b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A2_T1.js index 675c26289e..81af2ec449 100644 --- a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A2_T1.js +++ b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.18_A2_T1 description: The "length" property of the "getHours" is 0 ---*/ -if(Date.prototype.getHours.hasOwnProperty("length") !== true){ +if (Date.prototype.getHours.hasOwnProperty("length") !== true) { $ERROR('#1: The getHours has a "length" property'); } -if(Date.prototype.getHours.length !== 0){ +if (Date.prototype.getHours.length !== 0) { $ERROR('#2: The "length" property of the getHours is 0'); } diff --git a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T2.js b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T2.js index 44b4002599..2f00e05fd2 100644 --- a/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T2.js +++ b/test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.18_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getHours.length !== true) { +if (delete Date.prototype.getHours.length !== true) { $ERROR('#1: The Date.prototype.getHours.length property does not have the attributes DontDelete'); } 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 57b77bb9d0..ad3d3e28ab 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 @@ -14,8 +14,8 @@ if (Date.prototype.getHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getHours.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getHours) { - if(x === "length") { +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/getHours/this-value-non-date.js b/test/built-ins/Date/prototype/getHours/this-value-non-date.js index 7c922a9b22..075c0dd9ad 100644 --- a/test/built-ins/Date/prototype/getHours/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getHours/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getHours = Date.prototype.getHours; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getHours, 'function'); 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 765dcd7e05..d1e27ba34c 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getMilliseconds; -if(x === 1) +if (x === 1) Date.prototype.getMilliseconds = 2; else Date.prototype.getMilliseconds = 1; diff --git a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T2.js b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T2.js index f4e40a3e01..41309fa454 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T2.js +++ b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.24_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getMilliseconds === false) { +if (delete Date.prototype.getMilliseconds === false) { $ERROR('#1: The Date.prototype.getMilliseconds property has not the attributes DontDelete'); } 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 3e16f9726a..38483bcc47 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getMilliseconds')) { $ERROR('#1: The Date.prototype.getMilliseconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getMilliseconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A2_T1.js index 8ad8bf927f..e564b8cb8e 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A2_T1.js +++ b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.24_A2_T1 description: The "length" property of the "getMilliseconds" is 0 ---*/ -if(Date.prototype.getMilliseconds.hasOwnProperty("length") !== true){ +if (Date.prototype.getMilliseconds.hasOwnProperty("length") !== true) { $ERROR('#1: The getMilliseconds has a "length" property'); } -if(Date.prototype.getMilliseconds.length !== 0){ +if (Date.prototype.getMilliseconds.length !== 0) { $ERROR('#2: The "length" property of the getMilliseconds is 0'); } diff --git a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T2.js b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T2.js index 47e7ee0fd6..02f01b39ea 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T2.js +++ b/test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.24_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getMilliseconds.length !== true) { +if (delete Date.prototype.getMilliseconds.length !== true) { $ERROR('#1: The Date.prototype.getMilliseconds.length property does not have the attributes DontDelete'); } 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 fd1e1c6749..303c244a2c 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 @@ -14,8 +14,8 @@ if (Date.prototype.getMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMilliseconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getMilliseconds) { - if(x === "length") { +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/getMilliseconds/this-value-non-date.js b/test/built-ins/Date/prototype/getMilliseconds/this-value-non-date.js index 1c71dc3839..284cbcbfed 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getMilliseconds/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getMilliseconds = Date.prototype.getMilliseconds; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getMilliseconds, 'function'); 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 f3d30e6bfc..b41afec04f 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getMinutes; -if(x === 1) +if (x === 1) Date.prototype.getMinutes = 2; else Date.prototype.getMinutes = 1; diff --git a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T2.js b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T2.js index 0ef2017329..a219893050 100644 --- a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T2.js +++ b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.20_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getMinutes === false) { +if (delete Date.prototype.getMinutes === false) { $ERROR('#1: The Date.prototype.getMinutes property has not the attributes DontDelete'); } 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 bf774828d6..5992ea3fe6 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getMinutes')) { $ERROR('#1: The Date.prototype.getMinutes property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getMinutes") { +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_A2_T1.js b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A2_T1.js index 92f972fb11..6b83032daf 100644 --- a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A2_T1.js +++ b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.20_A2_T1 description: The "length" property of the "getMinutes" is 0 ---*/ -if(Date.prototype.getMinutes.hasOwnProperty("length") !== true){ +if (Date.prototype.getMinutes.hasOwnProperty("length") !== true) { $ERROR('#1: The getMinutes has a "length" property'); } -if(Date.prototype.getMinutes.length !== 0){ +if (Date.prototype.getMinutes.length !== 0) { $ERROR('#2: The "length" property of the getMinutes is 0'); } diff --git a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T2.js b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T2.js index 7d6952bf71..f8b013db84 100644 --- a/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T2.js +++ b/test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.20_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getMinutes.length !== true) { +if (delete Date.prototype.getMinutes.length !== true) { $ERROR('#1: The Date.prototype.getMinutes.length property does not have the attributes DontDelete'); } 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 35b1fe5fa6..92454620e9 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 @@ -14,8 +14,8 @@ if (Date.prototype.getMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMinutes.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getMinutes) { - if(x === "length") { +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/getMinutes/this-value-non-date.js b/test/built-ins/Date/prototype/getMinutes/this-value-non-date.js index b8e220a5aa..1eca182ac0 100644 --- a/test/built-ins/Date/prototype/getMinutes/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getMinutes/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getMinutes = Date.prototype.getMinutes; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getMinutes, 'function'); 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 98da5f955e..a21e5c917d 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getMonth; -if(x === 1) +if (x === 1) Date.prototype.getMonth = 2; else Date.prototype.getMonth = 1; diff --git a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T2.js b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T2.js index 82c5bc31fc..1ebae46de9 100644 --- a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T2.js +++ b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.12_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getMonth === false) { +if (delete Date.prototype.getMonth === false) { $ERROR('#1: The Date.prototype.getMonth property has not the attributes DontDelete'); } 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 45b981bf70..ad2707c4c4 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getMonth')) { $ERROR('#1: The Date.prototype.getMonth property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getMonth") { +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_A2_T1.js b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A2_T1.js index 57b392e3c8..369327b27f 100644 --- a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A2_T1.js +++ b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.12_A2_T1 description: The "length" property of the "getMonth" is 0 ---*/ -if(Date.prototype.getMonth.hasOwnProperty("length") !== true){ +if (Date.prototype.getMonth.hasOwnProperty("length") !== true) { $ERROR('#1: The getMonth has a "length" property'); } -if(Date.prototype.getMonth.length !== 0){ +if (Date.prototype.getMonth.length !== 0) { $ERROR('#2: The "length" property of the getMonth is 0'); } diff --git a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T2.js b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T2.js index 7352f0fe7e..f138e4541d 100644 --- a/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T2.js +++ b/test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.12_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getMonth.length !== true) { +if (delete Date.prototype.getMonth.length !== true) { $ERROR('#1: The Date.prototype.getMonth.length property does not have the attributes DontDelete'); } 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 6f8e681676..ef10bf2164 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 @@ -14,8 +14,8 @@ if (Date.prototype.getMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMonth.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getMonth) { - if(x === "length") { +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/getMonth/this-value-non-date.js b/test/built-ins/Date/prototype/getMonth/this-value-non-date.js index 35e9a49c8c..0dbd2ef096 100644 --- a/test/built-ins/Date/prototype/getMonth/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getMonth/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getMonth = Date.prototype.getMonth; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getMonth, 'function'); 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 2a323bf2f8..c3ecf96709 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getSeconds; -if(x === 1) +if (x === 1) Date.prototype.getSeconds = 2; else Date.prototype.getSeconds = 1; diff --git a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T2.js b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T2.js index 5a54ceef22..0f5b25ac6b 100644 --- a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T2.js +++ b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.22_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getSeconds === false) { +if (delete Date.prototype.getSeconds === false) { $ERROR('#1: The Date.prototype.getSeconds property has not the attributes DontDelete'); } 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 8bdef21e52..c8ef094ed0 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getSeconds')) { $ERROR('#1: The Date.prototype.getSeconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getSeconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A2_T1.js index 2421448a40..4670ca41c6 100644 --- a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A2_T1.js +++ b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.22_A2_T1 description: The "length" property of the "getSeconds" is 0 ---*/ -if(Date.prototype.getSeconds.hasOwnProperty("length") !== true){ +if (Date.prototype.getSeconds.hasOwnProperty("length") !== true) { $ERROR('#1: The getSeconds has a "length" property'); } -if(Date.prototype.getSeconds.length !== 0){ +if (Date.prototype.getSeconds.length !== 0) { $ERROR('#2: The "length" property of the getSeconds is 0'); } diff --git a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T2.js b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T2.js index 0d15087da5..6bf3900c9b 100644 --- a/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T2.js +++ b/test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.22_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getSeconds.length !== true) { +if (delete Date.prototype.getSeconds.length !== true) { $ERROR('#1: The Date.prototype.getSeconds.length property does not have the attributes DontDelete'); } 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 f60e804892..5f3a77b801 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 @@ -14,8 +14,8 @@ if (Date.prototype.getSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getSeconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getSeconds) { - if(x === "length") { +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/getSeconds/this-value-non-date.js b/test/built-ins/Date/prototype/getSeconds/this-value-non-date.js index e2068723ea..01b061bb67 100644 --- a/test/built-ins/Date/prototype/getSeconds/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getSeconds/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getSeconds = Date.prototype.getSeconds; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getSeconds, 'function'); 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 48649c664f..d64c25bda6 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getTime; -if(x === 1) +if (x === 1) Date.prototype.getTime = 2; else Date.prototype.getTime = 1; diff --git a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T2.js b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T2.js index f8989220a0..c492eeb3e0 100644 --- a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T2.js +++ b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.9_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getTime === false) { +if (delete Date.prototype.getTime === false) { $ERROR('#1: The Date.prototype.getTime property has not the attributes DontDelete'); } 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 c390183cc0..03899aedbd 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getTime')) { $ERROR('#1: The Date.prototype.getTime property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getTime") { +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_A2_T1.js b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A2_T1.js index 3c58405328..bfb10ee717 100644 --- a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A2_T1.js +++ b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.9_A2_T1 description: The "length" property of the "getTime" is 0 ---*/ -if(Date.prototype.getTime.hasOwnProperty("length") !== true){ +if (Date.prototype.getTime.hasOwnProperty("length") !== true) { $ERROR('#1: The getTime has a "length" property'); } -if(Date.prototype.getTime.length !== 0){ +if (Date.prototype.getTime.length !== 0) { $ERROR('#2: The "length" property of the getTime is 0'); } diff --git a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T2.js b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T2.js index 7a966b47f0..ed9a191ef7 100644 --- a/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T2.js +++ b/test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.9_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getTime.length !== true) { +if (delete Date.prototype.getTime.length !== true) { $ERROR('#1: The Date.prototype.getTime.length property does not have the attributes DontDelete'); } 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 bdd9c3d202..9c70eb7d3f 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 @@ -14,8 +14,8 @@ if (Date.prototype.getTime.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getTime.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getTime) { - if(x === "length") { +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/getTime/this-value-non-date.js b/test/built-ins/Date/prototype/getTime/this-value-non-date.js index ee4bb53d55..5e97078b72 100644 --- a/test/built-ins/Date/prototype/getTime/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getTime/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getTime = Date.prototype.getTime; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getTime, 'function'); 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 7255118e1b..f3a664fcb3 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 @@ -11,7 +11,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getTimezoneOffset; -if(x === 1) +if (x === 1) Date.prototype.getTimezoneOffset = 2; else Date.prototype.getTimezoneOffset = 1; diff --git a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T2.js b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T2.js index 721d0a6572..553711f41a 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T2.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.26_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getTimezoneOffset === false) { +if (delete Date.prototype.getTimezoneOffset === false) { $ERROR('#1: The Date.prototype.getTimezoneOffset property has not the attributes DontDelete'); } 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 d52abbf4c5..6665c7a287 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 @@ -14,8 +14,8 @@ if (Date.prototype.propertyIsEnumerable('getTimezoneOffset')) { $ERROR('#1: The Date.prototype.getTimezoneOffset property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getTimezoneOffset") { +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_A2_T1.js b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A2_T1.js index 75f1923f74..606a8b167c 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A2_T1.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.26_A2_T1 description: The "length" property of the "getTimezoneOffset" is 0 ---*/ -if(Date.prototype.getTimezoneOffset.hasOwnProperty("length") !== true){ +if (Date.prototype.getTimezoneOffset.hasOwnProperty("length") !== true) { $ERROR('#1: The getTimezoneOffset has a "length" property'); } -if(Date.prototype.getTimezoneOffset.length !== 0){ +if (Date.prototype.getTimezoneOffset.length !== 0) { $ERROR('#2: The "length" property of the getTimezoneOffset is 0'); } diff --git a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T2.js b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T2.js index 68b62628aa..2d122a8789 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T2.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.26_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getTimezoneOffset.length !== true) { +if (delete Date.prototype.getTimezoneOffset.length !== true) { $ERROR('#1: The Date.prototype.getTimezoneOffset.length property does not have the attributes DontDelete'); } 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 e49b97ebe2..07d60f18af 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 @@ -14,8 +14,8 @@ if (Date.prototype.getTimezoneOffset.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getTimezoneOffset.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getTimezoneOffset) { - if(x === "length") { +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/getTimezoneOffset/this-value-non-date.js b/test/built-ins/Date/prototype/getTimezoneOffset/this-value-non-date.js index 5cda482118..a2babe656b 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getTimezoneOffset = Date.prototype.getTimezoneOffset; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getTimezoneOffset, 'function'); 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 2d827c88a1..a0dbe95e8d 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCDate; -if(x === 1) +if (x === 1) Date.prototype.getUTCDate = 2; else Date.prototype.getUTCDate = 1; diff --git a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T2.js b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T2.js index 70c26e2832..90ab47a5d4 100644 --- a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.15_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCDate === false) { +if (delete Date.prototype.getUTCDate === false) { $ERROR('#1: The Date.prototype.getUTCDate property has not the attributes DontDelete'); } 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 522c090fcf..e91f04ae88 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCDate')) { $ERROR('#1: The Date.prototype.getUTCDate property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCDate") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A2_T1.js index 92141a35ec..d9a4b4075c 100644 --- a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.15_A2_T1 description: The "length" property of the "getUTCDate" is 0 ---*/ -if(Date.prototype.getUTCDate.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCDate.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCDate has a "length" property'); } -if(Date.prototype.getUTCDate.length !== 0){ +if (Date.prototype.getUTCDate.length !== 0) { $ERROR('#2: The "length" property of the getUTCDate is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T2.js b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T2.js index e033667357..de279e6ea4 100644 --- a/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.15_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCDate.length !== true) { +if (delete Date.prototype.getUTCDate.length !== true) { $ERROR('#1: The Date.prototype.getUTCDate.length property does not have the attributes DontDelete'); } 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 780ec6ea48..5f7607bda7 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCDate.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCDate) { - if(x === "length") { +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/getUTCDate/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCDate/this-value-non-date.js index d2dae66340..19c4ffdb2c 100644 --- a/test/built-ins/Date/prototype/getUTCDate/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCDate/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCDate = Date.prototype.getUTCDate; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCDate, 'function'); 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 e7d0f56a33..b461a8e7b7 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCDay; -if(x === 1) +if (x === 1) Date.prototype.getUTCDay = 2; else Date.prototype.getUTCDay = 1; diff --git a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T2.js b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T2.js index 526741c0a6..05074a1e11 100644 --- a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.17_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCDay === false) { +if (delete Date.prototype.getUTCDay === false) { $ERROR('#1: The Date.prototype.getUTCDay property has not the attributes DontDelete'); } 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 49aeeec1b9..3c7bc11a95 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCDay')) { $ERROR('#1: The Date.prototype.getUTCDay property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCDay") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A2_T1.js index f506616e0c..616287d5b5 100644 --- a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.17_A2_T1 description: The "length" property of the "getUTCDay" is 0 ---*/ -if(Date.prototype.getUTCDay.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCDay.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCDay has a "length" property'); } -if(Date.prototype.getUTCDay.length !== 0){ +if (Date.prototype.getUTCDay.length !== 0) { $ERROR('#2: The "length" property of the getUTCDay is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T2.js b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T2.js index 0eac97f72c..e16a345ee9 100644 --- a/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.17_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCDay.length !== true) { +if (delete Date.prototype.getUTCDay.length !== true) { $ERROR('#1: The Date.prototype.getUTCDay.length property does not have the attributes DontDelete'); } 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 00f0e984ca..edbb9776c4 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCDay.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCDay.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCDay) { - if(x === "length") { +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/getUTCDay/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCDay/this-value-non-date.js index a7cbdb9531..156fe2099b 100644 --- a/test/built-ins/Date/prototype/getUTCDay/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCDay/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCDay = Date.prototype.getUTCDay; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCDay, 'function'); 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 b1fa8320d3..c96f0d581d 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCFullYear; -if(x === 1) +if (x === 1) Date.prototype.getUTCFullYear = 2; else Date.prototype.getUTCFullYear = 1; diff --git a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T2.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T2.js index 1af48d17c9..db54c4e560 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.11_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCFullYear === false) { +if (delete Date.prototype.getUTCFullYear === false) { $ERROR('#1: The Date.prototype.getUTCFullYear property has not the attributes DontDelete'); } 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 1a306a52af..76ac39c617 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCFullYear')) { $ERROR('#1: The Date.prototype.getUTCFullYear property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCFullYear") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A2_T1.js index 106f8dbfdf..392c4f2270 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.11_A2_T1 description: The "length" property of the "getUTCFullYear" is 0 ---*/ -if(Date.prototype.getUTCFullYear.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCFullYear.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCFullYear has a "length" property'); } -if(Date.prototype.getUTCFullYear.length !== 0){ +if (Date.prototype.getUTCFullYear.length !== 0) { $ERROR('#2: The "length" property of the getUTCFullYear is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T2.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T2.js index 587a257d1e..12616454fc 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.11_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCFullYear.length !== true) { +if (delete Date.prototype.getUTCFullYear.length !== true) { $ERROR('#1: The Date.prototype.getUTCFullYear.length property does not have the attributes DontDelete'); } 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 a2f421570d..973396f11d 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCFullYear.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCFullYear) { - if(x === "length") { +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/getUTCFullYear/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCFullYear/this-value-non-date.js index deb4325ec2..b64b3df416 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCFullYear = Date.prototype.getUTCFullYear; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCFullYear, 'function'); 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 7836d0c30b..a34f021090 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCHours; -if(x === 1) +if (x === 1) Date.prototype.getUTCHours = 2; else Date.prototype.getUTCHours = 1; diff --git a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T2.js b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T2.js index d874fb1620..da81ad63dd 100644 --- a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.19_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCHours === false) { +if (delete Date.prototype.getUTCHours === false) { $ERROR('#1: The Date.prototype.getUTCHours property has not the attributes DontDelete'); } 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 fd140cd31a..1109de1d06 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCHours')) { $ERROR('#1: The Date.prototype.getUTCHours property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCHours") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A2_T1.js index 040c4f959e..1d9e61e9fd 100644 --- a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.19_A2_T1 description: The "length" property of the "getUTCHours" is 0 ---*/ -if(Date.prototype.getUTCHours.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCHours.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCHours has a "length" property'); } -if(Date.prototype.getUTCHours.length !== 0){ +if (Date.prototype.getUTCHours.length !== 0) { $ERROR('#2: The "length" property of the getUTCHours is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T2.js b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T2.js index 9d5cc21862..9a83ba9687 100644 --- a/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.19_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCHours.length !== true) { +if (delete Date.prototype.getUTCHours.length !== true) { $ERROR('#1: The Date.prototype.getUTCHours.length property does not have the attributes DontDelete'); } 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 4e567e4fa7..f8f01c1f6f 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCHours.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCHours) { - if(x === "length") { +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/getUTCHours/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCHours/this-value-non-date.js index 6eeee6196c..5a094cf771 100644 --- a/test/built-ins/Date/prototype/getUTCHours/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCHours/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCHours = Date.prototype.getUTCHours; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCHours, 'function'); 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 66f8ac106a..7ca02ffca5 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 @@ -11,7 +11,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCMilliseconds; -if(x === 1) +if (x === 1) Date.prototype.getUTCMilliseconds = 2; else Date.prototype.getUTCMilliseconds = 1; diff --git a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T2.js b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T2.js index 63c9005a29..5d8c8b31f6 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.25_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCMilliseconds === false) { +if (delete Date.prototype.getUTCMilliseconds === false) { $ERROR('#1: The Date.prototype.getUTCMilliseconds property has not the attributes DontDelete'); } 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 dcb5380849..0c0a8d319f 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 @@ -14,8 +14,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCMilliseconds')) { $ERROR('#1: The Date.prototype.getUTCMilliseconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCMilliseconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A2_T1.js index b14b5e9a4b..2d8a11c1bb 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.25_A2_T1 description: The "length" property of the "getUTCMilliseconds" is 0 ---*/ -if(Date.prototype.getUTCMilliseconds.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCMilliseconds.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCMilliseconds has a "length" property'); } -if(Date.prototype.getUTCMilliseconds.length !== 0){ +if (Date.prototype.getUTCMilliseconds.length !== 0) { $ERROR('#2: The "length" property of the getUTCMilliseconds is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T2.js b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T2.js index 665f2989e2..9b079694f4 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.25_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCMilliseconds.length !== true) { +if (delete Date.prototype.getUTCMilliseconds.length !== true) { $ERROR('#1: The Date.prototype.getUTCMilliseconds.length property does not have the attributes DontDelete'); } 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 3e94430804..7a33960ae2 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMilliseconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCMilliseconds) { - if(x === "length") { +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/getUTCMilliseconds/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCMilliseconds/this-value-non-date.js index f819746d16..6c20b2ed70 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCMilliseconds = Date.prototype.getUTCMilliseconds; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCMilliseconds, 'function'); 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 3ddc4e156d..de48fbbabe 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCMinutes; -if(x === 1) +if (x === 1) Date.prototype.getUTCMinutes = 2; else Date.prototype.getUTCMinutes = 1; diff --git a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T2.js b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T2.js index 7bca0c22de..04951c393d 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.21_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCMinutes === false) { +if (delete Date.prototype.getUTCMinutes === false) { $ERROR('#1: The Date.prototype.getUTCMinutes property has not the attributes DontDelete'); } 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 2cac17d360..bcf79fcdca 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCMinutes')) { $ERROR('#1: The Date.prototype.getUTCMinutes property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCMinutes") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A2_T1.js index ec48a54547..0704d95d0d 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.21_A2_T1 description: The "length" property of the "getUTCMinutes" is 0 ---*/ -if(Date.prototype.getUTCMinutes.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCMinutes.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCMinutes has a "length" property'); } -if(Date.prototype.getUTCMinutes.length !== 0){ +if (Date.prototype.getUTCMinutes.length !== 0) { $ERROR('#2: The "length" property of the getUTCMinutes is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T2.js b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T2.js index 6991e95303..c33ebaaea0 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.21_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCMinutes.length !== true) { +if (delete Date.prototype.getUTCMinutes.length !== true) { $ERROR('#1: The Date.prototype.getUTCMinutes.length property does not have the attributes DontDelete'); } 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 de2100e163..b5b26ff33e 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMinutes.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCMinutes) { - if(x === "length") { +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/getUTCMinutes/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCMinutes/this-value-non-date.js index d1ce694e4e..10e42c208c 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCMinutes = Date.prototype.getUTCMinutes; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCMinutes, 'function'); 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 705c403c3a..7e18abfda1 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCMonth; -if(x === 1) +if (x === 1) Date.prototype.getUTCMonth = 2; else Date.prototype.getUTCMonth = 1; diff --git a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T2.js b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T2.js index 9ea891483e..a36fde2dbd 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.13_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCMonth === false) { +if (delete Date.prototype.getUTCMonth === false) { $ERROR('#1: The Date.prototype.getUTCMonth property has not the attributes DontDelete'); } 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 70498de044..bdff66e89a 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCMonth')) { $ERROR('#1: The Date.prototype.getUTCMonth property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCMonth") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A2_T1.js index c75a98145a..987754bcce 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.13_A2_T1 description: The "length" property of the "getUTCMonth" is 0 ---*/ -if(Date.prototype.getUTCMonth.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCMonth.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCMonth has a "length" property'); } -if(Date.prototype.getUTCMonth.length !== 0){ +if (Date.prototype.getUTCMonth.length !== 0) { $ERROR('#2: The "length" property of the getUTCMonth is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T2.js b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T2.js index da0788086f..7f1b9e9110 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.13_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCMonth.length !== true) { +if (delete Date.prototype.getUTCMonth.length !== true) { $ERROR('#1: The Date.prototype.getUTCMonth.length property does not have the attributes DontDelete'); } 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 f6755a860c..f2258b3150 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMonth.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCMonth) { - if(x === "length") { +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/getUTCMonth/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCMonth/this-value-non-date.js index 0dacaba82f..cfb11a6a96 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCMonth/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCMonth = Date.prototype.getUTCMonth; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCMonth, 'function'); 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 b12f8f56c4..634414bb1e 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.getUTCSeconds; -if(x === 1) +if (x === 1) Date.prototype.getUTCSeconds = 2; else Date.prototype.getUTCSeconds = 1; diff --git a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T2.js b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T2.js index 80019c13ee..4a56c810f9 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T2.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.23_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.getUTCSeconds === false) { +if (delete Date.prototype.getUTCSeconds === false) { $ERROR('#1: The Date.prototype.getUTCSeconds property has not the attributes DontDelete'); } 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 1d0051b560..c727249732 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getUTCSeconds')) { $ERROR('#1: The Date.prototype.getUTCSeconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "getUTCSeconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A2_T1.js index 80a364e36e..e621eb0bcd 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A2_T1.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.23_A2_T1 description: The "length" property of the "getUTCSeconds" is 0 ---*/ -if(Date.prototype.getUTCSeconds.hasOwnProperty("length") !== true){ +if (Date.prototype.getUTCSeconds.hasOwnProperty("length") !== true) { $ERROR('#1: The getUTCSeconds has a "length" property'); } -if(Date.prototype.getUTCSeconds.length !== 0){ +if (Date.prototype.getUTCSeconds.length !== 0) { $ERROR('#2: The "length" property of the getUTCSeconds is 0'); } diff --git a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T2.js b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T2.js index 37ca26af5a..8ee7aa797a 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T2.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.23_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.getUTCSeconds.length !== true) { +if (delete Date.prototype.getUTCSeconds.length !== true) { $ERROR('#1: The Date.prototype.getUTCSeconds.length property does not have the attributes DontDelete'); } 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 208feef432..2a35566750 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 @@ -14,8 +14,8 @@ if (Date.prototype.getUTCSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCSeconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.getUTCSeconds) { - if(x === "length") { +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/getUTCSeconds/this-value-non-date.js b/test/built-ins/Date/prototype/getUTCSeconds/this-value-non-date.js index 0b4fc5f08b..7e05c14405 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/this-value-non-date.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/this-value-non-date.js @@ -16,7 +16,9 @@ info: | ---*/ var getUTCSeconds = Date.prototype.getUTCSeconds; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof getUTCSeconds, 'function'); 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 9745d426d9..44bf2281f4 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setDate; -if(x === 1) +if (x === 1) Date.prototype.setDate = 2; else Date.prototype.setDate = 1; diff --git a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T2.js b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T2.js index ead65ce16e..106d19e4f3 100644 --- a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T2.js +++ b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.36_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setDate === false) { +if (delete Date.prototype.setDate === false) { $ERROR('#1: The Date.prototype.setDate property has not the attributes DontDelete'); } 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 9d30e635bc..90cdad160c 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setDate')) { $ERROR('#1: The Date.prototype.setDate property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setDate") { +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_A2_T1.js b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A2_T1.js index 51be0cd064..c85ae0c509 100644 --- a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A2_T1.js +++ b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.36_A2_T1 description: The "length" property of the "setDate" is 1 ---*/ -if(Date.prototype.setDate.hasOwnProperty("length") !== true){ +if (Date.prototype.setDate.hasOwnProperty("length") !== true) { $ERROR('#1: The setDate has a "length" property'); } -if(Date.prototype.setDate.length !== 1){ +if (Date.prototype.setDate.length !== 1) { $ERROR('#2: The "length" property of the setDate is 1'); } diff --git a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T2.js b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T2.js index d58c650788..83862dd217 100644 --- a/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T2.js +++ b/test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.36_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setDate.length !== true) { +if (delete Date.prototype.setDate.length !== true) { $ERROR('#1: The Date.prototype.setDate.length property does not have the attributes DontDelete'); } 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 2a523fedbd..52762004e5 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 @@ -14,8 +14,8 @@ if (Date.prototype.setDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setDate.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setDate) { - if(x === "length") { +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/setDate/this-value-non-date.js b/test/built-ins/Date/prototype/setDate/this-value-non-date.js index 8cfe106312..b09fd4e3ef 100644 --- a/test/built-ins/Date/prototype/setDate/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setDate/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setDate, 'function'); diff --git a/test/built-ins/Date/prototype/setFullYear/15.9.5.40_1.js b/test/built-ins/Date/prototype/setFullYear/15.9.5.40_1.js index cde7bec693..446066ceca 100644 --- a/test/built-ins/Date/prototype/setFullYear/15.9.5.40_1.js +++ b/test/built-ins/Date/prototype/setFullYear/15.9.5.40_1.js @@ -11,5 +11,5 @@ description: > assert.throws(TypeError, function() { - Date.prototype.setFullYear(2012); + Date.prototype.setFullYear(2012); }); 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 f148514c49..87c6dfceca 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setFullYear; -if(x === 1) +if (x === 1) Date.prototype.setFullYear = 2; else Date.prototype.setFullYear = 1; diff --git a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T2.js b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T2.js index 6b430e5284..2614ce2be8 100644 --- a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T2.js +++ b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.40_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setFullYear === false) { +if (delete Date.prototype.setFullYear === false) { $ERROR('#1: The Date.prototype.setFullYear property has not the attributes DontDelete'); } 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 2ecf10d654..506cc08696 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setFullYear')) { $ERROR('#1: The Date.prototype.setFullYear property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setFullYear") { +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_A2_T1.js b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A2_T1.js index 0a49250a5c..4cab3b3347 100644 --- a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A2_T1.js +++ b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.40_A2_T1 description: The "length" property of the "setFullYear" is 3 ---*/ -if(Date.prototype.setFullYear.hasOwnProperty("length") !== true){ +if (Date.prototype.setFullYear.hasOwnProperty("length") !== true) { $ERROR('#1: The setFullYear has a "length" property'); } -if(Date.prototype.setFullYear.length !== 3){ +if (Date.prototype.setFullYear.length !== 3) { $ERROR('#2: The "length" property of the setFullYear is 3'); } diff --git a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T2.js b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T2.js index ba50177466..5dab62ff42 100644 --- a/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T2.js +++ b/test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.40_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setFullYear.length !== true) { +if (delete Date.prototype.setFullYear.length !== true) { $ERROR('#1: The Date.prototype.setFullYear.length property does not have the attributes DontDelete'); } 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 565a1f80aa..170c26f653 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 @@ -14,8 +14,8 @@ if (Date.prototype.setFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setFullYear.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setFullYear) { - if(x === "length") { +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/setFullYear/this-value-non-date.js b/test/built-ins/Date/prototype/setFullYear/this-value-non-date.js index ece79ddc41..9a4d316d35 100644 --- a/test/built-ins/Date/prototype/setFullYear/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setFullYear/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setFullYear, 'function'); 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 7b709c7599..95b5a5a210 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setHours; -if(x === 1) +if (x === 1) Date.prototype.setHours = 2; else Date.prototype.setHours = 1; diff --git a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T2.js b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T2.js index fbca2081e2..a46d72b437 100644 --- a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T2.js +++ b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.34_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setHours === false) { +if (delete Date.prototype.setHours === false) { $ERROR('#1: The Date.prototype.setHours property has not the attributes DontDelete'); } 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 614e46e976..9d005c8e7c 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setHours')) { $ERROR('#1: The Date.prototype.setHours property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setHours") { +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_A2_T1.js b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A2_T1.js index e000d2ab63..7b8bfb66aa 100644 --- a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A2_T1.js +++ b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.34_A2_T1 description: The "length" property of the "setHours" is 4 ---*/ -if(Date.prototype.setHours.hasOwnProperty("length") !== true){ +if (Date.prototype.setHours.hasOwnProperty("length") !== true) { $ERROR('#1: The setHours has a "length" property'); } -if(Date.prototype.setHours.length !== 4){ +if (Date.prototype.setHours.length !== 4) { $ERROR('#2: The "length" property of the setHours is 4'); } diff --git a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T2.js b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T2.js index c15bc6d2e5..83d468f5d6 100644 --- a/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T2.js +++ b/test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.34_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setHours.length !== true) { +if (delete Date.prototype.setHours.length !== true) { $ERROR('#1: The Date.prototype.setHours.length property does not have the attributes DontDelete'); } 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 318de235b1..d33d529cd0 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 @@ -14,8 +14,8 @@ if (Date.prototype.setHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setHours.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setHours) { - if(x === "length") { +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/setHours/this-value-non-date.js b/test/built-ins/Date/prototype/setHours/this-value-non-date.js index 1f0c79bffb..e1f4fc3bea 100644 --- a/test/built-ins/Date/prototype/setHours/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setHours/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setHours, 'function'); 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 5942a20066..ff1c5768b6 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setMilliseconds; -if(x === 1) +if (x === 1) Date.prototype.setMilliseconds = 2; else Date.prototype.setMilliseconds = 1; diff --git a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T2.js b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T2.js index 2bbc4a9082..7af41c60df 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T2.js +++ b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.28_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setMilliseconds === false) { +if (delete Date.prototype.setMilliseconds === false) { $ERROR('#1: The Date.prototype.setMilliseconds property has not the attributes DontDelete'); } 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 304c43553d..9f8624a50b 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setMilliseconds')) { $ERROR('#1: The Date.prototype.setMilliseconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setMilliseconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A2_T1.js index 4d123f0ee2..e784ed356a 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A2_T1.js +++ b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.28_A2_T1 description: The "length" property of the "setMilliseconds" is 1 ---*/ -if(Date.prototype.setMilliseconds.hasOwnProperty("length") !== true){ +if (Date.prototype.setMilliseconds.hasOwnProperty("length") !== true) { $ERROR('#1: The setMilliseconds has a "length" property'); } -if(Date.prototype.setMilliseconds.length !== 1){ +if (Date.prototype.setMilliseconds.length !== 1) { $ERROR('#2: The "length" property of the setMilliseconds is 1'); } diff --git a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T2.js b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T2.js index c53633c556..44772a4fb8 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T2.js +++ b/test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.28_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setMilliseconds.length !== true) { +if (delete Date.prototype.setMilliseconds.length !== true) { $ERROR('#1: The Date.prototype.setMilliseconds.length property does not have the attributes DontDelete'); } 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 264f0c077e..f0af044b59 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 @@ -14,8 +14,8 @@ if (Date.prototype.setMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMilliseconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setMilliseconds) { - if(x === "length") { +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/setMilliseconds/arg-to-number.js b/test/built-ins/Date/prototype/setMilliseconds/arg-to-number.js index 4ec16e5897..7e8d6c2fe4 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/arg-to-number.js +++ b/test/built-ins/Date/prototype/setMilliseconds/arg-to-number.js @@ -54,7 +54,7 @@ assert.sameValue(returnValue, new Date(2016, 6, 1).getTime(), 'false'); returnValue = date.setMilliseconds(' +00200.000E-0002 '); assert.sameValue( - returnValue, new Date(2016, 6, 1, 0, 0, 0 , 2).getTime(), 'string' + returnValue, new Date(2016, 6, 1, 0, 0, 0, 2).getTime(), 'string' ); returnValue = date.setMilliseconds(); diff --git a/test/built-ins/Date/prototype/setMilliseconds/this-value-non-date.js b/test/built-ins/Date/prototype/setMilliseconds/this-value-non-date.js index df836da906..f0b0010944 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setMilliseconds/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setMilliseconds, 'function'); 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 0eb55d5095..66a0393335 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setMinutes; -if(x === 1) +if (x === 1) Date.prototype.setMinutes = 2; else Date.prototype.setMinutes = 1; diff --git a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T2.js b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T2.js index a326bb1dc6..050e72b87b 100644 --- a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T2.js +++ b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.32_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setMinutes === false) { +if (delete Date.prototype.setMinutes === false) { $ERROR('#1: The Date.prototype.setMinutes property has not the attributes DontDelete'); } 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 7df0448c55..aa2534cbaf 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setMinutes')) { $ERROR('#1: The Date.prototype.setMinutes property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setMinutes") { +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_A2_T1.js b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A2_T1.js index 63b492e5a7..307c3faf82 100644 --- a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A2_T1.js +++ b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.32_A2_T1 description: The "length" property of the "setMinutes" is 3 ---*/ -if(Date.prototype.setMinutes.hasOwnProperty("length") !== true){ +if (Date.prototype.setMinutes.hasOwnProperty("length") !== true) { $ERROR('#1: The setMinutes has a "length" property'); } -if(Date.prototype.setMinutes.length !== 3){ +if (Date.prototype.setMinutes.length !== 3) { $ERROR('#2: The "length" property of the setMinutes is 3'); } diff --git a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T2.js b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T2.js index 027585d5fe..2defce23d6 100644 --- a/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T2.js +++ b/test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.32_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setMinutes.length !== true) { +if (delete Date.prototype.setMinutes.length !== true) { $ERROR('#1: The Date.prototype.setMinutes.length property does not have the attributes DontDelete'); } 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 90f2d2a076..8d0ec12157 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 @@ -14,8 +14,8 @@ if (Date.prototype.setMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMinutes.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setMinutes) { - if(x === "length") { +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/setMinutes/this-value-non-date.js b/test/built-ins/Date/prototype/setMinutes/this-value-non-date.js index dfb851f093..dfd21f485a 100644 --- a/test/built-ins/Date/prototype/setMinutes/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setMinutes/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setMinutes, 'function'); 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 db7ec51acb..c38de02142 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setMonth; -if(x === 1) +if (x === 1) Date.prototype.setMonth = 2; else Date.prototype.setMonth = 1; diff --git a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T2.js b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T2.js index a2d3318c18..9c1ab2a20a 100644 --- a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T2.js +++ b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.38_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setMonth === false) { +if (delete Date.prototype.setMonth === false) { $ERROR('#1: The Date.prototype.setMonth property has not the attributes DontDelete'); } 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 2998b51cf7..14a0d15377 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setMonth')) { $ERROR('#1: The Date.prototype.setMonth property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setMonth") { +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_A2_T1.js b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A2_T1.js index dd68de3b02..8a5de9ca46 100644 --- a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A2_T1.js +++ b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.38_A2_T1 description: The "length" property of the "setMonth" is 2 ---*/ -if(Date.prototype.setMonth.hasOwnProperty("length") !== true){ +if (Date.prototype.setMonth.hasOwnProperty("length") !== true) { $ERROR('#1: The setMonth has a "length" property'); } -if(Date.prototype.setMonth.length !== 2){ +if (Date.prototype.setMonth.length !== 2) { $ERROR('#2: The "length" property of the setMonth is 2'); } diff --git a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T2.js b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T2.js index 17adaeb47a..efca28cee2 100644 --- a/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T2.js +++ b/test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.38_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setMonth.length !== true) { +if (delete Date.prototype.setMonth.length !== true) { $ERROR('#1: The Date.prototype.setMonth.length property does not have the attributes DontDelete'); } 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 8169cab415..ef07cbb5c1 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 @@ -14,8 +14,8 @@ if (Date.prototype.setMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMonth.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setMonth) { - if(x === "length") { +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/setMonth/this-value-non-date.js b/test/built-ins/Date/prototype/setMonth/this-value-non-date.js index 2828944675..6d16b1ff4c 100644 --- a/test/built-ins/Date/prototype/setMonth/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setMonth/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setMonth, 'function'); 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 1ebdb5b51e..519120b36f 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setSeconds; -if(x === 1) +if (x === 1) Date.prototype.setSeconds = 2; else Date.prototype.setSeconds = 1; diff --git a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T2.js b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T2.js index 43b17d0f86..f9f122a645 100644 --- a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T2.js +++ b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.30_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setSeconds === false) { +if (delete Date.prototype.setSeconds === false) { $ERROR('#1: The Date.prototype.setSeconds property has not the attributes DontDelete'); } 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 f4215dd838..8d960dcb62 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setSeconds')) { $ERROR('#1: The Date.prototype.setSeconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setSeconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A2_T1.js index 49c6c90836..a2fe30e525 100644 --- a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A2_T1.js +++ b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.30_A2_T1 description: The "length" property of the "setSeconds" is 2 ---*/ -if(Date.prototype.setSeconds.hasOwnProperty("length") !== true){ +if (Date.prototype.setSeconds.hasOwnProperty("length") !== true) { $ERROR('#1: The setSeconds has a "length" property'); } -if(Date.prototype.setSeconds.length !== 2){ +if (Date.prototype.setSeconds.length !== 2) { $ERROR('#2: The "length" property of the setSeconds is 2'); } diff --git a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T2.js b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T2.js index ef7f322d83..be61ed9a8b 100644 --- a/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T2.js +++ b/test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.30_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setSeconds.length !== true) { +if (delete Date.prototype.setSeconds.length !== true) { $ERROR('#1: The Date.prototype.setSeconds.length property does not have the attributes DontDelete'); } 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 bfd04c09dd..5a281d8d04 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 @@ -14,8 +14,8 @@ if (Date.prototype.setSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setSeconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setSeconds) { - if(x === "length") { +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/setSeconds/this-value-non-date.js b/test/built-ins/Date/prototype/setSeconds/this-value-non-date.js index 23821c06a8..e63ed9c372 100644 --- a/test/built-ins/Date/prototype/setSeconds/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setSeconds/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setSeconds, 'function'); 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 1358fd8f9f..2a56bf3ae8 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setTime; -if(x === 1) +if (x === 1) Date.prototype.setTime = 2; else Date.prototype.setTime = 1; diff --git a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T2.js b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T2.js index 1718c42135..2e872fd729 100644 --- a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T2.js +++ b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.27_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setTime === false) { +if (delete Date.prototype.setTime === false) { $ERROR('#1: The Date.prototype.setTime property has not the attributes DontDelete'); } 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 ed64ee5ed9..0a9fd6ce56 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setTime')) { $ERROR('#1: The Date.prototype.setTime property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setTime") { +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_A2_T1.js b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A2_T1.js index 0b47d76ce3..f7f68712d9 100644 --- a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A2_T1.js +++ b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.27_A2_T1 description: The "length" property of the "setTime" is 1 ---*/ -if(Date.prototype.setTime.hasOwnProperty("length") !== true){ +if (Date.prototype.setTime.hasOwnProperty("length") !== true) { $ERROR('#1: The setTime has a "length" property'); } -if(Date.prototype.setTime.length !== 1){ +if (Date.prototype.setTime.length !== 1) { $ERROR('#2: The "length" property of the setTime is 1'); } diff --git a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T2.js b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T2.js index 95b02e0d5c..f804e38d9b 100644 --- a/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T2.js +++ b/test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.27_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setTime.length !== true) { +if (delete Date.prototype.setTime.length !== true) { $ERROR('#1: The Date.prototype.setTime.length property does not have the attributes DontDelete'); } 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 1981007be3..cdd444a6b8 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 @@ -14,8 +14,8 @@ if (Date.prototype.setTime.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setTime.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setTime) { - if(x === "length") { +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/setTime/this-value-non-date.js b/test/built-ins/Date/prototype/setTime/this-value-non-date.js index c2fb0f4b65..ca4ade5b2f 100644 --- a/test/built-ins/Date/prototype/setTime/this-value-non-date.js +++ b/test/built-ins/Date/prototype/setTime/this-value-non-date.js @@ -23,7 +23,9 @@ var arg = { return 1; } }; -var args = (function() { return arguments; }()); +var args = (function() { + return arguments; +}()); assert.sameValue(typeof setTime, 'function'); 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 fb0106d710..c296387b8e 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setUTCDate; -if(x === 1) +if (x === 1) Date.prototype.setUTCDate = 2; else Date.prototype.setUTCDate = 1; diff --git a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T2.js b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T2.js index 5cb5c8bb1a..3ef3186fac 100644 --- a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T2.js +++ b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.37_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setUTCDate === false) { +if (delete Date.prototype.setUTCDate === false) { $ERROR('#1: The Date.prototype.setUTCDate property has not the attributes DontDelete'); } 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 f99b22fccd..90decdc776 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCDate')) { $ERROR('#1: The Date.prototype.setUTCDate property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setUTCDate") { +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_A2_T1.js b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A2_T1.js index 4e810092e9..3cbefe81a8 100644 --- a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A2_T1.js +++ b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.37_A2_T1 description: The "length" property of the "setUTCDate" is 1 ---*/ -if(Date.prototype.setUTCDate.hasOwnProperty("length") !== true){ +if (Date.prototype.setUTCDate.hasOwnProperty("length") !== true) { $ERROR('#1: The setUTCDate has a "length" property'); } -if(Date.prototype.setUTCDate.length !== 1){ +if (Date.prototype.setUTCDate.length !== 1) { $ERROR('#2: The "length" property of the setUTCDate is 1'); } diff --git a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T2.js b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T2.js index 732f6bf78b..5e29f15a81 100644 --- a/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T2.js +++ b/test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.37_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setUTCDate.length !== true) { +if (delete Date.prototype.setUTCDate.length !== true) { $ERROR('#1: The Date.prototype.setUTCDate.length property does not have the attributes DontDelete'); } 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 eb097a6acd..ffebf07973 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 @@ -14,8 +14,8 @@ if (Date.prototype.setUTCDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCDate.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setUTCDate) { - if(x === "length") { +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 ff165c535e..fa2e021e24 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setUTCFullYear; -if(x === 1) +if (x === 1) Date.prototype.setUTCFullYear = 2; else Date.prototype.setUTCFullYear = 1; diff --git a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T2.js b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T2.js index a12b7435d2..1d8a1262ce 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T2.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.41_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setUTCFullYear === false) { +if (delete Date.prototype.setUTCFullYear === false) { $ERROR('#1: The Date.prototype.setUTCFullYear property has not the attributes DontDelete'); } 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 1a388a6822..7abfca4650 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCFullYear')) { $ERROR('#1: The Date.prototype.setUTCFullYear property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setUTCFullYear") { +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_A2_T1.js b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A2_T1.js index 185a24888a..1c332dd811 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A2_T1.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.41_A2_T1 description: The "length" property of the "setUTCFullYear" is 3 ---*/ -if(Date.prototype.setUTCFullYear.hasOwnProperty("length") !== true){ +if (Date.prototype.setUTCFullYear.hasOwnProperty("length") !== true) { $ERROR('#1: The setUTCFullYear has a "length" property'); } -if(Date.prototype.setUTCFullYear.length !== 3){ +if (Date.prototype.setUTCFullYear.length !== 3) { $ERROR('#2: The "length" property of the setUTCFullYear is 3'); } diff --git a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T2.js b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T2.js index a35c415903..a2228d5895 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T2.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.41_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setUTCFullYear.length !== true) { +if (delete Date.prototype.setUTCFullYear.length !== true) { $ERROR('#1: The Date.prototype.setUTCFullYear.length property does not have the attributes DontDelete'); } 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 f67269dc1f..6ef0033d83 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 @@ -14,8 +14,8 @@ if (Date.prototype.setUTCFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCFullYear.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setUTCFullYear) { - if(x === "length") { +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 f59d7877c7..887d73eca8 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setUTCHours; -if(x === 1) +if (x === 1) Date.prototype.setUTCHours = 2; else Date.prototype.setUTCHours = 1; diff --git a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T2.js b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T2.js index 48a615ba21..c314b25bd1 100644 --- a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T2.js +++ b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.35_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setUTCHours === false) { +if (delete Date.prototype.setUTCHours === false) { $ERROR('#1: The Date.prototype.setUTCHours property has not the attributes DontDelete'); } 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 a7355fa1d7..e7645db480 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCHours')) { $ERROR('#1: The Date.prototype.setUTCHours property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setUTCHours") { +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_A2_T1.js b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A2_T1.js index 4101fa7e6a..aff70c61e1 100644 --- a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A2_T1.js +++ b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.35_A2_T1 description: The "length" property of the "setUTCHours" is 4 ---*/ -if(Date.prototype.setUTCHours.hasOwnProperty("length") !== true){ +if (Date.prototype.setUTCHours.hasOwnProperty("length") !== true) { $ERROR('#1: The setUTCHours has a "length" property'); } -if(Date.prototype.setUTCHours.length !== 4){ +if (Date.prototype.setUTCHours.length !== 4) { $ERROR('#2: The "length" property of the setUTCHours is 4'); } diff --git a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T2.js b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T2.js index 6f4e2dd0d8..907b8712ef 100644 --- a/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T2.js +++ b/test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.35_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setUTCHours.length !== true) { +if (delete Date.prototype.setUTCHours.length !== true) { $ERROR('#1: The Date.prototype.setUTCHours.length property does not have the attributes DontDelete'); } 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 745bfc88f3..c80cf62191 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 @@ -14,8 +14,8 @@ if (Date.prototype.setUTCHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCHours.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setUTCHours) { - if(x === "length") { +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 76f4e76b02..a1d0a1947a 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 @@ -11,7 +11,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setUTCMilliseconds; -if(x === 1) +if (x === 1) Date.prototype.setUTCMilliseconds = 2; else Date.prototype.setUTCMilliseconds = 1; diff --git a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T2.js b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T2.js index 75d82db9e0..4d8fc8fa5d 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T2.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.29_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setUTCMilliseconds === false) { +if (delete Date.prototype.setUTCMilliseconds === false) { $ERROR('#1: The Date.prototype.setUTCMilliseconds property has not the attributes DontDelete'); } 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 caebe55dd8..c24ff83d56 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 @@ -14,8 +14,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCMilliseconds')) { $ERROR('#1: The Date.prototype.setUTCMilliseconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setUTCMilliseconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A2_T1.js index 881c01fcc3..345a3e3d35 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A2_T1.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.29_A2_T1 description: The "length" property of the "setUTCMilliseconds" is 1 ---*/ -if(Date.prototype.setUTCMilliseconds.hasOwnProperty("length") !== true){ +if (Date.prototype.setUTCMilliseconds.hasOwnProperty("length") !== true) { $ERROR('#1: The setUTCMilliseconds has a "length" property'); } -if(Date.prototype.setUTCMilliseconds.length !== 1){ +if (Date.prototype.setUTCMilliseconds.length !== 1) { $ERROR('#2: The "length" property of the setUTCMilliseconds is 1'); } diff --git a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T2.js b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T2.js index 57cd4142ae..f70f57b134 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T2.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.29_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setUTCMilliseconds.length !== true) { +if (delete Date.prototype.setUTCMilliseconds.length !== true) { $ERROR('#1: The Date.prototype.setUTCMilliseconds.length property does not have the attributes DontDelete'); } 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 6dde346d8f..a47a18c295 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 @@ -14,8 +14,8 @@ if (Date.prototype.setUTCMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMilliseconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setUTCMilliseconds) { - if(x === "length") { +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 688f48e216..44c08e64fc 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setUTCMinutes; -if(x === 1) +if (x === 1) Date.prototype.setUTCMinutes = 2; else Date.prototype.setUTCMinutes = 1; diff --git a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T2.js b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T2.js index 9d9f27c44f..3bde3ee4d5 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T2.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.33_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setUTCMinutes === false) { +if (delete Date.prototype.setUTCMinutes === false) { $ERROR('#1: The Date.prototype.setUTCMinutes property has not the attributes DontDelete'); } 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 cce942cbf1..edc715a860 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCMinutes')) { $ERROR('#1: The Date.prototype.setUTCMinutes property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setUTCMinutes") { +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_A2_T1.js b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A2_T1.js index c6aa7f7d0d..bf0efd4767 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A2_T1.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.33_A2_T1 description: The "length" property of the "setUTCMinutes" is 3 ---*/ -if(Date.prototype.setUTCMinutes.hasOwnProperty("length") !== true){ +if (Date.prototype.setUTCMinutes.hasOwnProperty("length") !== true) { $ERROR('#1: The setUTCMinutes has a "length" property'); } -if(Date.prototype.setUTCMinutes.length !== 3){ +if (Date.prototype.setUTCMinutes.length !== 3) { $ERROR('#2: The "length" property of the setUTCMinutes is 3'); } diff --git a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T2.js b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T2.js index d512247e65..5b19af2eaf 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T2.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.33_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setUTCMinutes.length !== true) { +if (delete Date.prototype.setUTCMinutes.length !== true) { $ERROR('#1: The Date.prototype.setUTCMinutes.length property does not have the attributes DontDelete'); } 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 28b7f74995..0614a194bd 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 @@ -14,8 +14,8 @@ if (Date.prototype.setUTCMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMinutes.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setUTCMinutes) { - if(x === "length") { +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 078ac39c18..da43ff45f1 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setUTCMonth; -if(x === 1) +if (x === 1) Date.prototype.setUTCMonth = 2; else Date.prototype.setUTCMonth = 1; diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js index 48de38d729..9790d9a99e 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js +++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.39_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setUTCMonth === false) { +if (delete Date.prototype.setUTCMonth === false) { $ERROR('#1: The Date.prototype.setUTCMonth property has not the attributes DontDelete'); } 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 ed6ca3fe17..ed7332bd2e 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCMonth')) { $ERROR('#1: The Date.prototype.setUTCMonth property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setUTCMonth") { +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_A2_T1.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js index a4c5d29ed6..682dd9f727 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js +++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.39_A2_T1 description: The "length" property of the "setUTCMonth" is 2 ---*/ -if(Date.prototype.setUTCMonth.hasOwnProperty("length") !== true){ +if (Date.prototype.setUTCMonth.hasOwnProperty("length") !== true) { $ERROR('#1: The setUTCMonth has a "length" property'); } -if(Date.prototype.setUTCMonth.length !== 2){ +if (Date.prototype.setUTCMonth.length !== 2) { $ERROR('#2: The "length" property of the setUTCMonth is 2'); } diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js index 82c3bf8b4d..07e8dda601 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js +++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.39_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setUTCMonth.length !== true) { +if (delete Date.prototype.setUTCMonth.length !== true) { $ERROR('#1: The Date.prototype.setUTCMonth.length property does not have the attributes DontDelete'); } 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 d02f44bbe6..1fee64d567 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 @@ -14,8 +14,8 @@ if (Date.prototype.setUTCMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMonth.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setUTCMonth) { - if(x === "length") { +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 2e7d84561a..903d2dc772 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.setUTCSeconds; -if(x === 1) +if (x === 1) Date.prototype.setUTCSeconds = 2; else Date.prototype.setUTCSeconds = 1; diff --git a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T2.js b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T2.js index 0e74c82ad6..7d3d1d09e8 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T2.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.31_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.setUTCSeconds === false) { +if (delete Date.prototype.setUTCSeconds === false) { $ERROR('#1: The Date.prototype.setUTCSeconds property has not the attributes DontDelete'); } 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 1ca934a4ad..eb427b1ffc 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCSeconds')) { $ERROR('#1: The Date.prototype.setUTCSeconds property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "setUTCSeconds") { +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_A2_T1.js b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A2_T1.js index 5dc03a2ad9..edcc69006d 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A2_T1.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.31_A2_T1 description: The "length" property of the "setUTCSeconds" is 2 ---*/ -if(Date.prototype.setUTCSeconds.hasOwnProperty("length") !== true){ +if (Date.prototype.setUTCSeconds.hasOwnProperty("length") !== true) { $ERROR('#1: The setUTCSeconds has a "length" property'); } -if(Date.prototype.setUTCSeconds.length !== 2){ +if (Date.prototype.setUTCSeconds.length !== 2) { $ERROR('#2: The "length" property of the setUTCSeconds is 2'); } diff --git a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T2.js b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T2.js index b056583098..26c0833404 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T2.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.31_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.setUTCSeconds.length !== true) { +if (delete Date.prototype.setUTCSeconds.length !== true) { $ERROR('#1: The Date.prototype.setUTCSeconds.length property does not have the attributes DontDelete'); } 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 17ec0c0ee4..2cb04dd625 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 @@ -14,8 +14,8 @@ if (Date.prototype.setUTCSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCSeconds.length property has the attribute DontEnum'); } -for(var x in Date.prototype.setUTCSeconds) { - if(x === "length") { +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 c133ffc5ad..ce21f347a9 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.toDateString; -if(x === 1) +if (x === 1) Date.prototype.toDateString = 2; else Date.prototype.toDateString = 1; diff --git a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T2.js b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T2.js index 3afef1875c..e72d1fbd8e 100644 --- a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T2.js +++ b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.3_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.toDateString === false) { +if (delete Date.prototype.toDateString === false) { $ERROR('#1: The Date.prototype.toDateString property has not the attributes DontDelete'); } 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 a17110e05d..ab2d1e72d4 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('toDateString')) { $ERROR('#1: The Date.prototype.toDateString property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "toDateString") { +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_A2_T1.js b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A2_T1.js index 0248330b0d..32c140ce94 100644 --- a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A2_T1.js +++ b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.3_A2_T1 description: The "length" property of the "toDateString" is 0 ---*/ -if(Date.prototype.toDateString.hasOwnProperty("length") !== true){ +if (Date.prototype.toDateString.hasOwnProperty("length") !== true) { $ERROR('#1: The toDateString has a "length" property'); } -if(Date.prototype.toDateString.length !== 0){ +if (Date.prototype.toDateString.length !== 0) { $ERROR('#2: The "length" property of the toDateString is 0'); } diff --git a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T2.js b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T2.js index 090b9646d1..19bc54bb6a 100644 --- a/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T2.js +++ b/test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.3_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.toDateString.length !== true) { +if (delete Date.prototype.toDateString.length !== true) { $ERROR('#1: The Date.prototype.toDateString.length property does not have the attributes DontDelete'); } 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 6c52d43db4..0f83f7f219 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 @@ -14,8 +14,8 @@ if (Date.prototype.toDateString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toDateString.length property has the attribute DontEnum'); } -for(var x in Date.prototype.toDateString) { - if(x === "length") { +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/toDateString/invalid-date.js b/test/built-ins/Date/prototype/toDateString/invalid-date.js index 5ea87075e1..9f7cffda73 100644 --- a/test/built-ins/Date/prototype/toDateString/invalid-date.js +++ b/test/built-ins/Date/prototype/toDateString/invalid-date.js @@ -13,5 +13,3 @@ info: | ---*/ assert.sameValue(new Date(NaN).toDateString(), "Invalid Date"); - - diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-10.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-10.js index 596f803435..f94e964d4d 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-10.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-10.js @@ -10,19 +10,19 @@ description: > UTC(0) ---*/ - var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); - var date, dateStr; +var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); +var date, dateStr; - if (timeZoneMinutes > 0) { - date = new Date(1970, 0, -99999999, 0, 0, 0, 1); +if (timeZoneMinutes > 0) { + date = new Date(1970, 0, -99999999, 0, 0, 0, 1); - assert.throws(RangeError, function() { - date.toISOString(); - }); - } else { - date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 1); + assert.throws(RangeError, function() { + date.toISOString(); + }); +} else { + date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 1); - dateStr = date.toISOString(); + dateStr = date.toISOString(); - assert.sameValue(dateStr[dateStr.length - 1], "Z"); - } + assert.sameValue(dateStr[dateStr.length - 1], "Z"); +} diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-11.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-11.js index 63feb9075e..b08fa65380 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-11.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-11.js @@ -10,10 +10,10 @@ description: > UTC(0) ---*/ - var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); - var date, dateStr; +var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); +var date, dateStr; - date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, -1); - dateStr = date.toISOString(); +date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, -1); +dateStr = date.toISOString(); assert.sameValue(dateStr[dateStr.length - 1], "Z", 'dateStr[dateStr.length - 1]'); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-12.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-12.js index 5e976d17ea..2086f48a9a 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-12.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-12.js @@ -10,10 +10,10 @@ description: > UTC(0) ---*/ - var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); - var date, dateStr; +var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); +var date, dateStr; - date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, 0); - dateStr = date.toISOString(); +date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, 0); +dateStr = date.toISOString(); assert.sameValue(dateStr[dateStr.length - 1], "Z", 'dateStr[dateStr.length - 1]'); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js index 431a79c414..71a9232eb0 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js @@ -9,8 +9,8 @@ description: > date is outside the valid range of time. ---*/ - // As specified in ES5 15.9.1.14, time > 8.64e15 is not in the valid range. - var date = new Date(8.64e15 + 1); +// As specified in ES5 15.9.1.14, time > 8.64e15 is not in the valid range. +var date = new Date(8.64e15 + 1); assert.throws(RangeError, function() { - date.toISOString(); + date.toISOString(); }); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-14.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-14.js index 49a859c59b..7dc2be64af 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-14.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-14.js @@ -9,7 +9,7 @@ description: > Date.prototype.toISOString throw the RangeError ---*/ - var date = new Date(-Infinity, 1, 70, 0, 0, 0); +var date = new Date(-Infinity, 1, 70, 0, 0, 0); assert.throws(RangeError, function() { - date.toISOString(); + date.toISOString(); }); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-15.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-15.js index f086863248..752120dfc6 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-15.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-15.js @@ -9,7 +9,7 @@ description: > Date.prototype.toISOString throw the RangeError ---*/ - var date = new Date(Infinity, 1, 70, 0, 0, 0); +var date = new Date(Infinity, 1, 70, 0, 0, 0); assert.throws(RangeError, function() { - date.toISOString(); + date.toISOString(); }); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-16.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-16.js index e27b08feb2..d3be4f9fb4 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-16.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-16.js @@ -10,7 +10,7 @@ description: > Date.prototype.toISOString throw the TypeError ---*/ - var date = new String("1970-01-00000:00:00.000Z"); +var date = new String("1970-01-00000:00:00.000Z"); assert.throws(TypeError, function() { - Date.prototype.toISOString.call(date); + Date.prototype.toISOString.call(date); }); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-3.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-3.js index f2c53adbf2..9703836e16 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-3.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-3.js @@ -7,4 +7,4 @@ es5id: 15.9.5.43-0-3 description: Date.prototype.toISOString must exist as a function ---*/ -assert.sameValue(typeof (Date.prototype.toISOString), "function", 'typeof (Date.prototype.toISOString)'); +assert.sameValue(typeof(Date.prototype.toISOString), "function", 'typeof (Date.prototype.toISOString)'); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js index f27f7e0ae4..d2f2e391eb 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js @@ -9,7 +9,7 @@ description: > 'YYYY-MM-DDTHH:mm:ss.sssZ', the time zone is UTC(0) ---*/ - var date = new Date(1999, 9, 10, 10, 10, 10, 10); - var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000); +var date = new Date(1999, 9, 10, 10, 10, 10, 10); +var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000); assert.sameValue(localDate.toISOString(), "1999-10-10T10:10:10.010Z", 'localDate.toISOString()'); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-5.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-5.js index 35359f9022..0dc17db6fa 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-5.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-5.js @@ -9,6 +9,6 @@ description: > zone(0) ---*/ - var dateStr = (new Date()).toISOString(); +var dateStr = (new Date()).toISOString(); assert.sameValue(dateStr[dateStr.length - 1], "Z", 'dateStr[dateStr.length - 1]'); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-6.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-6.js index 53b001d872..dda74767f9 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-6.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-6.js @@ -11,5 +11,5 @@ description: > assert.throws(TypeError, function() { - Date.prototype.toISOString.call([]); + Date.prototype.toISOString.call([]); }); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-7.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-7.js index b4d5bc8005..517fb74533 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-7.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-7.js @@ -11,5 +11,5 @@ description: > assert.throws(TypeError, function() { - Date.prototype.toISOString.call(15); + Date.prototype.toISOString.call(15); }); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-8.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-8.js index 3c55da5fae..e85077c6ce 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-8.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-8.js @@ -10,14 +10,14 @@ description: > UTC(0) ---*/ - var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); - var date, dateStr; +var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); +var date, dateStr; assert.throws(RangeError, function() { - if (timeZoneMinutes > 0) { - date = new Date(1970, 0, -99999999, 0, 0, 0, -1); - } else { - date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes - 60, 0, -1); - } + if (timeZoneMinutes > 0) { + date = new Date(1970, 0, -99999999, 0, 0, 0, -1); + } else { + date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes - 60, 0, -1); + } - dateStr = date.toISOString(); + dateStr = date.toISOString(); }); diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-9.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-9.js index 8907ccb686..04c9fd69cb 100644 --- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-9.js +++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-9.js @@ -10,19 +10,19 @@ description: > UTC(0) ---*/ - var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); - var date, dateStr; +var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); +var date, dateStr; - if (timeZoneMinutes > 0) { - date = new Date(1970, 0, -99999999, 0, 0, 0, 0); +if (timeZoneMinutes > 0) { + date = new Date(1970, 0, -99999999, 0, 0, 0, 0); - assert.throws(RangeError, function() { - date.toISOString(); - }); - } else { - date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 0); + assert.throws(RangeError, function() { + date.toISOString(); + }); +} else { + date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 0); - dateStr = date.toISOString(); + dateStr = date.toISOString(); - assert.sameValue(dateStr[dateStr.length - 1], "Z"); - } + assert.sameValue(dateStr[dateStr.length - 1], "Z"); +} diff --git a/test/built-ins/Date/prototype/toJSON/15.9.5.44-0-1.js b/test/built-ins/Date/prototype/toJSON/15.9.5.44-0-1.js index 16804d115c..baafe4540a 100644 --- a/test/built-ins/Date/prototype/toJSON/15.9.5.44-0-1.js +++ b/test/built-ins/Date/prototype/toJSON/15.9.5.44-0-1.js @@ -7,6 +7,6 @@ es5id: 15.9.5.44-0-1 description: Date.prototype.toJSON must exist as a function ---*/ - var f = Date.prototype.toJSON; +var f = Date.prototype.toJSON; assert.sameValue(typeof(f), "function", 'typeof(f)'); 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 0c41bc3be7..8e976f0ed3 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 @@ -11,7 +11,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.toLocaleDateString; -if(x === 1) +if (x === 1) Date.prototype.toLocaleDateString = 2; else Date.prototype.toLocaleDateString = 1; diff --git a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T2.js b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T2.js index 045c649f07..656300446f 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T2.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.6_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.toLocaleDateString === false) { +if (delete Date.prototype.toLocaleDateString === false) { $ERROR('#1: The Date.prototype.toLocaleDateString property has not the attributes DontDelete'); } 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 704b25ff70..6a8cef0a64 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 @@ -14,8 +14,8 @@ if (Date.prototype.propertyIsEnumerable('toLocaleDateString')) { $ERROR('#1: The Date.prototype.toLocaleDateString property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "toLocaleDateString") { +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_A2_T1.js b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A2_T1.js index 96541c978f..5b7959dc77 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A2_T1.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.6_A2_T1 description: The "length" property of the "toLocaleDateString" is 0 ---*/ -if(Date.prototype.toLocaleDateString.hasOwnProperty("length") !== true){ +if (Date.prototype.toLocaleDateString.hasOwnProperty("length") !== true) { $ERROR('#1: The toLocaleDateString has a "length" property'); } -if(Date.prototype.toLocaleDateString.length !== 0){ +if (Date.prototype.toLocaleDateString.length !== 0) { $ERROR('#2: The "length" property of the toLocaleDateString is 0'); } diff --git a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T2.js b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T2.js index 75c0ad18a2..85565c6bca 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T2.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.6_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.toLocaleDateString.length !== true) { +if (delete Date.prototype.toLocaleDateString.length !== true) { $ERROR('#1: The Date.prototype.toLocaleDateString.length property does not have the attributes DontDelete'); } 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 f015937cd6..63440c5500 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 @@ -14,8 +14,8 @@ if (Date.prototype.toLocaleDateString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleDateString.length property has the attribute DontEnum'); } -for(var x in Date.prototype.toLocaleDateString) { - if(x === "length") { +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 a2d621c88e..4f20c546b7 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.toLocaleString; -if(x === 1) +if (x === 1) Date.prototype.toLocaleString = 2; else Date.prototype.toLocaleString = 1; diff --git a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T2.js b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T2.js index 845ad90ebc..44476c8e43 100644 --- a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T2.js +++ b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.5_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.toLocaleString === false) { +if (delete Date.prototype.toLocaleString === false) { $ERROR('#1: The Date.prototype.toLocaleString property has not the attributes DontDelete'); } 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 2aa877b571..aa96373cbb 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('toLocaleString')) { $ERROR('#1: The Date.prototype.toLocaleString property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "toLocaleString") { +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_A2_T1.js b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A2_T1.js index 7713b34ae7..29ba76ea95 100644 --- a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A2_T1.js +++ b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.5_A2_T1 description: The "length" property of the "toLocaleString" is 0 ---*/ -if(Date.prototype.toLocaleString.hasOwnProperty("length") !== true){ +if (Date.prototype.toLocaleString.hasOwnProperty("length") !== true) { $ERROR('#1: The toLocaleString has a "length" property'); } -if(Date.prototype.toLocaleString.length !== 0){ +if (Date.prototype.toLocaleString.length !== 0) { $ERROR('#2: The "length" property of the toLocaleString is 0'); } diff --git a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T2.js b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T2.js index 4deaaa40a7..161ab95414 100644 --- a/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T2.js +++ b/test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.5_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.toLocaleString.length !== true) { +if (delete Date.prototype.toLocaleString.length !== true) { $ERROR('#1: The Date.prototype.toLocaleString.length property does not have the attributes DontDelete'); } 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 c5d11f4e8f..5068199094 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 @@ -14,8 +14,8 @@ if (Date.prototype.toLocaleString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleString.length property has the attribute DontEnum'); } -for(var x in Date.prototype.toLocaleString) { - if(x === "length") { +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 3c1aa53177..eec3df6ac3 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 @@ -11,7 +11,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.toLocaleTimeString; -if(x === 1) +if (x === 1) Date.prototype.toLocaleTimeString = 2; else Date.prototype.toLocaleTimeString = 1; diff --git a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T2.js b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T2.js index 564821c338..4fc755ef25 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T2.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.7_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.toLocaleTimeString === false) { +if (delete Date.prototype.toLocaleTimeString === false) { $ERROR('#1: The Date.prototype.toLocaleTimeString property has not the attributes DontDelete'); } 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 50d48f8d79..5e7cff2a0b 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 @@ -14,8 +14,8 @@ if (Date.prototype.propertyIsEnumerable('toLocaleTimeString')) { $ERROR('#1: The Date.prototype.toLocaleTimeString property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "toLocaleTimeString") { +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_A2_T1.js b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A2_T1.js index 9471cf5567..14f226a02b 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A2_T1.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.7_A2_T1 description: The "length" property of the "toLocaleTimeString" is 0 ---*/ -if(Date.prototype.toLocaleTimeString.hasOwnProperty("length") !== true){ +if (Date.prototype.toLocaleTimeString.hasOwnProperty("length") !== true) { $ERROR('#1: The toLocaleTimeString has a "length" property'); } -if(Date.prototype.toLocaleTimeString.length !== 0){ +if (Date.prototype.toLocaleTimeString.length !== 0) { $ERROR('#2: The "length" property of the toLocaleTimeString is 0'); } diff --git a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T2.js b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T2.js index 1a034dba46..8e02b4e6f7 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T2.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.7_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.toLocaleTimeString.length !== true) { +if (delete Date.prototype.toLocaleTimeString.length !== true) { $ERROR('#1: The Date.prototype.toLocaleTimeString.length property does not have the attributes DontDelete'); } 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 6562daad47..53aea089b5 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 @@ -14,8 +14,8 @@ if (Date.prototype.toLocaleTimeString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleTimeString.length property has the attribute DontEnum'); } -for(var x in Date.prototype.toLocaleTimeString) { - if(x === "length") { +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 04e6d7ffa0..c4938dc06f 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.toString; -if(x === 1) +if (x === 1) Date.prototype.toString = 2; else Date.prototype.toString = 1; diff --git a/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T2.js b/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T2.js index 63c170fe62..e391337569 100644 --- a/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T2.js +++ b/test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.2_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.toString === false) { +if (delete Date.prototype.toString === false) { $ERROR('#1: The Date.prototype.toString property has not the attributes DontDelete'); } 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 1317b0abd8..382fc242ca 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('toString')) { $ERROR('#1: The Date.prototype.toString property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "toString") { +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_A2_T1.js b/test/built-ins/Date/prototype/toString/S15.9.5.2_A2_T1.js index 861d62cab1..a5026ecfd6 100644 --- a/test/built-ins/Date/prototype/toString/S15.9.5.2_A2_T1.js +++ b/test/built-ins/Date/prototype/toString/S15.9.5.2_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.2_A2_T1 description: The "length" property of the "toString" is 0 ---*/ -if(Date.prototype.toString.hasOwnProperty("length") !== true){ +if (Date.prototype.toString.hasOwnProperty("length") !== true) { $ERROR('#1: The toString has a "length" property'); } -if(Date.prototype.toString.length !== 0){ +if (Date.prototype.toString.length !== 0) { $ERROR('#2: The "length" property of the toString is 0'); } diff --git a/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T2.js b/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T2.js index b264985cb8..3bc1f906c6 100644 --- a/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T2.js +++ b/test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.2_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.toString.length !== true) { +if (delete Date.prototype.toString.length !== true) { $ERROR('#1: The Date.prototype.toString.length property does not have the attributes DontDelete'); } 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 15c54f0209..0c4a7fe58a 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 @@ -14,8 +14,8 @@ if (Date.prototype.toString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toString.length property has the attribute DontEnum'); } -for(var x in Date.prototype.toString) { - if(x === "length") { +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/toString/non-date-receiver.js b/test/built-ins/Date/prototype/toString/non-date-receiver.js index 4273975b1b..3d0885b9ce 100644 --- a/test/built-ins/Date/prototype/toString/non-date-receiver.js +++ b/test/built-ins/Date/prototype/toString/non-date-receiver.js @@ -15,6 +15,6 @@ assert.throws(TypeError, () => Date.prototype.toString.call(undefined)); assert.throws(TypeError, () => Date.prototype.toString.call(0)); assert.throws(TypeError, () => Date.prototype.toString.call({})); assert.throws(TypeError, () => - Date.prototype.toString.call("Tue Mar 21 2017 12:16:43 GMT-0400 (EDT)")); + Date.prototype.toString.call("Tue Mar 21 2017 12:16:43 GMT-0400 (EDT)")); assert.throws(TypeError, () => - Date.prototype.toString.call(1490113011493)); + Date.prototype.toString.call(1490113011493)); 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 4739c7cf1b..9ca9f0008e 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.toTimeString; -if(x === 1) +if (x === 1) Date.prototype.toTimeString = 2; else Date.prototype.toTimeString = 1; diff --git a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T2.js b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T2.js index 2c4d753a9b..0b0ecf006b 100644 --- a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T2.js +++ b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.4_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.toTimeString === false) { +if (delete Date.prototype.toTimeString === false) { $ERROR('#1: The Date.prototype.toTimeString property has not the attributes DontDelete'); } 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 b8b070ebdc..6d4babc06d 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('toTimeString')) { $ERROR('#1: The Date.prototype.toTimeString property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "toTimeString") { +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_A2_T1.js b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A2_T1.js index 305b2a96a4..880915233b 100644 --- a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A2_T1.js +++ b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.4_A2_T1 description: The "length" property of the "toTimeString" is 0 ---*/ -if(Date.prototype.toTimeString.hasOwnProperty("length") !== true){ +if (Date.prototype.toTimeString.hasOwnProperty("length") !== true) { $ERROR('#1: The toTimeString has a "length" property'); } -if(Date.prototype.toTimeString.length !== 0){ +if (Date.prototype.toTimeString.length !== 0) { $ERROR('#2: The "length" property of the toTimeString is 0'); } diff --git a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T2.js b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T2.js index f05985402e..92e4da3235 100644 --- a/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T2.js +++ b/test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.4_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.toTimeString.length !== true) { +if (delete Date.prototype.toTimeString.length !== true) { $ERROR('#1: The Date.prototype.toTimeString.length property does not have the attributes DontDelete'); } 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 36232375d8..6476bf513c 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 @@ -14,8 +14,8 @@ if (Date.prototype.toTimeString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toTimeString.length property has the attribute DontEnum'); } -for(var x in Date.prototype.toTimeString) { - if(x === "length") { +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/toTimeString/invalid-date.js b/test/built-ins/Date/prototype/toTimeString/invalid-date.js index 1078d9557e..39cc97528d 100644 --- a/test/built-ins/Date/prototype/toTimeString/invalid-date.js +++ b/test/built-ins/Date/prototype/toTimeString/invalid-date.js @@ -13,5 +13,3 @@ info: | ---*/ assert.sameValue(new Date(NaN).toTimeString(), "Invalid Date"); - - 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 de0313086f..3fee728b23 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.toUTCString; -if(x === 1) +if (x === 1) Date.prototype.toUTCString = 2; else Date.prototype.toUTCString = 1; diff --git a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T2.js b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T2.js index d515e34469..caca517fce 100644 --- a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T2.js +++ b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.42_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.toUTCString === false) { +if (delete Date.prototype.toUTCString === false) { $ERROR('#1: The Date.prototype.toUTCString property has not the attributes DontDelete'); } 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 27d217a35e..6149d52a9b 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('toUTCString')) { $ERROR('#1: The Date.prototype.toUTCString property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "toUTCString") { +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_A2_T1.js b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A2_T1.js index 8d56631edf..ad2262d325 100644 --- a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A2_T1.js +++ b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.42_A2_T1 description: The "length" property of the "toUTCString" is 0 ---*/ -if(Date.prototype.toUTCString.hasOwnProperty("length") !== true){ +if (Date.prototype.toUTCString.hasOwnProperty("length") !== true) { $ERROR('#1: The toUTCString has a "length" property'); } -if(Date.prototype.toUTCString.length !== 0){ +if (Date.prototype.toUTCString.length !== 0) { $ERROR('#2: The "length" property of the toUTCString is 0'); } diff --git a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T2.js b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T2.js index b001e606ca..26cebb299b 100644 --- a/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T2.js +++ b/test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.42_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.toUTCString.length !== true) { +if (delete Date.prototype.toUTCString.length !== true) { $ERROR('#1: The Date.prototype.toUTCString.length property does not have the attributes DontDelete'); } 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 e5a2ae8c62..c3e445fb5b 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 @@ -14,8 +14,8 @@ if (Date.prototype.toUTCString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toUTCString.length property has the attribute DontEnum'); } -for(var x in Date.prototype.toUTCString) { - if(x === "length") { +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/toUTCString/invalid-date.js b/test/built-ins/Date/prototype/toUTCString/invalid-date.js index 3430e4b3cf..0f81fe11e0 100644 --- a/test/built-ins/Date/prototype/toUTCString/invalid-date.js +++ b/test/built-ins/Date/prototype/toUTCString/invalid-date.js @@ -13,4 +13,3 @@ info: | ---*/ assert.sameValue(new Date(NaN).toUTCString(), "Invalid Date"); - 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 6a33b59ee6..9492a8ae85 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 @@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute ---*/ var x = Date.prototype.valueOf; -if(x === 1) +if (x === 1) Date.prototype.valueOf = 2; else Date.prototype.valueOf = 1; diff --git a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T2.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T2.js index 96d3028b5b..d6a5b8eb0c 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T2.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T2.js @@ -8,7 +8,7 @@ es5id: 15.9.5.8_A1_T2 description: Checking absence of DontDelete attribute ---*/ -if (delete Date.prototype.valueOf === false) { +if (delete Date.prototype.valueOf === false) { $ERROR('#1: The Date.prototype.valueOf property has not the attributes DontDelete'); } 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 dd791639f4..81f7098e93 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 @@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('valueOf')) { $ERROR('#1: The Date.prototype.valueOf property has the attribute DontEnum'); } -for(var x in Date.prototype) { - if(x === "valueOf") { +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_A2_T1.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A2_T1.js index 514ec3605e..8a95d40db6 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A2_T1.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A2_T1.js @@ -8,10 +8,10 @@ es5id: 15.9.5.8_A2_T1 description: The "length" property of the "valueOf" is 0 ---*/ -if(Date.prototype.valueOf.hasOwnProperty("length") !== true){ +if (Date.prototype.valueOf.hasOwnProperty("length") !== true) { $ERROR('#1: The valueOf has a "length" property'); } -if(Date.prototype.valueOf.length !== 0){ +if (Date.prototype.valueOf.length !== 0) { $ERROR('#2: The "length" property of the valueOf is 0'); } diff --git a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T2.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T2.js index cdebc7dd55..3ad642916b 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T2.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.9.5.8_A3_T2 description: Checking DontDelete attribute ---*/ -if (delete Date.prototype.valueOf.length !== true) { +if (delete Date.prototype.valueOf.length !== true) { $ERROR('#1: The Date.prototype.valueOf.length property does not have the attributes DontDelete'); } 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 e7ab16930a..dfedf8c62d 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 @@ -14,8 +14,8 @@ if (Date.prototype.valueOf.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.valueOf.length property has the attribute DontEnum'); } -for(var x in Date.prototype.valueOf) { - if(x === "length") { +for (var x in Date.prototype.valueOf) { + if (x === "length") { $ERROR('#2: The Date.prototype.valueOf.length has the attribute DontEnum'); } } diff --git a/test/built-ins/Date/value-symbol-to-prim-return-obj.js b/test/built-ins/Date/value-symbol-to-prim-return-obj.js index 732217448c..457e126aaf 100644 --- a/test/built-ins/Date/value-symbol-to-prim-return-obj.js +++ b/test/built-ins/Date/value-symbol-to-prim-return-obj.js @@ -39,7 +39,9 @@ assert.throws(TypeError, function() { new Date(y); }, 'ordinary object'); -retVal = (function() { return arguments; }()); +retVal = (function() { + return arguments; +}()); assert.throws(TypeError, function() { new Date(y); }, 'arguments exotic object'); diff --git a/test/built-ins/Date/value-to-primitive-result-faulty.js b/test/built-ins/Date/value-to-primitive-result-faulty.js index 50ff50e290..3f2ae125c7 100644 --- a/test/built-ins/Date/value-to-primitive-result-faulty.js +++ b/test/built-ins/Date/value-to-primitive-result-faulty.js @@ -40,7 +40,9 @@ assert.throws(TypeError, function() { new Date(faultyToPrimitive); }, 'Array exotic object'); -returnValue = (function() { return arguments; }()); +returnValue = (function() { + return arguments; +}()); assert.throws(TypeError, function() { new Date(faultyToPrimitive); }, 'arguments exotic object');