summaryrefslogtreecommitdiff
path: root/test/built-ins/Date
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Date')
-rw-r--r--test/built-ins/Date/15.9.1.15-1.js10
-rw-r--r--test/built-ins/Date/S15.9.2.1_A1.js56
-rw-r--r--test/built-ins/Date/S15.9.2.1_A2.js28
-rw-r--r--test/built-ins/Date/S15.9.3.1_A1_T1.js48
-rw-r--r--test/built-ins/Date/S15.9.3.1_A1_T2.js48
-rw-r--r--test/built-ins/Date/S15.9.3.1_A1_T3.js48
-rw-r--r--test/built-ins/Date/S15.9.3.1_A1_T4.js48
-rw-r--r--test/built-ins/Date/S15.9.3.1_A1_T5.js48
-rw-r--r--test/built-ins/Date/S15.9.3.1_A1_T6.js48
-rw-r--r--test/built-ins/Date/S15.9.3.1_A2_T1.js24
-rw-r--r--test/built-ins/Date/S15.9.3.1_A2_T2.js24
-rw-r--r--test/built-ins/Date/S15.9.3.1_A2_T3.js24
-rw-r--r--test/built-ins/Date/S15.9.3.1_A2_T4.js24
-rw-r--r--test/built-ins/Date/S15.9.3.1_A2_T5.js24
-rw-r--r--test/built-ins/Date/S15.9.3.1_A2_T6.js24
-rw-r--r--test/built-ins/Date/S15.9.3.1_A4_T1.js22
-rw-r--r--test/built-ins/Date/S15.9.3.1_A4_T2.js28
-rw-r--r--test/built-ins/Date/S15.9.3.1_A4_T3.js34
-rw-r--r--test/built-ins/Date/S15.9.3.1_A4_T4.js40
-rw-r--r--test/built-ins/Date/S15.9.3.1_A4_T5.js46
-rw-r--r--test/built-ins/Date/S15.9.3.1_A4_T6.js52
-rw-r--r--test/built-ins/Date/S15.9.3.1_A5_T1.js2
-rw-r--r--test/built-ins/Date/S15.9.3.1_A6_T1.js2
-rw-r--r--test/built-ins/Date/S15.9.3.1_A6_T2.js2
-rw-r--r--test/built-ins/Date/S15.9.3.1_A6_T3.js2
-rw-r--r--test/built-ins/Date/S15.9.3.1_A6_T4.js2
-rw-r--r--test/built-ins/Date/S15.9.3.1_A6_T5.js2
-rw-r--r--test/built-ins/Date/S15.9.3.2_A1_T1.js32
-rw-r--r--test/built-ins/Date/S15.9.3.2_A2_T1.js16
-rw-r--r--test/built-ins/Date/S15.9.4_A1.js2
-rw-r--r--test/built-ins/Date/S15.9.4_A2.js2
-rw-r--r--test/built-ins/Date/S15.9.4_A3.js2
-rw-r--r--test/built-ins/Date/S15.9.4_A5.js2
-rw-r--r--test/built-ins/Date/UTC/S15.9.4.3_A1_T1.js2
-rw-r--r--test/built-ins/Date/UTC/S15.9.4.3_A1_T2.js2
-rw-r--r--test/built-ins/Date/UTC/S15.9.4.3_A1_T3.js4
-rw-r--r--test/built-ins/Date/UTC/S15.9.4.3_A2_T1.js4
-rw-r--r--test/built-ins/Date/UTC/S15.9.4.3_A3_T2.js2
-rw-r--r--test/built-ins/Date/UTC/S15.9.4.3_A3_T3.js4
-rw-r--r--test/built-ins/Date/UTC/coercion-errors.js12
-rw-r--r--test/built-ins/Date/UTC/coercion-order.js51
-rw-r--r--test/built-ins/Date/UTC/infinity-make-day.js1
-rw-r--r--test/built-ins/Date/coercion-errors.js12
-rw-r--r--test/built-ins/Date/coercion-order.js51
-rw-r--r--test/built-ins/Date/now/15.9.4.4-0-3.js4
-rw-r--r--test/built-ins/Date/parse/S15.9.4.2_A1_T1.js2
-rw-r--r--test/built-ins/Date/parse/S15.9.4.2_A1_T2.js2
-rw-r--r--test/built-ins/Date/parse/S15.9.4.2_A1_T3.js4
-rw-r--r--test/built-ins/Date/parse/S15.9.4.2_A2_T1.js4
-rw-r--r--test/built-ins/Date/parse/S15.9.4.2_A3_T2.js2
-rw-r--r--test/built-ins/Date/parse/S15.9.4.2_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A01_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A02_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A03_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A04_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A05_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A06_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A07_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A08_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A09_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A10_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A11_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A12_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A13_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A14_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A15_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A16_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A17_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A18_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A19_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A20_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A21_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A22_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A23_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A24_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A25_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A26_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A27_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A28_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A29_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A30_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A31_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A32_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A33_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A34_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A35_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A36_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A37_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A38_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A39_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A40_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A41_T1.js2
-rw-r--r--test/built-ins/Date/prototype/S15.9.5_A42_T1.js2
-rw-r--r--test/built-ins/Date/prototype/Symbol.toPrimitive/hint-invalid.js6
-rw-r--r--test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/constructor/S15.9.5.1_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/constructor/S15.9.5.1_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getDate/S15.9.5.14_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getDate/S15.9.5.14_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getDate/S15.9.5.14_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getDate/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getDay/S15.9.5.16_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getDay/S15.9.5.16_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getDay/S15.9.5.16_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getDay/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getFullYear/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getHours/S15.9.5.18_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getHours/S15.9.5.18_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getHours/S15.9.5.18_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getHours/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getMilliseconds/S15.9.5.24_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getMilliseconds/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getMinutes/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getMonth/S15.9.5.12_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getMonth/S15.9.5.12_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getMonth/S15.9.5.12_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getMonth/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getSeconds/S15.9.5.22_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getSeconds/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getTime/S15.9.5.9_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getTime/S15.9.5.9_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getTime/S15.9.5.9_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getTime/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getTimezoneOffset/S15.9.5.26_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getTimezoneOffset/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCDate/S15.9.5.15_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDate/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCDay/S15.9.5.17_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCDay/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCHours/S15.9.5.19_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCHours/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMilliseconds/S15.9.5.25_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMilliseconds/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMinutes/S15.9.5.21_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMinutes/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCMonth/S15.9.5.13_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCMonth/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/getUTCSeconds/S15.9.5.23_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/getUTCSeconds/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setDate/S15.9.5.36_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setDate/S15.9.5.36_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setDate/S15.9.5.36_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setDate/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setFullYear/15.9.5.40_1.js2
-rw-r--r--test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setFullYear/S15.9.5.40_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setFullYear/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setHours/S15.9.5.34_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setHours/S15.9.5.34_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setHours/S15.9.5.34_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setHours/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/S15.9.5.28_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/arg-to-number.js2
-rw-r--r--test/built-ins/Date/prototype/setMilliseconds/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setMinutes/S15.9.5.32_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setMinutes/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setMonth/S15.9.5.38_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setMonth/S15.9.5.38_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setMonth/S15.9.5.38_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setMonth/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setSeconds/S15.9.5.30_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setSeconds/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setTime/S15.9.5.27_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setTime/S15.9.5.27_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setTime/S15.9.5.27_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setTime/this-value-non-date.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCDate/S15.9.5.37_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCFullYear/S15.9.5.41_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCHours/S15.9.5.35_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMilliseconds/S15.9.5.29_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMinutes/S15.9.5.33_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCSeconds/S15.9.5.31_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toDateString/S15.9.5.3_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toDateString/S15.9.5.3_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toDateString/S15.9.5.3_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toDateString/invalid-date.js2
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-10.js24
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-11.js8
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-12.js8
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js6
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-14.js4
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-15.js4
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-16.js4
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-3.js2
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js4
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-5.js2
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-6.js2
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-7.js2
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-8.js16
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-9.js24
-rw-r--r--test/built-ins/Date/prototype/toJSON/15.9.5.44-0-1.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleDateString/S15.9.5.6_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleString/S15.9.5.5_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toLocaleTimeString/S15.9.5.7_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toString/S15.9.5.2_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toString/S15.9.5.2_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toString/S15.9.5.2_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toString/non-date-receiver.js4
-rw-r--r--test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toTimeString/S15.9.5.4_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toTimeString/invalid-date.js2
-rw-r--r--test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/toUTCString/S15.9.5.42_A3_T3.js4
-rw-r--r--test/built-ins/Date/prototype/toUTCString/day-names.js14
-rw-r--r--test/built-ins/Date/prototype/toUTCString/invalid-date.js1
-rw-r--r--test/built-ins/Date/prototype/toUTCString/month-names.js24
-rw-r--r--test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/valueOf/S15.9.5.8_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/valueOf/S15.9.5.8_A3_T3.js4
-rw-r--r--test/built-ins/Date/value-symbol-to-prim-return-obj.js4
-rw-r--r--test/built-ins/Date/value-to-primitive-result-faulty.js4
398 files changed, 1136 insertions, 972 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 b2f1f1c01..395a20bbc 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 fd4915737..24722c8dd 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 c461b0e87..4d627a809 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 af7e4e3e6..7e6baff63 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 a787643e8..3265980f9 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 648c8bbce..875e3a8a4 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 086ed9a6c..ef574b965 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 6a6ed02fd..0f1d0df2c 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 5288bf7b9..dac4065f5 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 6f31096ca..cf02c44a1 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 d94064962..b10c64585 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 cf4ed45a9..bb2848b63 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 1b2c23946..b1549d400 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 d1b0a43fa..8b34dd84b 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 b3ff5fc8c..8fde48a2f 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 6f7174902..890ce6643 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 3dbe78ff7..bc3fc2503 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 ff59c4e69..2280edf5d 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 c9377d599..49a0d15d2 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 646a93696..f7bf7f204 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 16f6dedb8..8eebc2ec6 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 9c98a6a64..e9f2d545c 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 28a0f459f..90c8ac12d 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 83e35fd24..cc3c1a289 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 aec94cc40..f7d549bb9 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 db3d3e990..69d00640c 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 e222772c2..ae5c324d7 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 ebde6e4bd..bd82eadd9 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 3cc1825c6..80e2dacd8 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 02b7842b7..7957670f6 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 3090a39e0..dd0652d88 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 0c8633861..162bf922f 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 96d9b652f..066e575b0 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 8f30c2988..7def6880c 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 6a930ef7f..a6c590a81 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 af50c5f72..3db47612a 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 3846946cd..ced511687 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 ce29d4b9d..79d0468c7 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 e14dccda3..99fc8db1b 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/UTC/coercion-errors.js b/test/built-ins/Date/UTC/coercion-errors.js
index bbca1753e..ccdefb1d1 100644
--- a/test/built-ins/Date/UTC/coercion-errors.js
+++ b/test/built-ins/Date/UTC/coercion-errors.js
@@ -17,8 +17,16 @@ info: |
9. Return TimeClip(MakeDate(MakeDay(yr, m, dt), MakeTime(h, min, s, milli))).
---*/
-var thrower = { toString: function() { throw new Test262Error(); } };
-var counter = { toString: function() { callCount += 1; } };
+var thrower = {
+ toString: function() {
+ throw new Test262Error();
+ }
+};
+var counter = {
+ toString: function() {
+ callCount += 1;
+ }
+};
var callCount = 0;
assert.throws(Test262Error, function() {
diff --git a/test/built-ins/Date/UTC/coercion-order.js b/test/built-ins/Date/UTC/coercion-order.js
index eb1d00c5f..ec0bcd940 100644
--- a/test/built-ins/Date/UTC/coercion-order.js
+++ b/test/built-ins/Date/UTC/coercion-order.js
@@ -18,14 +18,49 @@ info: |
---*/
var log = '';
-var year = { toString: function() { log += 'year'; return 0; } };
-var month = { toString: function() { log += 'month'; return 0; } };
-var date = { toString: function() { log += 'date'; return 1; } };
-var hours = { toString: function() { log += 'hours'; return 0; } };
-var minutes = { toString: function() { log += 'minutes'; return 0; } };
-var seconds = { toString: function() { log += 'seconds'; return 0; } };
-var ms = { toString: function() { log += 'ms'; return 0; } };
+var year = {
+ toString: function() {
+ log += 'year';
+ return 0;
+ }
+};
+var month = {
+ toString: function() {
+ log += 'month';
+ return 0;
+ }
+};
+var date = {
+ toString: function() {
+ log += 'date';
+ return 1;
+ }
+};
+var hours = {
+ toString: function() {
+ log += 'hours';
+ return 0;
+ }
+};
+var minutes = {
+ toString: function() {
+ log += 'minutes';
+ return 0;
+ }
+};
+var seconds = {
+ toString: function() {
+ log += 'seconds';
+ return 0;
+ }
+};
+var ms = {
+ toString: function() {
+ log += 'ms';
+ return 0;
+ }
+};
-Date.UTC(year, month, date, hours,minutes, seconds, ms);
+Date.UTC(year, month, date, hours, minutes, seconds, ms);
assert.sameValue(log, 'yearmonthdatehoursminutessecondsms');
diff --git a/test/built-ins/Date/UTC/infinity-make-day.js b/test/built-ins/Date/UTC/infinity-make-day.js
index f0362a4c0..0fee93fd6 100644
--- a/test/built-ins/Date/UTC/infinity-make-day.js
+++ b/test/built-ins/Date/UTC/infinity-make-day.js
@@ -25,4 +25,3 @@ assert.sameValue(Date.UTC(0, -Infinity), NaN, 'month: -Infinity');
assert.sameValue(Date.UTC(0, 0, Infinity), NaN, 'date: Infinity');
assert.sameValue(Date.UTC(0, 0, -Infinity), NaN, 'date: -Infinity');
-
diff --git a/test/built-ins/Date/coercion-errors.js b/test/built-ins/Date/coercion-errors.js
index 70aef6382..32f11d815 100644
--- a/test/built-ins/Date/coercion-errors.js
+++ b/test/built-ins/Date/coercion-errors.js
@@ -21,8 +21,16 @@ info: |
l. Return O.
---*/
-var thrower = { toString: function() { throw new Test262Error(); } };
-var counter = { toString: function() { callCount += 1; } };
+var thrower = {
+ toString: function() {
+ throw new Test262Error();
+ }
+};
+var counter = {
+ toString: function() {
+ callCount += 1;
+ }
+};
var callCount = 0;
assert.throws(Test262Error, function() {
diff --git a/test/built-ins/Date/coercion-order.js b/test/built-ins/Date/coercion-order.js
index f794b4d91..6ecba56b9 100644
--- a/test/built-ins/Date/coercion-order.js
+++ b/test/built-ins/Date/coercion-order.js
@@ -22,14 +22,49 @@ info: |
---*/
var log = '';
-var year = { toString: function() { log += 'year'; return 0; } };
-var month = { toString: function() { log += 'month'; return 0; } };
-var date = { toString: function() { log += 'date'; return 1; } };
-var hours = { toString: function() { log += 'hours'; return 0; } };
-var minutes = { toString: function() { log += 'minutes'; return 0; } };
-var seconds = { toString: function() { log += 'seconds'; return 0; } };
-var ms = { toString: function() { log += 'ms'; return 0; } };
+var year = {
+ toString: function() {
+ log += 'year';
+ return 0;
+ }
+};
+var month = {
+ toString: function() {
+ log += 'month';
+ return 0;
+ }
+};
+var date = {
+ toString: function() {
+ log += 'date';
+ return 1;
+ }
+};
+var hours = {
+ toString: function() {
+ log += 'hours';
+ return 0;
+ }
+};
+var minutes = {
+ toString: function() {
+ log += 'minutes';
+ return 0;
+ }
+};
+var seconds = {
+ toString: function() {
+ log += 'seconds';
+ return 0;
+ }
+};
+var ms = {
+ toString: function() {
+ log += 'ms';
+ return 0;
+ }
+};
-new Date(year, month, date, hours,minutes, seconds, ms);
+new Date(year, month, date, hours, minutes, seconds, ms);
assert.sameValue(log, 'yearmonthdatehoursminutessecondsms');
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 bafb8bcdd..49c7ac425 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 48587d9d6..e820b95d0 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 1b7e25f8d..65bb436f5 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 b91821807..28de1c497 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 bfec5f908..83b526abc 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 dc2af6291..50c4f3128 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 404fbfa25..5e2de082f 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 e40edd102..584534f08 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 03fa78a01..4e8aa39a4 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 dc4be9ce9..2eed4f1eb 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 9aefb6afe..0ee361179 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 45f26ff7b..c069dc245 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 748d927dd..93d0473d5 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 1c3a6f0fa..03d792523 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 eb79567f3..d4e616a3b 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 bb6927638..956c54030 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 7f28f0e7e..1702b4f79 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 4c6c2369d..a97e2830e 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 2e12494f1..a808725ad 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 22a6ea411..8d697d665 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 f99b87ae6..4e8e7e1c6 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 6decf276d..901af6df6 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 8ea541620..1ea076f8b 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 f45c81f91..e6e74d724 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 f4131a387..a1bfd2a82 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 1bfad7edd..b0c5d9914 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 d023a173d..121995f93 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 fa1eb9a96..91af4cab8 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 004239f0b..f6b144d32 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 77de3c964..7e06d8020 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 63cc54853..8dab8344e 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 745978484..62bf0c5fe 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 945c9f495..a3fa23e11 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 2b04f057b..dce48a446 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 29ca2ca87..5cfb076ed 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 757515d0a..9477085b7 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 73e634993..c9fe329cb 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 87df1a922..e65718a73 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 332509563..64f801900 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 086486601..19e349e8b 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 e64d4dade..85f07b5f2 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 887364be2..4810950ba 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 ef6a352ad..c2a98b414 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 7eff33046..4fa278360 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 2d76fab11..1c88f55bd 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 562c03ec1..1b4ce8b06 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 b5d13f4bf..0798b7148 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 096cb7f62..b32f6858f 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 af8535a37..879e1bfc9 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 c6c4eb4b4..61dc0ef4c 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 61e0ee127..207f28c6a 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 015869e87..7b31914c4 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 1969ffc3e..fb7f63813 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 4c0bd7cb3..585613408 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 e7fe30436..49cd15ab2 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 529e66b44..b5beb2284 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 e913c47d3..d920a2e81 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 602a86f0e..3a75f29c6 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 1b88c0dfa..61047cc75 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 8c8984d23..76ad845df 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 14a92d6e3..4756c8aa0 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 d52223e2d..464dd1a2f 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 2bfb76a14..1838bde8e 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 6734712ca..31eb39ad3 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 646100bc1..dd0195edc 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 2524225ed..dc5b54584 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 ec4cc8a1a..d7c241aaa 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 a1d10c6dc..f9ab23268 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 44019e9b9..fa7ea6a93 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 8d062a86b..e0c5e04e3 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 71adf2c09..f03661dd9 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 e965ed28d..54897a558 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 087abbffb..bfc30f439 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 e410c9213..bc6e97309 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 76682ac39..e6126c6a1 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 8b35eb11b..9bdbc7d89 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 36e66960f..7fedce52a 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 db86b65f9..f191bd5a6 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 77a92e2fd..b587f199e 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 b0c1a1677..08824758c 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 b9a4dd05b..eb6d46501 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 675c26289..81af2ec44 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 44b400259..2f00e05fd 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 57b77bb9d..ad3d3e28a 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 7c922a9b2..075c0dd9a 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 765dcd7e0..d1e27ba34 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 f4e40a3e0..41309fa45 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 3e16f9726..38483bcc4 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 8ad8bf927..e564b8cb8 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 47e7ee0fd..02f01b39e 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 fd1e1c674..303c244a2 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 1c71dc383..284cbcbfe 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 f3d30e6bf..b41afec04 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 0ef201732..a21989305 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 bf774828d..5992ea3fe 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 92f972fb1..6b83032da 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 7d6952bf7..f8b013db8 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 35b1fe5fa..92454620e 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 b8e220a5a..1eca182ac 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 98da5f955..a21e5c917 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 82c5bc31f..1ebae46de 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 45b981bf7..ad2707c4c 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 57b392e3c..369327b27 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 7352f0fe7..f138e4541 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 6f8e68167..ef10bf216 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 35e9a49c8..0dbd2ef09 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 2a323bf2f..c3ecf9670 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 5a54ceef2..0f5b25ac6 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 8bdef21e5..c8ef094ed 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 2421448a4..4670ca41c 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 0d15087da..6bf3900c9 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 f60e80489..5f3a77b80 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 e2068723e..01b061bb6 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 48649c664..d64c25bda 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 f8989220a..c492eeb3e 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 c390183cc..03899aedb 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 3c5840532..bfb10ee71 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 7a966b47f..ed9a191ef 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 bdd9c3d20..9c70eb7d3 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 ee4bb53d5..5e97078b7 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 7255118e1..f3a664fcb 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 721d0a657..553711f41 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 d52abbf4c..6665c7a28 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 75f1923f7..606a8b167 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 68b62628a..2d122a878 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 e49b97ebe..07d60f18a 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 5cda48211..a2babe656 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 2d827c88a..a0dbe95e8 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 70c26e283..90ab47a5d 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 522c090fc..e91f04ae8 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 92141a35e..d9a4b4075 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 e03366735..de279e6ea 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 780ec6ea4..5f7607bda 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 d2dae6634..19c4ffdb2 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 e7d0f56a3..b461a8e7b 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 526741c0a..05074a1e1 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 49aeeec1b..3c7bc11a9 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 f506616e0..616287d5b 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 0eac97f72..e16a345ee 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 00f0e984c..edbb9776c 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 a7cbdb953..156fe2099 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 b1fa8320d..c96f0d581 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 1af48d17c..db54c4e56 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 1a306a52a..76ac39c61 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 106f8dbfd..392c4f227 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 587a257d1..12616454f 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 a2f421570..973396f11 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 deb4325ec..b64b3df41 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 7836d0c30..a34f02109 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 d874fb162..da81ad63d 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 fd140cd31..1109de1d0 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 040c4f959..1d9e61e9f 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 9d5cc2186..9a83ba968 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 4e567e4fa..f8f01c1f6 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 6eeee6196..5a094cf77 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 66f8ac106..7ca02ffca 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 63c9005a2..5d8c8b31f 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 dcb538084..0c0a8d319 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 b14b5e9a4..2d8a11c1b 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 665f2989e..9b079694f 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 3e9443080..7a33960ae 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 f819746d1..6c20b2ed7 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 3ddc4e156..de48fbbab 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 7bca0c22d..04951c393 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 2cac17d36..bcf79fcdc 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 ec48a5454..0704d95d0 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 6991e9530..c33ebaaea 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 de2100e16..b5b26ff33 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 d1ce694e4..10e42c208 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 705c403c3..7e18abfda 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 9ea891483..a36fde2db 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 70498de04..bdff66e89 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 c75a98145..987754bcc 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 da0788086..7f1b9e911 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 f6755a860..f2258b315 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 0dacaba82..cfb11a6a9 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 b12f8f56c..634414bb1 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 80019c13e..4a56c810f 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 1d0051b56..c72724973 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 80a364e36..e621eb0bc 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 37ca26af5..8ee7aa797 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 208feef43..2a3556675 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 0b4fc5f08..7e05c1440 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 9745d426d..44bf2281f 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 ead65ce16..106d19e4f 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 9d30e635b..90cdad160 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 51be0cd06..c85ae0c50 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 d58c65078..83862dd21 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 2a523fedb..52762004e 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 8cfe10631..b09fd4e3e 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 cde7bec69..446066cec 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 f148514c4..87c6dfcec 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 6b430e528..2614ce2be 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 2ecf10d65..506cc0869 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 0a49250a5..4cab3b334 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 ba5017746..5dab62ff4 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 565a1f80a..170c26f65 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 ece79ddc4..9a4d316d3 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 7b709c759..95b5a5a21 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 fbca2081e..a46d72b43 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 614e46e97..9d005c8e7 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 e000d2ab6..7b8bfb66a 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 c15bc6d2e..83d468f5d 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 318de235b..d33d529cd 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 1f0c79bff..e1f4fc3be 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 5942a2006..ff1c5768b 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 2bbc4a908..7af41c60d 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 304c43553..9f8624a50 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 4d123f0ee..e784ed356 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 c53633c55..44772a4fb 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 264f0c077..f0af044b5 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 4ec16e589..7e8d6c2fe 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 df836da90..f0b001094 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 0eb55d509..66a039333 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 a326bb1dc..050e72b87 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 7df0448c5..aa2534cba 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 63b492e5a..307c3faf8 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 027585d5f..2defce23d 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 90f2d2a07..8d0ec1215 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 dfb851f09..dfd21f485 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 db7ec51ac..c38de0214 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 a2d3318c1..9c1ab2a20 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 2998b51cf..14a0d1537 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 dd68de3b0..8a5de9ca4 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 17adaeb47..efca28cee 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 8169cab41..ef07cbb5c 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 282894467..6d16b1ff4 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 1ebdb5b51..519120b36 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 43b17d0f8..f9f122a64 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 f4215dd83..8d960dcb6 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 49c6c9083..a2fe30e52 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 ef7f322d8..be61ed9a8 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 bfd04c09d..5a281d8d0 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 23821c06a..e63ed9c37 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 1358fd8f9..2a56bf3ae 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 1718c4213..2e872fd72 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 ed64ee5ed..0a9fd6ce5 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 0b47d76ce..f7f68712d 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 95b02e0d5..f804e38d9 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 1981007be..cdd444a6b 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 c2fb0f4b6..ca4ade5b2 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 fb0106d71..c296387b8 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 5cb5c8bb1..3ef3186fa 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 f99b22fcc..90decdc77 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 4e810092e..3cbefe81a 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 732f6bf78..5e29f15a8 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 eb097a6ac..ffebf0797 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 ff165c535..fa2e021e2 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 a12b7435d..1d8a1262c 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 1a388a682..7abfca465 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 185a24888..1c332dd81 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 a35c41590..a2228d589 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 f67269dc1..6ef0033d8 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 f59d7877c..887d73eca 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 48a615ba2..c314b25bd 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 a7355fa1d..e7645db48 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 4101fa7e6..aff70c61e 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 6f4e2dd0d..907b8712e 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 745bfc88f..c80cf6219 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 76f4e76b0..a1d0a1947 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 75d82db9e..4d8fc8fa5 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 caebe55dd..c24ff83d5 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 881c01fcc..345a3e3d3 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 57cd4142a..f70f57b13 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 6dde346d8..a47a18c29 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 688f48e21..44c08e64f 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 9d9f27c44..3bde3ee4d 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 cce942cbf..edc715a86 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 c6aa7f7d0..bf0efd476 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 d512247e6..5b19af2ea 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 28b7f7499..0614a194b 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 078ac39c1..da43ff45f 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 48de38d72..9790d9a99 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 ed6ca3fe1..ed7332bd2 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 a4c5d29ed..682dd9f72 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 82c3bf8b4..07e8dda60 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 d02f44bbe..1fee64d56 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 2e7d84561..903d2dc77 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 0e74c82ad..7d3d1d09e 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 1ca934a4a..eb427b1ff 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 5dc03a2ad..edcc69006 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 b05658309..26c083340 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 17ec0c0ee..2cb04dd62 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 c133ffc5a..ce21f347a 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 3afef1875..e72d1fbd8 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 a17110e05..ab2d1e72d 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 0248330b0..32c140ce9 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 090b9646d..19bc54bb6 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 6c52d43db..0f83f7f21 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 5ea87075e..9f7cffda7 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 596f80343..f94e964d4 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 63feb9075..b08fa6538 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 5e976d17e..2086f48a9 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 431a79c41..71a9232eb 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 49a859c59..7dc2be64a 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 f08686324..752120dfc 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 e27b08feb..d3be4f9fb 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 f2c53adbf..9703836e1 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 f27f7e0ae..d2f2e391e 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 35359f902..0dc17db6f 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 53b001d87..dda74767f 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 b4d5bc800..517fb7453 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 3c55da5fa..e85077c6c 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 8907ccb68..04c9fd69c 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 16804d115..baafe4540 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 0c41bc3be..8e976f0ed 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 045c649f0..656300446 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 704b25ff7..6a8cef0a6 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 96541c978..5b7959dc7 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 75c0ad18a..85565c6bc 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 f015937cd..63440c550 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 a2d621c88..4f20c546b 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 845ad90eb..44476c8e4 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 2aa877b57..aa96373cb 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 7713b34ae..29ba76ea9 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 4deaaa40a..161ab9541 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 c5d11f4e8..506819909 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 3c1aa5317..eec3df6ac 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 564821c33..4fc755ef2 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 50d48f8d7..5e7cff2a0 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 9471cf556..14f226a02 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 1a034dba4..8e02b4e6f 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 6562daad4..53aea089b 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 04e6d7ffa..c4938dc06 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 63c170fe6..e39133756 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 1317b0abd..382fc242c 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 861d62cab..a5026ecfd 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 b264985cb..3bc1f906c 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 15c54f020..0c4a7fe58 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 4273975b1..3d0885b9c 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 4739c7cf1..9ca9f0008 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 2c4d753a9..0b0ecf006 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 b8b070ebd..6d4babc06 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 305b2a96a..880915233 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 f05985402..92e4da323 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 36232375d..6476bf513 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 1078d9557..39cc97528 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 de0313086..3fee728b2 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 d515e3446..caca517fc 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 27d217a35..6149d52a9 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 8d56631ed..ad2262d32 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 b001e606c..26cebb299 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 e5a2ae8c6..c3e445fb5 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/day-names.js b/test/built-ins/Date/prototype/toUTCString/day-names.js
index ce9cdfaab..7f164060f 100644
--- a/test/built-ins/Date/prototype/toUTCString/day-names.js
+++ b/test/built-ins/Date/prototype/toUTCString/day-names.js
@@ -7,16 +7,16 @@ description: Test the names of days
---*/
assert.sameValue("Sun, 23 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-23T00:00:00Z")).toUTCString());
+ (new Date("2014-03-23T00:00:00Z")).toUTCString());
assert.sameValue("Mon, 24 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-24T00:00:00Z")).toUTCString());
+ (new Date("2014-03-24T00:00:00Z")).toUTCString());
assert.sameValue("Tue, 25 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-25T00:00:00Z")).toUTCString());
+ (new Date("2014-03-25T00:00:00Z")).toUTCString());
assert.sameValue("Wed, 26 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-26T00:00:00Z")).toUTCString());
+ (new Date("2014-03-26T00:00:00Z")).toUTCString());
assert.sameValue("Thu, 27 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-27T00:00:00Z")).toUTCString());
+ (new Date("2014-03-27T00:00:00Z")).toUTCString());
assert.sameValue("Fri, 28 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-28T00:00:00Z")).toUTCString());
+ (new Date("2014-03-28T00:00:00Z")).toUTCString());
assert.sameValue("Sat, 29 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-29T00:00:00Z")).toUTCString());
+ (new Date("2014-03-29T00:00:00Z")).toUTCString());
diff --git a/test/built-ins/Date/prototype/toUTCString/invalid-date.js b/test/built-ins/Date/prototype/toUTCString/invalid-date.js
index 3430e4b3c..0f81fe11e 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/toUTCString/month-names.js b/test/built-ins/Date/prototype/toUTCString/month-names.js
index a50dc18b3..465827090 100644
--- a/test/built-ins/Date/prototype/toUTCString/month-names.js
+++ b/test/built-ins/Date/prototype/toUTCString/month-names.js
@@ -7,26 +7,26 @@ description: Test the names of months
---*/
assert.sameValue("Wed, 01 Jan 2014 00:00:00 GMT",
- (new Date("2014-01-01T00:00:00Z")).toUTCString());
+ (new Date("2014-01-01T00:00:00Z")).toUTCString());
assert.sameValue("Sat, 01 Feb 2014 00:00:00 GMT",
- (new Date("2014-02-01T00:00:00Z")).toUTCString());
+ (new Date("2014-02-01T00:00:00Z")).toUTCString());
assert.sameValue("Sat, 01 Mar 2014 00:00:00 GMT",
- (new Date("2014-03-01T00:00:00Z")).toUTCString());
+ (new Date("2014-03-01T00:00:00Z")).toUTCString());
assert.sameValue("Tue, 01 Apr 2014 00:00:00 GMT",
- (new Date("2014-04-01T00:00:00Z")).toUTCString());
+ (new Date("2014-04-01T00:00:00Z")).toUTCString());
assert.sameValue("Thu, 01 May 2014 00:00:00 GMT",
- (new Date("2014-05-01T00:00:00Z")).toUTCString());
+ (new Date("2014-05-01T00:00:00Z")).toUTCString());
assert.sameValue("Sun, 01 Jun 2014 00:00:00 GMT",
- (new Date("2014-06-01T00:00:00Z")).toUTCString());
+ (new Date("2014-06-01T00:00:00Z")).toUTCString());
assert.sameValue("Tue, 01 Jul 2014 00:00:00 GMT",
- (new Date("2014-07-01T00:00:00Z")).toUTCString());
+ (new Date("2014-07-01T00:00:00Z")).toUTCString());
assert.sameValue("Fri, 01 Aug 2014 00:00:00 GMT",
- (new Date("2014-08-01T00:00:00Z")).toUTCString());
+ (new Date("2014-08-01T00:00:00Z")).toUTCString());
assert.sameValue("Mon, 01 Sep 2014 00:00:00 GMT",
- (new Date("2014-09-01T00:00:00Z")).toUTCString());
+ (new Date("2014-09-01T00:00:00Z")).toUTCString());
assert.sameValue("Wed, 01 Oct 2014 00:00:00 GMT",
- (new Date("2014-10-01T00:00:00Z")).toUTCString());
+ (new Date("2014-10-01T00:00:00Z")).toUTCString());
assert.sameValue("Sat, 01 Nov 2014 00:00:00 GMT",
- (new Date("2014-11-01T00:00:00Z")).toUTCString());
+ (new Date("2014-11-01T00:00:00Z")).toUTCString());
assert.sameValue("Mon, 01 Dec 2014 00:00:00 GMT",
- (new Date("2014-12-01T00:00:00Z")).toUTCString());
+ (new Date("2014-12-01T00:00:00Z")).toUTCString());
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 6a33b59ee..9492a8ae8 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 96d3028b5..d6a5b8eb0 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 dd791639f..81f7098e9 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 514ec3605..8a95d40db 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 cdebc7dd5..3ad642916 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 e7ab16930..dfedf8c62 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 732217448..457e126aa 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 50ff50e29..3f2ae125c 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');