From 94be366f65579db77b5be247b5846047825cecf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= <andre.bargull@gmail.com> Date: Wed, 29 Apr 2015 17:42:48 +0200 Subject: [PATCH] Fix strict mode errors in built-ins/RegExp - Add missing "var" declarations and noStrict flags - Remove with statements Part of issue #35. --- test/built-ins/RegExp/S15.10.2.10_A2.1_T1.js | 6 +- test/built-ins/RegExp/S15.10.2.10_A2.1_T2.js | 6 +- test/built-ins/RegExp/S15.10.2.10_A2.1_T3.js | 6 +- test/built-ins/RegExp/S15.10.2.10_A3.1_T2.js | 8 +-- test/built-ins/RegExp/S15.10.2.10_A4.1_T2.js | 8 +-- test/built-ins/RegExp/S15.10.2.10_A4.1_T3.js | 8 +-- test/built-ins/RegExp/S15.10.2.10_A5.1_T1.js | 2 +- test/built-ins/RegExp/S15.10.2.11_A1_T8.js | 2 +- test/built-ins/RegExp/S15.10.2.11_A1_T9.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A1_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A1_T4.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A2_T3.js | 6 +- test/built-ins/RegExp/S15.10.2.12_A2_T4.js | 6 +- test/built-ins/RegExp/S15.10.2.12_A3_T2.js | 6 +- test/built-ins/RegExp/S15.10.2.12_A3_T3.js | 6 +- test/built-ins/RegExp/S15.10.2.12_A3_T4.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A4_T2.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A4_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A4_T4.js | 6 +- test/built-ins/RegExp/S15.10.2.12_A5_T2.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A5_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.12_A6_T2.js | 6 +- test/built-ins/RegExp/S15.10.2.12_A6_T3.js | 6 +- test/built-ins/RegExp/S15.10.2.13_A1_T1.js | 2 +- test/built-ins/RegExp/S15.10.2.13_A1_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T13.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T14.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T15.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T16.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T17.js | 2 +- test/built-ins/RegExp/S15.10.2.13_A1_T2.js | 2 +- test/built-ins/RegExp/S15.10.2.13_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T7.js | 2 +- test/built-ins/RegExp/S15.10.2.13_A1_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A1_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A2_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A2_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A2_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A2_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A2_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A2_T6.js | 2 +- test/built-ins/RegExp/S15.10.2.13_A2_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A2_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A3_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A3_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A3_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.13_A3_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T13.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T14.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T15.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T16.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T17.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T5.js | 2 +- test/built-ins/RegExp/S15.10.2.3_A1_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T7.js | 2 +- test/built-ins/RegExp/S15.10.2.3_A1_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.3_A1_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.5_A1_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.5_A1_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.5_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.5_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.5_A1_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A1_T1.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A1_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A1_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A2_T1.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A2_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A2_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A2_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A2_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A2_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A2_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A2_T7.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A2_T8.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A2_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T13.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A3_T14.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T15.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A3_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A3_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T5.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A3_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A3_T9.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A4_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A4_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A4_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A4_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A4_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A4_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A4_T7.js | 2 +- test/built-ins/RegExp/S15.10.2.6_A4_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A5_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A5_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A6_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A6_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A6_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.6_A6_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T2.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A1_T9.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A2_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A2_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A2_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A2_T4.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A3_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T10.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A3_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T13.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T14.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A3_T4.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A3_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A3_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T13.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T14.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T15.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T16.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T17.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T18.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T19.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T20.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T21.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A4_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A4_T8.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A4_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A5_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A5_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A6_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A6_T2.js | 2 +- test/built-ins/RegExp/S15.10.2.7_A6_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A6_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A6_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.7_A6_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A1_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A1_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A1_T5.js | 2 +- test/built-ins/RegExp/S15.10.2.8_A2_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A2_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A2_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A2_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A2_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.8_A2_T4.js | 2 +- test/built-ins/RegExp/S15.10.2.8_A2_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A2_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A2_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A2_T8.js | 2 +- test/built-ins/RegExp/S15.10.2.8_A2_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T10.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T11.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T12.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T13.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T14.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T15.js | 16 +++--- test/built-ins/RegExp/S15.10.2.8_A3_T16.js | 16 +++--- test/built-ins/RegExp/S15.10.2.8_A3_T17.js | 8 +-- test/built-ins/RegExp/S15.10.2.8_A3_T18.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T19.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T20.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T21.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T22.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T23.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T24.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T25.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T26.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T27.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T28.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T29.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T3.js | 2 +- test/built-ins/RegExp/S15.10.2.8_A3_T30.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T31.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T32.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T33.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A3_T4.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T5.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T6.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T7.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T8.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A3_T9.js | 4 +- test/built-ins/RegExp/S15.10.2.8_A4_T1.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T2.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T3.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T4.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T5.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T6.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T7.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T8.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A4_T9.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A5_T1.js | 6 +- test/built-ins/RegExp/S15.10.2.8_A5_T2.js | 6 +- test/built-ins/RegExp/S15.10.2.9_A1_T1.js | 4 +- test/built-ins/RegExp/S15.10.2.9_A1_T2.js | 4 +- test/built-ins/RegExp/S15.10.2.9_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.2.9_A1_T4.js | 2 +- test/built-ins/RegExp/S15.10.2.9_A1_T5.js | 4 +- test/built-ins/RegExp/S15.10.2_A1_T1.js | 56 +++++++++---------- test/built-ins/RegExp/S15.10.3.1_A1_T1.js | 4 +- test/built-ins/RegExp/S15.10.3.1_A1_T2.js | 4 +- test/built-ins/RegExp/S15.10.3.1_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.3.1_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.3.1_A1_T5.js | 4 +- test/built-ins/RegExp/S15.10.3.1_A3_T1.js | 4 +- test/built-ins/RegExp/S15.10.3.1_A3_T2.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A1_T1.js | 4 +- test/built-ins/RegExp/S15.10.4.1_A1_T2.js | 4 +- test/built-ins/RegExp/S15.10.4.1_A1_T3.js | 4 +- test/built-ins/RegExp/S15.10.4.1_A1_T4.js | 4 +- test/built-ins/RegExp/S15.10.4.1_A1_T5.js | 4 +- test/built-ins/RegExp/S15.10.4.1_A3_T1.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A3_T2.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A3_T3.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A3_T4.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A3_T5.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A4_T1.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A4_T2.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A4_T3.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A4_T4.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A4_T5.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A6_T1.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A7_T1.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A7_T2.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T1.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T10.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T11.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T2.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T3.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T4.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T5.js | 2 +- test/built-ins/RegExp/S15.10.4.1_A8_T9.js | 2 +- test/built-ins/RegExp/S15.10.7_A3_T1.js | 2 +- test/built-ins/RegExp/S15.10.7_A3_T2.js | 2 +- .../RegExp/prototype/S15.10.5.1_A2.js | 4 +- .../RegExp/prototype/S15.10.5.1_A3.js | 1 + .../RegExp/prototype/S15.10.5.1_A4.js | 1 + .../RegExp/prototype/S15.10.6.1_A1_T2.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A10.js | 1 + .../RegExp/prototype/exec/S15.10.6.2_A1_T1.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T10.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T11.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T12.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T13.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T14.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T15.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T16.js | 2 +- .../prototype/exec/S15.10.6.2_A1_T17.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T18.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T19.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A1_T2.js | 17 +++--- .../prototype/exec/S15.10.6.2_A1_T20.js | 4 +- .../prototype/exec/S15.10.6.2_A1_T21.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A1_T3.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A1_T4.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A1_T5.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A1_T6.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A1_T9.js | 2 +- .../RegExp/prototype/exec/S15.10.6.2_A2_T1.js | 2 +- .../prototype/exec/S15.10.6.2_A2_T10.js | 2 +- .../RegExp/prototype/exec/S15.10.6.2_A2_T2.js | 10 ++-- .../RegExp/prototype/exec/S15.10.6.2_A2_T3.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A2_T4.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A2_T5.js | 8 +-- .../RegExp/prototype/exec/S15.10.6.2_A2_T6.js | 2 +- .../RegExp/prototype/exec/S15.10.6.2_A2_T7.js | 2 +- .../RegExp/prototype/exec/S15.10.6.2_A2_T8.js | 2 +- .../RegExp/prototype/exec/S15.10.6.2_A2_T9.js | 2 +- .../RegExp/prototype/exec/S15.10.6.2_A3_T1.js | 8 +-- .../RegExp/prototype/exec/S15.10.6.2_A3_T2.js | 10 ++-- .../RegExp/prototype/exec/S15.10.6.2_A3_T3.js | 10 ++-- .../RegExp/prototype/exec/S15.10.6.2_A3_T4.js | 10 ++-- .../RegExp/prototype/exec/S15.10.6.2_A3_T5.js | 8 +-- .../RegExp/prototype/exec/S15.10.6.2_A3_T6.js | 8 +-- .../RegExp/prototype/exec/S15.10.6.2_A3_T7.js | 8 +-- .../RegExp/prototype/exec/S15.10.6.2_A4_T1.js | 6 +- .../prototype/exec/S15.10.6.2_A4_T10.js | 8 +-- .../prototype/exec/S15.10.6.2_A4_T11.js | 8 +-- .../prototype/exec/S15.10.6.2_A4_T12.js | 8 +-- .../RegExp/prototype/exec/S15.10.6.2_A4_T2.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A4_T3.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A4_T4.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A4_T5.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A4_T6.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A4_T7.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A4_T8.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A4_T9.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A5_T1.js | 6 +- .../RegExp/prototype/exec/S15.10.6.2_A5_T2.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A5_T3.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A7.js | 4 +- .../RegExp/prototype/exec/S15.10.6.2_A8.js | 4 +- .../RegExp/prototype/global/S15.10.7.2_A10.js | 1 + .../RegExp/prototype/global/S15.10.7.2_A8.js | 6 +- .../RegExp/prototype/global/S15.10.7.2_A9.js | 2 +- .../prototype/ignoreCase/S15.10.7.3_A10.js | 1 + .../prototype/ignoreCase/S15.10.7.3_A8.js | 6 +- .../prototype/ignoreCase/S15.10.7.3_A9.js | 2 +- .../prototype/lastIndex/S15.10.7.5_A8.js | 6 +- .../prototype/lastIndex/S15.10.7.5_A9.js | 1 + .../prototype/multiline/S15.10.7.4_A10.js | 1 + .../prototype/multiline/S15.10.7.4_A8.js | 6 +- .../prototype/multiline/S15.10.7.4_A9.js | 2 +- .../RegExp/prototype/source/S15.10.7.1_A10.js | 1 + .../RegExp/prototype/source/S15.10.7.1_A8.js | 6 +- .../RegExp/prototype/source/S15.10.7.1_A9.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A10.js | 1 + .../RegExp/prototype/test/S15.10.6.3_A1_T1.js | 2 +- .../prototype/test/S15.10.6.3_A1_T10.js | 2 +- .../prototype/test/S15.10.6.3_A1_T11.js | 2 +- .../prototype/test/S15.10.6.3_A1_T12.js | 2 +- .../prototype/test/S15.10.6.3_A1_T13.js | 2 +- .../prototype/test/S15.10.6.3_A1_T14.js | 2 +- .../prototype/test/S15.10.6.3_A1_T15.js | 2 +- .../prototype/test/S15.10.6.3_A1_T16.js | 2 +- .../prototype/test/S15.10.6.3_A1_T17.js | 2 +- .../prototype/test/S15.10.6.3_A1_T18.js | 2 +- .../prototype/test/S15.10.6.3_A1_T19.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A1_T2.js | 2 +- .../prototype/test/S15.10.6.3_A1_T20.js | 2 +- .../prototype/test/S15.10.6.3_A1_T21.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A1_T3.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A1_T4.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A1_T5.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A1_T6.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A1_T9.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A2_T1.js | 2 +- .../prototype/test/S15.10.6.3_A2_T10.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A2_T2.js | 8 +-- .../RegExp/prototype/test/S15.10.6.3_A2_T3.js | 6 +- .../RegExp/prototype/test/S15.10.6.3_A2_T4.js | 6 +- .../RegExp/prototype/test/S15.10.6.3_A2_T5.js | 8 +-- .../RegExp/prototype/test/S15.10.6.3_A2_T6.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A2_T7.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A2_T8.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A2_T9.js | 2 +- .../RegExp/prototype/test/S15.10.6.3_A7.js | 4 +- .../RegExp/prototype/test/S15.10.6.3_A8.js | 4 +- .../prototype/toString/S15.10.6.4_A10.js | 1 + .../prototype/toString/S15.10.6.4_A7.js | 4 +- .../prototype/toString/S15.10.6.4_A8.js | 4 +- 395 files changed, 807 insertions(+), 806 deletions(-) diff --git a/test/built-ins/RegExp/S15.10.2.10_A2.1_T1.js b/test/built-ins/RegExp/S15.10.2.10_A2.1_T1.js index 913c02266e..a12c544b13 100644 --- a/test/built-ins/RegExp/S15.10.2.10_A2.1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.10_A2.1_T1.js @@ -9,9 +9,9 @@ description: "ControlLetter :: A - Z" //CHECK#0041-005A var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - str = String.fromCharCode(alpha % 32); - arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); +for (var alpha = 0x0041; alpha <= 0x005A; alpha++) { + var str = String.fromCharCode(alpha % 32); + var arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.10_A2.1_T2.js b/test/built-ins/RegExp/S15.10.2.10_A2.1_T2.js index bd68e1e53b..c2fb1bd6ec 100644 --- a/test/built-ins/RegExp/S15.10.2.10_A2.1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.10_A2.1_T2.js @@ -9,9 +9,9 @@ description: "ControlLetter :: a - z" //CHECK#0061-007A var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - str = String.fromCharCode(alpha % 32); - arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); +for (var alpha = 0x0061; alpha <= 0x007A; alpha++) { + var str = String.fromCharCode(alpha % 32); + var arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.10_A2.1_T3.js b/test/built-ins/RegExp/S15.10.2.10_A2.1_T3.js index 47fb014e85..6602fc354f 100644 --- a/test/built-ins/RegExp/S15.10.2.10_A2.1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.10_A2.1_T3.js @@ -9,9 +9,9 @@ description: "ControlLetter :: RUSSIAN ALPHABET is incorrect" //CHECK#0410-042F var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha % 32); - arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); +for (var alpha = 0x0410; alpha <= 0x042F; alpha++) { + var str = String.fromCharCode(alpha % 32); + var arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); if (arr !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.10_A3.1_T2.js b/test/built-ins/RegExp/S15.10.2.10_A3.1_T2.js index c8cbb0e967..3f99f9eefa 100644 --- a/test/built-ins/RegExp/S15.10.2.10_A3.1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.10_A3.1_T2.js @@ -8,11 +8,11 @@ description: Checking ENGLISH CAPITAL ALPHABET and english small alphabet ---*/ //CHECK#41-5A -hex = ["\\x41", "\\x42", "\\x43", "\\x44", "\\x45", "\\x46", "\\x47", "\\x48", "\\x49", "\\x4A", "\\x4B", "\\x4C", "\\x4D", "\\x4E", "\\x4F", "\\x50", "\\x51", "\\x52", "\\x53", "\\x54", "\\x55", "\\x56", "\\x57", "\\x58", "\\x59", "\\x5A"]; -character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; +var hex = ["\\x41", "\\x42", "\\x43", "\\x44", "\\x45", "\\x46", "\\x47", "\\x48", "\\x49", "\\x4A", "\\x4B", "\\x4C", "\\x4D", "\\x4E", "\\x4F", "\\x50", "\\x51", "\\x52", "\\x53", "\\x54", "\\x55", "\\x56", "\\x57", "\\x58", "\\x59", "\\x5A"]; +var character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); +for (var index = 0; index < hex.length; index++) { + var arr = (new RegExp(hex[index])).exec(character[index]); if ((arr === null) || (arr[0] !== character[index])) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.10_A4.1_T2.js b/test/built-ins/RegExp/S15.10.2.10_A4.1_T2.js index 3e87fe007b..43e45ceef1 100644 --- a/test/built-ins/RegExp/S15.10.2.10_A4.1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.10_A4.1_T2.js @@ -12,11 +12,11 @@ description: > ---*/ //CHECK#41-5A -hex = ["\\u0041", "\\u0042", "\\u0043", "\\u0044", "\\u0045", "\\u0046", "\\u0047", "\\u0048", "\\u0049", "\\u004A", "\\u004B", "\\u004C", "\\u004D", "\\u004E", "\\u004F", "\\u0050", "\\u0051", "\\u0052", "\\u0053", "\\u0054", "\\u0055", "\\u0056", "\\u0057", "\\u0058", "\\u0059", "\\u005A"]; -character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; +var hex = ["\\u0041", "\\u0042", "\\u0043", "\\u0044", "\\u0045", "\\u0046", "\\u0047", "\\u0048", "\\u0049", "\\u004A", "\\u004B", "\\u004C", "\\u004D", "\\u004E", "\\u004F", "\\u0050", "\\u0051", "\\u0052", "\\u0053", "\\u0054", "\\u0055", "\\u0056", "\\u0057", "\\u0058", "\\u0059", "\\u005A"]; +var character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); +for (var index = 0; index < hex.length; index++) { + var arr = (new RegExp(hex[index])).exec(character[index]); if ((arr === null) || (arr[0] !== character[index])) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.10_A4.1_T3.js b/test/built-ins/RegExp/S15.10.2.10_A4.1_T3.js index 040417bf92..2320d92cf1 100644 --- a/test/built-ins/RegExp/S15.10.2.10_A4.1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.10_A4.1_T3.js @@ -12,11 +12,11 @@ description: > ---*/ //CHECK#0410-042F, 0401 -hex = ["\\u0410", "\\u0411", "\\u0412", "\\u0413", "\\u0414", "\\u0415", "\\u0416", "\\u0417", "\\u0418", "\\u0419", "\\u041A", "\\u041B", "\\u041C", "\\u041D", "\\u041E", "\\u041F", "\\u0420", "\\u0421", "\\u0422", "\\u0423", "\\u0424", "\\u0425", "\\u0426", "\\u0427", "\\u0428", "\\u0429", "\\u042A", "\\u042B", "\\u042C", "\\u042D", "\\u042E", "\\u042F", "\\u0401"]; -character = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"]; +var hex = ["\\u0410", "\\u0411", "\\u0412", "\\u0413", "\\u0414", "\\u0415", "\\u0416", "\\u0417", "\\u0418", "\\u0419", "\\u041A", "\\u041B", "\\u041C", "\\u041D", "\\u041E", "\\u041F", "\\u0420", "\\u0421", "\\u0422", "\\u0423", "\\u0424", "\\u0425", "\\u0426", "\\u0427", "\\u0428", "\\u0429", "\\u042A", "\\u042B", "\\u042C", "\\u042D", "\\u042E", "\\u042F", "\\u0401"]; +var character = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"]; var result = true; -for (index = 0; index < hex.length; index++) { - arr = (new RegExp(hex[index])).exec(character[index]); +for (var index = 0; index < hex.length; index++) { + var arr = (new RegExp(hex[index])).exec(character[index]); if ((arr === null) || (arr[0] !== character[index])) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.10_A5.1_T1.js b/test/built-ins/RegExp/S15.10.2.10_A5.1_T1.js index 1eba2d7ac1..2d85e1670d 100644 --- a/test/built-ins/RegExp/S15.10.2.10_A5.1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.10_A5.1_T1.js @@ -14,7 +14,7 @@ var non_ident = "~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; var k = -1; do { k++; - arr = new RegExp("\\" + non_ident[k], "g").exec(non_ident); + var arr = new RegExp("\\" + non_ident[k], "g").exec(non_ident); } while ((arr !== null) && (arr[0] === non_ident[k])) if (non_ident.length !== k) { diff --git a/test/built-ins/RegExp/S15.10.2.11_A1_T8.js b/test/built-ins/RegExp/S15.10.2.11_A1_T8.js index c6aa5102ae..f35711ddf0 100644 --- a/test/built-ins/RegExp/S15.10.2.11_A1_T8.js +++ b/test/built-ins/RegExp/S15.10.2.11_A1_T8.js @@ -14,7 +14,7 @@ if ((arr === null) || (arr[0] !== "AAAAAAAAAAA")) { $ERROR('#1: var arr = /((((((((((A))))))))))\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10/.exec("AAAAAAAAAAA"); arr[0] === "AAAAAAAAAAA". Actual. ' + (arr && arr[0])); } -for (i = 1; i <= 10; i++) { +for (var i = 1; i <= 10; i++) { //CHECK#i if ((arr === null) || (arr[i] !== "A")) { $ERROR('#2: var arr = /((((((((((A))))))))))\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); diff --git a/test/built-ins/RegExp/S15.10.2.11_A1_T9.js b/test/built-ins/RegExp/S15.10.2.11_A1_T9.js index d728e82e12..fc8806ae5c 100644 --- a/test/built-ins/RegExp/S15.10.2.11_A1_T9.js +++ b/test/built-ins/RegExp/S15.10.2.11_A1_T9.js @@ -14,7 +14,7 @@ if ((arr === null) || (arr[0] !== "AAAAAAAAAAA")) { $ERROR('#1: var arr = /((((((((((A))))))))))\\10\\9\\8\\7\\6\\5\\4\\3\\2\\1/.exec("AAAAAAAAAAA"); arr[0] === "AAAAAAAAAAA". Actual. ' + (arr && arr[0])); } -for (i = 1; i <= 10; i++) { +for (var i = 1; i <= 10; i++) { //CHECK#i if ((arr === null) || (arr[i] !== "A")) { $ERROR('#2: var arr = /((((((((((A))))))))))\\10\\9\\8\\7\\6\\5\\4\\3\\2\\1/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); diff --git a/test/built-ins/RegExp/S15.10.2.12_A1_T3.js b/test/built-ins/RegExp/S15.10.2.12_A1_T3.js index 23ec7e2a96..1ab7583f7e 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.12_A1_T3.js @@ -13,7 +13,7 @@ var regexp_s = /\s/; //CHECK#0041-005A var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { +for (var alpha = 0x0041; alpha <= 0x005A; alpha++) { if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A1_T4.js b/test/built-ins/RegExp/S15.10.2.12_A1_T4.js index 8d2768dd3c..449b0467f0 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.12_A1_T4.js @@ -13,7 +13,7 @@ var regexp_s = /\s/; //CHECK#0410-042F var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { +for (var alpha = 0x0410; alpha <= 0x042F; alpha++) { if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A2_T3.js b/test/built-ins/RegExp/S15.10.2.12_A2_T3.js index 8bca9ad226..75b3d86e8f 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A2_T3.js +++ b/test/built-ins/RegExp/S15.10.2.12_A2_T3.js @@ -14,9 +14,9 @@ var regexp_S = /\S/; //CHECK#0041-005A var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_S.exec(str); +for (var alpha = 0x0041; alpha <= 0x005A; alpha++) { + var str = String.fromCharCode(alpha); + var arr = regexp_S.exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A2_T4.js b/test/built-ins/RegExp/S15.10.2.12_A2_T4.js index d3683d8f37..61b7668bb3 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A2_T4.js +++ b/test/built-ins/RegExp/S15.10.2.12_A2_T4.js @@ -14,9 +14,9 @@ var regexp_S = /\S/; //CHECK#0410-042F var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_S.exec(str); +for (var alpha = 0x0410; alpha <= 0x042F; alpha++) { + var str = String.fromCharCode(alpha); + var arr = regexp_S.exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A3_T2.js b/test/built-ins/RegExp/S15.10.2.12_A3_T2.js index c41b26fa35..446933b286 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.2.12_A3_T2.js @@ -13,9 +13,9 @@ var regexp_w = /\w/; //CHECK#0061-007A var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_w.exec(str); +for (var alpha = 0x0061; alpha <= 0x007A; alpha++) { + var str = String.fromCharCode(alpha); + var arr = regexp_w.exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A3_T3.js b/test/built-ins/RegExp/S15.10.2.12_A3_T3.js index 173a15a130..7661e6136e 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A3_T3.js +++ b/test/built-ins/RegExp/S15.10.2.12_A3_T3.js @@ -13,9 +13,9 @@ var regexp_w = /\w/; //CHECK#0030-0039 var result = true; -for (alpha = 0x0030; alpha <= 0x0039; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_w.exec(str); +for (var alpha = 0x0030; alpha <= 0x0039; alpha++) { + var str = String.fromCharCode(alpha); + var arr = regexp_w.exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A3_T4.js b/test/built-ins/RegExp/S15.10.2.12_A3_T4.js index cb08d27474..2205fd5015 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A3_T4.js +++ b/test/built-ins/RegExp/S15.10.2.12_A3_T4.js @@ -13,7 +13,7 @@ var regexp_w = /\w/; //CHECK#0410-042F var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { +for (var alpha = 0x0410; alpha <= 0x042F; alpha++) { if (regexp_w.exec(String.fromCharCode(alpha)) !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A4_T2.js b/test/built-ins/RegExp/S15.10.2.12_A4_T2.js index b6bfb4912d..fc67a1a8a9 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A4_T2.js +++ b/test/built-ins/RegExp/S15.10.2.12_A4_T2.js @@ -13,7 +13,7 @@ var regexp_W = /\W/; //CHECK#0061-007A var result = true; -for (alpha = 0x0061; alpha <= 0x007A; alpha++) { +for (var alpha = 0x0061; alpha <= 0x007A; alpha++) { if (regexp_W.exec(String.fromCharCode(alpha)) !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A4_T3.js b/test/built-ins/RegExp/S15.10.2.12_A4_T3.js index b8683be875..c5ad3528a0 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A4_T3.js +++ b/test/built-ins/RegExp/S15.10.2.12_A4_T3.js @@ -13,7 +13,7 @@ var regexp_W = /\W/; //CHECK#0030-0039 var result = true; -for (alpha = 0x0030; alpha <= 0x0039; alpha++) { +for (var alpha = 0x0030; alpha <= 0x0039; alpha++) { if (regexp_W.exec(String.fromCharCode(alpha)) !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A4_T4.js b/test/built-ins/RegExp/S15.10.2.12_A4_T4.js index 70a84fb95a..e73c15c2d0 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A4_T4.js +++ b/test/built-ins/RegExp/S15.10.2.12_A4_T4.js @@ -13,9 +13,9 @@ var regexp_W = /\W/; //CHECK#0410-042F var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_W.exec(str); +for (var alpha = 0x0410; alpha <= 0x042F; alpha++) { + var str = String.fromCharCode(alpha); + var arr = regexp_W.exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A5_T2.js b/test/built-ins/RegExp/S15.10.2.12_A5_T2.js index e14c9cdd0a..105c54bc4b 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A5_T2.js +++ b/test/built-ins/RegExp/S15.10.2.12_A5_T2.js @@ -14,7 +14,7 @@ var regexp_d = /\d/; //CHECK#0041-005A var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { +for (var alpha = 0x0041; alpha <= 0x005A; alpha++) { if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A5_T3.js b/test/built-ins/RegExp/S15.10.2.12_A5_T3.js index aab3328192..47663aae16 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A5_T3.js +++ b/test/built-ins/RegExp/S15.10.2.12_A5_T3.js @@ -14,7 +14,7 @@ var regexp_d = /\d/; //CHECK#0410-042F var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { +for (var alpha = 0x0410; alpha <= 0x042F; alpha++) { if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A6_T2.js b/test/built-ins/RegExp/S15.10.2.12_A6_T2.js index ca9dfb3bfa..7036519337 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A6_T2.js +++ b/test/built-ins/RegExp/S15.10.2.12_A6_T2.js @@ -13,9 +13,9 @@ var regexp_D = /\D/; //CHECK#0041-005A var result = true; -for (alpha = 0x0041; alpha <= 0x005A; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_D.exec(str); +for (var alpha = 0x0041; alpha <= 0x005A; alpha++) { + var str = String.fromCharCode(alpha); + var arr = regexp_D.exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.12_A6_T3.js b/test/built-ins/RegExp/S15.10.2.12_A6_T3.js index ac580798a8..95eeede614 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A6_T3.js +++ b/test/built-ins/RegExp/S15.10.2.12_A6_T3.js @@ -13,9 +13,9 @@ var regexp_D = /\D/; //CHECK#0410-042F var result = true; -for (alpha = 0x0410; alpha <= 0x042F; alpha++) { - str = String.fromCharCode(alpha); - arr = regexp_D.exec(str); +for (var alpha = 0x0410; alpha <= 0x042F; alpha++) { + var str = String.fromCharCode(alpha); + var arr = regexp_D.exec(str); if ((arr === null) || (arr[0] !== str)) { result = false; } diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T1.js b/test/built-ins/RegExp/S15.10.2.13_A1_T1.js index 24782cf801..0daf827039 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T1.js @@ -10,7 +10,7 @@ es5id: 15.10.2.13_A1_T1 description: Execute /[]a/.test("\0a\0a") and check results ---*/ -__executed = /[]a/.test("\0a\0a");; +var __executed = /[]a/.test("\0a\0a");; //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T10.js b/test/built-ins/RegExp/S15.10.2.13_A1_T10.js index 12237f8df4..76d6294e35 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T10.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T10.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T10 description: Execute /[a-c\d]+/.exec("\n\n\abc324234\n") and check results ---*/ -__executed = /[a-c\d]+/.exec("\n\n\abc324234\n"); +var __executed = /[a-c\d]+/.exec("\n\n\abc324234\n"); -__expected = ["abc324234"]; +var __expected = ["abc324234"]; __expected.index = 2; __expected.input = "\n\n\abc324234\n"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T11.js b/test/built-ins/RegExp/S15.10.2.13_A1_T11.js index 0ad657e5bf..5350ff6c69 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T11.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T11.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T11 description: Execute /ab[.]?c/.exec("abc") and check results ---*/ -__executed = /ab[.]?c/.exec("abc"); +var __executed = /ab[.]?c/.exec("abc"); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T12.js b/test/built-ins/RegExp/S15.10.2.13_A1_T12.js index 8f08fcf3a7..4f15e2aa64 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T12.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T12.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T12 description: Execute /a[b]c/.exec("abc") and check results ---*/ -__executed = /a[b]c/.exec("abc"); +var __executed = /a[b]c/.exec("abc"); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T13.js b/test/built-ins/RegExp/S15.10.2.13_A1_T13.js index 418de781ce..c4aec707b7 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T13.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T13.js @@ -12,9 +12,9 @@ description: > check results ---*/ -__executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); +var __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); -__expected = ["def"]; +var __expected = ["def"]; __expected.index = 15; __expected.input = "a1b b2c c3d def f4g"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T14.js b/test/built-ins/RegExp/S15.10.2.13_A1_T14.js index ec439b375a..d256aca861 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T14.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T14.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T14 description: Execute /[*&$]{3}/.exec("123*&$abc") and check results ---*/ -__executed = /[*&$]{3}/.exec("123*&$abc"); +var __executed = /[*&$]{3}/.exec("123*&$abc"); -__expected = ["*&$"]; +var __expected = ["*&$"]; __expected.index = 3; __expected.input = "123*&$abc"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T15.js b/test/built-ins/RegExp/S15.10.2.13_A1_T15.js index eb4e910cae..4ae7ff4063 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T15.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T15.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T15 description: Execute /[\d][\n][^\d]/.exec("line1\nline2") and check results ---*/ -__executed = /[\d][\n][^\d]/.exec("line1\nline2"); +var __executed = /[\d][\n][^\d]/.exec("line1\nline2"); -__expected = ["1\nl"]; +var __expected = ["1\nl"]; __expected.index = 4; __expected.input = "line1\nline2"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T16.js b/test/built-ins/RegExp/S15.10.2.13_A1_T16.js index 50e0f6238e..814023d365 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T16.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T16.js @@ -12,9 +12,9 @@ description: > check results ---*/ -__executed = /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2"); +var __executed = /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2"); -__expected = ["1\n\n\n\n\nl"]; +var __expected = ["1\n\n\n\n\nl"]; __expected.index = 4; __expected.input = "line1\n\n\n\n\nline2"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T17.js b/test/built-ins/RegExp/S15.10.2.13_A1_T17.js index dabde7674c..fdcc69fb66 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T17.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T17.js @@ -10,7 +10,7 @@ es5id: 15.10.2.13_A1_T17 description: Execute /[]/.exec("a[b\n[]\tc]d") and check results ---*/ -__executed = /[]/.exec("a[b\n[]\tc]d"); +var __executed = /[]/.exec("a[b\n[]\tc]d"); //CHECK#1 if (__executed !== null) { diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T2.js b/test/built-ins/RegExp/S15.10.2.13_A1_T2.js index 286c160284..bf9063f6cd 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T2.js @@ -10,7 +10,7 @@ es5id: 15.10.2.13_A1_T2 description: Execute /a[]/.test("\0a\0a") and check results ---*/ -__executed = /a[]/.test("\0a\0a");; +var __executed = /a[]/.test("\0a\0a");; //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T3.js b/test/built-ins/RegExp/S15.10.2.13_A1_T3.js index cde0b392dc..00cb530b4f 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T3.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T3 description: Execute /q[ax-zb](?=\s+)/.exec("qYqy ") and check results ---*/ -__executed = /q[ax-zb](?=\s+)/.exec("qYqy "); +var __executed = /q[ax-zb](?=\s+)/.exec("qYqy "); -__expected = ["qy"]; +var __expected = ["qy"]; __expected.index = 2; __expected.input = "qYqy "; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T4.js b/test/built-ins/RegExp/S15.10.2.13_A1_T4.js index 004ad26b73..b88c44122f 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T4.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T4 description: Execute /q[ax-zb](?=\s+)/.exec("tqaqy ") and check results ---*/ -__executed = /q[ax-zb](?=\s+)/.exec("tqaqy "); +var __executed = /q[ax-zb](?=\s+)/.exec("tqaqy "); -__expected = ["qy"]; +var __expected = ["qy"]; __expected.index = 3; __expected.input = "tqaqy "; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T5.js b/test/built-ins/RegExp/S15.10.2.13_A1_T5.js index a6ce2cf512..ebca578afa 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T5.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T5 description: Execute /q[ax-zb](?=\s+)/.exec("tqa\t qy ") and check results ---*/ -__executed = /q[ax-zb](?=\s+)/.exec("tqa\t qy "); +var __executed = /q[ax-zb](?=\s+)/.exec("tqa\t qy "); -__expected = ["qa"]; +var __expected = ["qa"]; __expected.index = 1; __expected.input = "tqa\t qy "; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T6.js b/test/built-ins/RegExp/S15.10.2.13_A1_T6.js index d1c5bd2a58..b574af0ab9 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T6.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T6.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T6 description: Execute /ab[ercst]de/.exec("abcde") and check results ---*/ -__executed = /ab[ercst]de/.exec("abcde"); +var __executed = /ab[ercst]de/.exec("abcde"); -__expected = ["abcde"]; +var __expected = ["abcde"]; __expected.index = 0; __expected.input = "abcde"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T7.js b/test/built-ins/RegExp/S15.10.2.13_A1_T7.js index 4026fe5e85..c5ab233eed 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T7.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T7.js @@ -10,7 +10,7 @@ es5id: 15.10.2.13_A1_T7 description: Execute /ab[erst]de/.test("abcde") and check results ---*/ -__executed = /ab[erst]de/.test("abcde"); +var __executed = /ab[erst]de/.test("abcde"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T8.js b/test/built-ins/RegExp/S15.10.2.13_A1_T8.js index 782f9fd91d..e935f21351 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T8.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T8.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T8 description: Execute /[d-h]+/.exec("abcdefghijkl") and check results ---*/ -__executed = /[d-h]+/.exec("abcdefghijkl"); +var __executed = /[d-h]+/.exec("abcdefghijkl"); -__expected = ["defgh"]; +var __expected = ["defgh"]; __expected.index = 3; __expected.input = "abcdefghijkl"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A1_T9.js b/test/built-ins/RegExp/S15.10.2.13_A1_T9.js index 28d6ddd93f..84ff3f2bd5 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A1_T9.js +++ b/test/built-ins/RegExp/S15.10.2.13_A1_T9.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A1_T9 description: Execute /[1234567].{2}/.exec("abc6defghijkl") and check results ---*/ -__executed = /[1234567].{2}/.exec("abc6defghijkl"); +var __executed = /[1234567].{2}/.exec("abc6defghijkl"); -__expected = ["6de"]; +var __expected = ["6de"]; __expected.index = 3; __expected.input = "abc6defghijkl"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T1.js b/test/built-ins/RegExp/S15.10.2.13_A2_T1.js index 333197526f..56438a5af0 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T1.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T1.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A2_T1 description: Execute /[^]a/m.exec("a\naba") and check results ---*/ -__executed = /[^]a/m.exec("a\naba"); +var __executed = /[^]a/m.exec("a\naba"); -__expected = ["\na"]; +var __expected = ["\na"]; __expected.index = 1; __expected.input = "a\naba"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T2.js b/test/built-ins/RegExp/S15.10.2.13_A2_T2.js index 6476fc8ba3..864ad372c2 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T2.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T2.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A2_T2 description: Execute /a[^]/.exec(" a\t\n") and check results ---*/ -__executed = /a[^]/.exec(" a\t\n"); +var __executed = /a[^]/.exec(" a\t\n"); -__expected = ["a\t"]; +var __expected = ["a\t"]; __expected.index = 3; __expected.input = " a\t\n"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T3.js b/test/built-ins/RegExp/S15.10.2.13_A2_T3.js index 480a726e45..47f889fa90 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T3.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T3.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A2_T3 description: Execute /a[^b-z]\s+/.exec("ab an az aY n") and check results ---*/ -__executed = /a[^b-z]\s+/.exec("ab an az aY n"); +var __executed = /a[^b-z]\s+/.exec("ab an az aY n"); -__expected = ["aY "]; +var __expected = ["aY "]; __expected.index = 9; __expected.input = "ab an az aY n"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T4.js b/test/built-ins/RegExp/S15.10.2.13_A2_T4.js index 0d809e98a5..b5db637b9b 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T4.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T4.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A2_T4 description: Execute /[^\b]+/g.exec("easy\bto\u0008ride") and check results ---*/ -__executed = /[^\b]+/g.exec("easy\bto\u0008ride"); +var __executed = /[^\b]+/g.exec("easy\bto\u0008ride"); -__expected = ["easy"]; +var __expected = ["easy"]; __expected.index = 0; __expected.input = "easy\bto\u0008ride"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T5.js b/test/built-ins/RegExp/S15.10.2.13_A2_T5.js index 7b556e55d5..e4513aa9d1 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T5.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T5.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A2_T5 description: Execute /a[^1-9]c/.exec("abc") and check results ---*/ -__executed = /a[^1-9]c/.exec("abc"); +var __executed = /a[^1-9]c/.exec("abc"); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T6.js b/test/built-ins/RegExp/S15.10.2.13_A2_T6.js index fe7f6dab25..9c783101a5 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T6.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T6.js @@ -10,7 +10,7 @@ es5id: 15.10.2.13_A2_T6 description: Execute /a[^b]c/.test("abc") and check results ---*/ -__executed = /a[^b]c/.test("abc"); +var __executed = /a[^b]c/.test("abc"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T7.js b/test/built-ins/RegExp/S15.10.2.13_A2_T7.js index 9a18c2b122..70c2b979aa 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T7.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T7.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A2_T7 description: Execute /[^a-z]{4}/.exec("abc#$%def%&*@ghi") and check results ---*/ -__executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); +var __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); -__expected = ["%&*@"]; +var __expected = ["%&*@"]; __expected.index = 9; __expected.input = "abc#$%def%&*@ghi"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A2_T8.js b/test/built-ins/RegExp/S15.10.2.13_A2_T8.js index ee9fa19b0c..1619980d3b 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A2_T8.js +++ b/test/built-ins/RegExp/S15.10.2.13_A2_T8.js @@ -10,9 +10,9 @@ es5id: 15.10.2.13_A2_T8 description: Execute /[^]/.exec("abc#$%def%&*@ghi") and check results ---*/ -__executed = /[^]/.exec("abc#$%def%&*@ghi"); +var __executed = /[^]/.exec("abc#$%def%&*@ghi"); -__expected = ["a"]; +var __expected = ["a"]; __expected.index = 0; __expected.input = "abc#$%def%&*@ghi"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A3_T1.js b/test/built-ins/RegExp/S15.10.2.13_A3_T1.js index 4afb44a2fc..866a2190e1 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A3_T1.js +++ b/test/built-ins/RegExp/S15.10.2.13_A3_T1.js @@ -7,9 +7,9 @@ es5id: 15.10.2.13_A3_T1 description: Execute /.[\b]./.exec("abc\bdef") and check results ---*/ -__executed = /.[\b]./.exec("abc\bdef"); +var __executed = /.[\b]./.exec("abc\bdef"); -__expected = ["c\bd"]; +var __expected = ["c\bd"]; __expected.index = 2; __expected.input = "abc\bdef"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A3_T2.js b/test/built-ins/RegExp/S15.10.2.13_A3_T2.js index 922f7e5211..4eb9e7140e 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.2.13_A3_T2.js @@ -7,9 +7,9 @@ es5id: 15.10.2.13_A3_T2 description: Execute /c[\b]{3}d/.exec("abc\b\b\bdef") and check results ---*/ -__executed = /c[\b]{3}d/.exec("abc\b\b\bdef"); +var __executed = /c[\b]{3}d/.exec("abc\b\b\bdef"); -__expected = ["c\b\b\bd"]; +var __expected = ["c\b\b\bd"]; __expected.index = 2; __expected.input = "abc\b\b\bdef"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A3_T3.js b/test/built-ins/RegExp/S15.10.2.13_A3_T3.js index 30df11f3d3..6880d52e00 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A3_T3.js +++ b/test/built-ins/RegExp/S15.10.2.13_A3_T3.js @@ -7,9 +7,9 @@ es5id: 15.10.2.13_A3_T3 description: Execute /[^\[\b\]]+/.exec("abc\bdef") and check results ---*/ -__executed = /[^\[\b\]]+/.exec("abc\bdef"); +var __executed = /[^\[\b\]]+/.exec("abc\bdef"); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index = 0; __expected.input = "abc\bdef"; diff --git a/test/built-ins/RegExp/S15.10.2.13_A3_T4.js b/test/built-ins/RegExp/S15.10.2.13_A3_T4.js index 7507b3828a..9ddad9ee7e 100644 --- a/test/built-ins/RegExp/S15.10.2.13_A3_T4.js +++ b/test/built-ins/RegExp/S15.10.2.13_A3_T4.js @@ -7,9 +7,9 @@ es5id: 15.10.2.13_A3_T4 description: Execute /[^\[\b\]]+/.exec("abcdef") and check results ---*/ -__executed = /[^\[\b\]]+/.exec("abcdef"); +var __executed = /[^\[\b\]]+/.exec("abcdef"); -__expected = ["abcdef"]; +var __expected = ["abcdef"]; __expected.index = 0; __expected.input = "abcdef"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T1.js b/test/built-ins/RegExp/S15.10.2.3_A1_T1.js index 2a2ae4b59d..0e9e175383 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T1.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T1 description: Execute /a|ab/.exec("abc") and check results ---*/ -__executed = /a|ab/.exec("abc"); +var __executed = /a|ab/.exec("abc"); -__expected = ["a"]; +var __expected = ["a"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T10.js b/test/built-ins/RegExp/S15.10.2.3_A1_T10.js index 8c4bec63da..6ca166a4e0 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T10.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T10.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T10 description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKeFCDab\") and check results" ---*/ -__executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); +var __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); -__expected = ["eF"]; +var __expected = ["eF"]; __expected.index = 3; __expected.input = "AEKeFCDab"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T11.js b/test/built-ins/RegExp/S15.10.2.3_A1_T11.js index 8291fb1c30..a93b479f75 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T11.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T11.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T11 description: Execute /11111|111/.exec("1111111111111111") and check results ---*/ -__executed = /11111|111/.exec("1111111111111111"); +var __executed = /11111|111/.exec("1111111111111111"); -__expected = ["11111"]; +var __expected = ["11111"]; __expected.index = 0; __expected.input = "1111111111111111"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T12.js b/test/built-ins/RegExp/S15.10.2.3_A1_T12.js index ac663fa69e..b282499280 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T12.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T12.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T12 description: Execute /xyz|.../.exec("abc") and check results ---*/ -__executed = /xyz|.../.exec("abc"); +var __executed = /xyz|.../.exec("abc"); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T13.js b/test/built-ins/RegExp/S15.10.2.3_A1_T13.js index be914010a9..1a95932f86 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T13.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T13.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T13 description: Execute /(.)..|abc/.exec("abc") and check results ---*/ -__executed = /(.)..|abc/.exec("abc"); +var __executed = /(.)..|abc/.exec("abc"); -__expected = ["abc","a"]; +var __expected = ["abc","a"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T14.js b/test/built-ins/RegExp/S15.10.2.3_A1_T14.js index 3661d1dca0..7259152539 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T14.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T14.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T14 description: "Execute /.+: gr(a|e)y/.exec(\"color: grey\") and check results" ---*/ -__executed = /.+: gr(a|e)y/.exec("color: grey"); +var __executed = /.+: gr(a|e)y/.exec("color: grey"); -__expected = ["color: grey","e"]; +var __expected = ["color: grey","e"]; __expected.index = 0; __expected.input = "color: grey"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T15.js b/test/built-ins/RegExp/S15.10.2.3_A1_T15.js index 59028e3cc0..dba2d0fe1f 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T15.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T15.js @@ -12,9 +12,9 @@ description: > results ---*/ -__executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); +var __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); -__expected = ["Bob",undefined,"Bob", undefined, undefined]; +var __expected = ["Bob",undefined,"Bob", undefined, undefined]; __expected.index = 3; __expected.input = "Hi Bob"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T16.js b/test/built-ins/RegExp/S15.10.2.3_A1_T16.js index 45e8ad227d..5378a2e50f 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T16.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T16.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T16 description: Execute /()|/.exec("") and check results ---*/ -__executed = /()|/.exec(""); +var __executed = /()|/.exec(""); -__expected = ["",""]; +var __expected = ["",""]; __expected.index = 0; __expected.input = ""; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T17.js b/test/built-ins/RegExp/S15.10.2.3_A1_T17.js index 6cad95cf1e..621d0c5a8f 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T17.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T17.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T17 description: Execute /|()/.exec("") and check results ---*/ -__executed = /|()/.exec(""); +var __executed = /|()/.exec(""); -__expected = ["",undefined]; +var __expected = ["",undefined]; __expected.index = 0; __expected.input = ""; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T2.js b/test/built-ins/RegExp/S15.10.2.3_A1_T2.js index cc374cdb03..aaf05c3d7b 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T2.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T2 description: Execute /((a)|(ab))((c)|(bc))/.exec("abc") and check results ---*/ -__executed = /((a)|(ab))((c)|(bc))/.exec("abc"); +var __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); -__expected = ["abc", "a", "a", undefined, "bc", undefined, "bc"]; +var __expected = ["abc", "a", "a", undefined, "bc", undefined, "bc"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T3.js b/test/built-ins/RegExp/S15.10.2.3_A1_T3.js index 3c2bfe58cb..27e4eed848 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T3.js @@ -12,9 +12,9 @@ description: > check results ---*/ -__executed = /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); +var __executed = /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); -__expected = ["cour"]; +var __expected = ["cour"]; __expected.index = 13; __expected.input = "2, 12 and of course repeat 12"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T4.js b/test/built-ins/RegExp/S15.10.2.3_A1_T4.js index 3d7b4bcb42..4e0f676d1d 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T4.js @@ -12,9 +12,9 @@ description: > 12") and check results ---*/ -__executed = /\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); +var __executed = /\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); -__expected = ["234"]; +var __expected = ["234"]; __expected.index = 10; __expected.input = "2, 12 and 234 AND of course repeat 12"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T5.js b/test/built-ins/RegExp/S15.10.2.3_A1_T5.js index 9ff57118ec..1fbed1cada 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T5.js @@ -12,7 +12,7 @@ description: > results ---*/ -__executed = /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1"); +var __executed = /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T6.js b/test/built-ins/RegExp/S15.10.2.3_A1_T6.js index 486b1c2f94..6e9a5ade20 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T6.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T6.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T6 description: Execute /ab|cd|ef/i.exec("AEKFCD") and check results ---*/ -__executed = /ab|cd|ef/i.exec("AEKFCD"); +var __executed = /ab|cd|ef/i.exec("AEKFCD"); -__expected = ["CD"]; +var __expected = ["CD"]; __expected.index = 4; __expected.input = "AEKFCD"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T7.js b/test/built-ins/RegExp/S15.10.2.3_A1_T7.js index fe1fd889c3..bde0a63a62 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T7.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T7.js @@ -10,7 +10,7 @@ es5id: 15.10.2.3_A1_T7 description: Execute /ab|cd|ef/.test("AEKFCD") and check results ---*/ -__executed = /ab|cd|ef/.test("AEKFCD"); +var __executed = /ab|cd|ef/.test("AEKFCD"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T8.js b/test/built-ins/RegExp/S15.10.2.3_A1_T8.js index 5da7369f0c..5d165d5d7a 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T8.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T8.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T8 description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKFCD\") and check results" ---*/ -__executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); +var __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); -__expected = ["CD"]; +var __expected = ["CD"]; __expected.index = 4; __expected.input = "AEKFCD"; diff --git a/test/built-ins/RegExp/S15.10.2.3_A1_T9.js b/test/built-ins/RegExp/S15.10.2.3_A1_T9.js index 59b9cd3a8e..b05befe9b1 100644 --- a/test/built-ins/RegExp/S15.10.2.3_A1_T9.js +++ b/test/built-ins/RegExp/S15.10.2.3_A1_T9.js @@ -10,9 +10,9 @@ es5id: 15.10.2.3_A1_T9 description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKFCDab\") and check results" ---*/ -__executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); +var __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); -__expected = ["CDab"]; +var __expected = ["CDab"]; __expected.index = 4; __expected.input = "AEKFCDab"; diff --git a/test/built-ins/RegExp/S15.10.2.5_A1_T1.js b/test/built-ins/RegExp/S15.10.2.5_A1_T1.js index eb95880df3..fa4d1a604c 100644 --- a/test/built-ins/RegExp/S15.10.2.5_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.5_A1_T1.js @@ -9,9 +9,9 @@ es5id: 15.10.2.5_A1_T1 description: Execute /a[a-z]{2,4}/.exec("abcdefghi") and check results ---*/ -__executed = /a[a-z]{2,4}/.exec("abcdefghi"); +var __executed = /a[a-z]{2,4}/.exec("abcdefghi"); -__expected = ["abcde"]; +var __expected = ["abcde"]; __expected.index = 0; __expected.input = "abcdefghi"; diff --git a/test/built-ins/RegExp/S15.10.2.5_A1_T2.js b/test/built-ins/RegExp/S15.10.2.5_A1_T2.js index 0a08201ce4..8aaccdb0f7 100644 --- a/test/built-ins/RegExp/S15.10.2.5_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.5_A1_T2.js @@ -9,9 +9,9 @@ es5id: 15.10.2.5_A1_T2 description: Execute /a[a-z]{2,4}?/.exec("abcdefghi") and check results ---*/ -__executed = /a[a-z]{2,4}?/.exec("abcdefghi"); +var __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index = 0; __expected.input = "abcdefghi"; diff --git a/test/built-ins/RegExp/S15.10.2.5_A1_T3.js b/test/built-ins/RegExp/S15.10.2.5_A1_T3.js index 6d62ec395c..bafbc97094 100644 --- a/test/built-ins/RegExp/S15.10.2.5_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.5_A1_T3.js @@ -9,9 +9,9 @@ es5id: 15.10.2.5_A1_T3 description: Execute /(aa|aabaac|ba|b|c)* /.exec("aabaac") and check results ---*/ -__executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); +var __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); -__expected = ["aaba", "ba"]; +var __expected = ["aaba", "ba"]; __expected.index = 0; __expected.input = "aabaac"; diff --git a/test/built-ins/RegExp/S15.10.2.5_A1_T4.js b/test/built-ins/RegExp/S15.10.2.5_A1_T4.js index 9188e82124..799633c662 100644 --- a/test/built-ins/RegExp/S15.10.2.5_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.5_A1_T4.js @@ -9,9 +9,9 @@ es5id: 15.10.2.5_A1_T4 description: Execute /(z)((a+)?(b+)?(c))* /.exec("zaacbbbcac") and check results ---*/ -__executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); +var __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); -__expected = ["zaacbbbcac", "z", "ac", "a", undefined, "c"]; +var __expected = ["zaacbbbcac", "z", "ac", "a", undefined, "c"]; __expected.index = 0; __expected.input = "zaacbbbcac"; diff --git a/test/built-ins/RegExp/S15.10.2.5_A1_T5.js b/test/built-ins/RegExp/S15.10.2.5_A1_T5.js index b92cf4415c..8ae04e5850 100644 --- a/test/built-ins/RegExp/S15.10.2.5_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.2.5_A1_T5.js @@ -9,9 +9,9 @@ es5id: 15.10.2.5_A1_T5 description: Execute /(a*)b\1+/.exec("baaaac") and check results ---*/ -__executed = /(a*)b\1+/.exec("baaaac"); +var __executed = /(a*)b\1+/.exec("baaaac"); -__expected = ["b", ""]; +var __expected = ["b", ""]; __expected.index = 0; __expected.input = "baaaac"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A1_T1.js b/test/built-ins/RegExp/S15.10.2.6_A1_T1.js index 17ead8e0a8..04b8b9383e 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.6_A1_T1.js @@ -9,7 +9,7 @@ es5id: 15.10.2.6_A1_T1 description: Execute /s$/.test("pairs\nmakes\tdouble") and check results ---*/ -__executed = /s$/.test("pairs\nmakes\tdouble"); +var __executed = /s$/.test("pairs\nmakes\tdouble"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A1_T2.js b/test/built-ins/RegExp/S15.10.2.6_A1_T2.js index fb549670b7..b8f4eca73f 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.6_A1_T2.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A1_T2 description: Execute /e$/.exec("pairs\nmakes\tdouble") and check results ---*/ -__executed = /e$/.exec("pairs\nmakes\tdouble"); +var __executed = /e$/.exec("pairs\nmakes\tdouble"); -__expected = ["e"]; +var __expected = ["e"]; __expected.index = 17; __expected.input = "pairs\nmakes\tdouble"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A1_T3.js b/test/built-ins/RegExp/S15.10.2.6_A1_T3.js index 8dacddfb21..661f5c2e40 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.6_A1_T3.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A1_T3 description: Execute /s$/m.exec("pairs\nmakes\tdouble") and check results ---*/ -__executed = /s$/m.exec("pairs\nmakes\tdouble"); +var __executed = /s$/m.exec("pairs\nmakes\tdouble"); -__expected = ["s"]; +var __expected = ["s"]; __expected.index = 4; __expected.input = "pairs\nmakes\tdouble"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A1_T4.js b/test/built-ins/RegExp/S15.10.2.6_A1_T4.js index 51f6f3cf8e..6f6240072c 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.6_A1_T4.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A1_T4 description: Execute /[^e]$/mg.exec("pairs\nmakes\tdouble") and check results ---*/ -__executed = /[^e]$/mg.exec("pairs\nmakes\tdouble"); +var __executed = /[^e]$/mg.exec("pairs\nmakes\tdouble"); -__expected = ["s"]; +var __expected = ["s"]; __expected.index = 4; __expected.input = "pairs\nmakes\tdouble"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A1_T5.js b/test/built-ins/RegExp/S15.10.2.6_A1_T5.js index ca5f469c9d..681e9c8ace 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.2.6_A1_T5.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /es$/mg.exec("pairs\nmakes\tdoubl\u0065s"); +var __executed = /es$/mg.exec("pairs\nmakes\tdoubl\u0065s"); -__expected = ["es"]; +var __expected = ["es"]; __expected.index = 17; __expected.input = "pairs\nmakes\tdoubles"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T1.js b/test/built-ins/RegExp/S15.10.2.6_A2_T1.js index 0cd5bbe033..4dbe288677 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T1.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T1.js @@ -9,7 +9,7 @@ es5id: 15.10.2.6_A2_T1 description: Execute /^m/.test("pairs\nmakes\tdouble") and check results ---*/ -__executed = /^m/.test("pairs\nmakes\tdouble"); +var __executed = /^m/.test("pairs\nmakes\tdouble"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T10.js b/test/built-ins/RegExp/S15.10.2.6_A2_T10.js index 5dac7f3dfa..a19ed44e71 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T10.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T10.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A2_T10 description: Execute /^\d+/m.exec("abc\n123xyz") and check results ---*/ -__executed = /^\d+/m.exec("abc\n123xyz"); +var __executed = /^\d+/m.exec("abc\n123xyz"); -__expected = ["123"]; +var __expected = ["123"]; __expected.index = 4; __expected.input = "abc\n123xyz"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T2.js b/test/built-ins/RegExp/S15.10.2.6_A2_T2.js index ccb819c4c5..1e5f0e6569 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T2.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T2.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A2_T2 description: Execute /^m/m.exec("pairs\nmakes\tdouble") and check results ---*/ -__executed = /^m/m.exec("pairs\nmakes\tdouble"); +var __executed = /^m/m.exec("pairs\nmakes\tdouble"); -__expected = ["m"]; +var __expected = ["m"]; __expected.index = 6; __expected.input = "pairs\nmakes\tdouble"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T3.js b/test/built-ins/RegExp/S15.10.2.6_A2_T3.js index 7a318f7a85..1f420f3978 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T3.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T3.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /^p[a-z]/.exec("pairs\nmakes\tdouble\npesos"); +var __executed = /^p[a-z]/.exec("pairs\nmakes\tdouble\npesos"); -__expected = ["pa"]; +var __expected = ["pa"]; __expected.index = 0; __expected.input = "pairs\nmakes\tdouble\npesos"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T4.js b/test/built-ins/RegExp/S15.10.2.6_A2_T4.js index 033311fb15..a78edc5d4e 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T4.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T4.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /^p[b-z]/m.exec("pairs\nmakes\tdouble\npesos"); +var __executed = /^p[b-z]/m.exec("pairs\nmakes\tdouble\npesos"); -__expected = ["pe"]; +var __expected = ["pe"]; __expected.index = 19; __expected.input = "pairs\nmakes\tdouble\npesos"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T5.js b/test/built-ins/RegExp/S15.10.2.6_A2_T5.js index d8827307d0..de61f45a91 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T5.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T5.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /^[^p]/m.exec("pairs\nmakes\tdouble\npesos"); +var __executed = /^[^p]/m.exec("pairs\nmakes\tdouble\npesos"); -__expected = ["m"]; +var __expected = ["m"]; __expected.index = 6; __expected.input = "pairs\nmakes\tdouble\npesos"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T6.js b/test/built-ins/RegExp/S15.10.2.6_A2_T6.js index baf08df153..4ba1840c9a 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T6.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T6.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A2_T6 description: Execute /^ab/.exec("abcde") and check results ---*/ -__executed = /^ab/.exec("abcde"); +var __executed = /^ab/.exec("abcde"); -__expected = ["ab"]; +var __expected = ["ab"]; __expected.index = 0; __expected.input = "abcde"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T7.js b/test/built-ins/RegExp/S15.10.2.6_A2_T7.js index 69e63ecb42..9d4f4e14c2 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T7.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T7.js @@ -9,7 +9,7 @@ es5id: 15.10.2.6_A2_T7 description: Execute /^..^e/.test("ab\ncde") and check results ---*/ -__executed = /^..^e/.test("ab\ncde"); +var __executed = /^..^e/.test("ab\ncde"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T8.js b/test/built-ins/RegExp/S15.10.2.6_A2_T8.js index 4420684bdf..3db1e6533f 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T8.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T8.js @@ -9,7 +9,7 @@ es5id: 15.10.2.6_A2_T8 description: Execute /^xxx/.test("yyyyy") and check results ---*/ -__executed = /^xxx/.test("yyyyy"); +var __executed = /^xxx/.test("yyyyy"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A2_T9.js b/test/built-ins/RegExp/S15.10.2.6_A2_T9.js index c1550f80f0..6345d6b59d 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A2_T9.js +++ b/test/built-ins/RegExp/S15.10.2.6_A2_T9.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A2_T9 description: Execute /^\^+/.exec("^^^x") and check results ---*/ -__executed = /^\^+/.exec("^^^x"); +var __executed = /^\^+/.exec("^^^x"); -__expected = ["^^^"]; +var __expected = ["^^^"]; __expected.index = 0; __expected.input = "^^^x"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T1.js b/test/built-ins/RegExp/S15.10.2.6_A3_T1.js index f32f5edbb3..a7a1aa3741 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T1.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T1.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /\bp/.exec("pilot\nsoviet robot\topenoffice"); +var __executed = /\bp/.exec("pilot\nsoviet robot\topenoffice"); -__expected = ["p"]; +var __expected = ["p"]; __expected.index = 0; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T10.js b/test/built-ins/RegExp/S15.10.2.6_A3_T10.js index dc21f3aa2b..0034d32607 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T10.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T10.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /\brobot\b/.exec("pilot\nsoviet robot\topenoffice"); +var __executed = /\brobot\b/.exec("pilot\nsoviet robot\topenoffice"); -__expected = ["robot"]; +var __expected = ["robot"]; __expected.index = 13; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T11.js b/test/built-ins/RegExp/S15.10.2.6_A3_T11.js index cfcf9d5986..2961ef8dd9 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T11.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T11.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /\b\w{5}\b/.exec("pilot\nsoviet robot\topenoffice"); +var __executed = /\b\w{5}\b/.exec("pilot\nsoviet robot\topenoffice"); -__expected = ["pilot"]; +var __expected = ["pilot"]; __expected.index = 0; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T12.js b/test/built-ins/RegExp/S15.10.2.6_A3_T12.js index 738714d082..c1d578d83d 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T12.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T12.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /\bop/.exec("pilot\nsoviet robot\topenoffice"); +var __executed = /\bop/.exec("pilot\nsoviet robot\topenoffice"); -__expected = ["op"]; +var __expected = ["op"]; __expected.index = 19; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T13.js b/test/built-ins/RegExp/S15.10.2.6_A3_T13.js index 9973d5adf5..ef03f57ed1 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T13.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T13.js @@ -11,7 +11,7 @@ description: > results ---*/ -__executed = /op\b/.test("pilot\nsoviet robot\topenoffice"); +var __executed = /op\b/.test("pilot\nsoviet robot\topenoffice"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T14.js b/test/built-ins/RegExp/S15.10.2.6_A3_T14.js index 75175ee987..7558080627 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T14.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T14.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /e\b/.exec("pilot\nsoviet robot\topenoffic\u0065"); +var __executed = /e\b/.exec("pilot\nsoviet robot\topenoffic\u0065"); -__expected = ["e"]; +var __expected = ["e"]; __expected.index = 28; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T15.js b/test/built-ins/RegExp/S15.10.2.6_A3_T15.js index a614384226..978b84c095 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T15.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T15.js @@ -11,7 +11,7 @@ description: > check results ---*/ -__executed = /\be/.test("pilot\nsoviet robot\topenoffic\u0065"); +var __executed = /\be/.test("pilot\nsoviet robot\topenoffic\u0065"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T2.js b/test/built-ins/RegExp/S15.10.2.6_A3_T2.js index b4c2ac07ad..755af2554f 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T2.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /ot\b/.exec("pilot\nsoviet robot\topenoffice"); +var __executed = /ot\b/.exec("pilot\nsoviet robot\topenoffice"); -__expected = ["ot"]; +var __expected = ["ot"]; __expected.index = 3; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T3.js b/test/built-ins/RegExp/S15.10.2.6_A3_T3.js index 81c31a8c42..1026930d4d 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T3.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T3.js @@ -11,7 +11,7 @@ description: > results ---*/ -__executed = /\bot/.test("pilot\nsoviet robot\topenoffice"); +var __executed = /\bot/.test("pilot\nsoviet robot\topenoffice"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T4.js b/test/built-ins/RegExp/S15.10.2.6_A3_T4.js index 75700c2356..ef075be733 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T4.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T4.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /\bso/.exec("pilot\nsoviet robot\topenoffice"); +var __executed = /\bso/.exec("pilot\nsoviet robot\topenoffice"); -__expected = ["so"]; +var __expected = ["so"]; __expected.index = 6; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T5.js b/test/built-ins/RegExp/S15.10.2.6_A3_T5.js index 2f2b4cd458..e1e97819b7 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T5.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T5.js @@ -11,7 +11,7 @@ description: > results ---*/ -__executed = /so\b/.test("pilot\nsoviet robot\topenoffice"); +var __executed = /so\b/.test("pilot\nsoviet robot\topenoffice"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T6.js b/test/built-ins/RegExp/S15.10.2.6_A3_T6.js index 26a49ab79c..b4db42bb94 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T6.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T6.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /[^o]t\b/.exec("pilOt\nsoviet robot\topenoffice"); +var __executed = /[^o]t\b/.exec("pilOt\nsoviet robot\topenoffice"); -__expected = ["Ot"]; +var __expected = ["Ot"]; __expected.index = 3; __expected.input = "pilOt\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T7.js b/test/built-ins/RegExp/S15.10.2.6_A3_T7.js index 491223e765..9e289ba309 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T7.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T7.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /[^o]t\b/i.exec("pilOt\nsoviet robot\topenoffice"); +var __executed = /[^o]t\b/i.exec("pilOt\nsoviet robot\topenoffice"); -__expected = ["et"]; +var __expected = ["et"]; __expected.index = 10; __expected.input = "pilOt\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T8.js b/test/built-ins/RegExp/S15.10.2.6_A3_T8.js index 0ab60189be..1ac8e0dcc6 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T8.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T8.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /\bro/.exec("pilot\nsoviet robot\topenoffice"); +var __executed = /\bro/.exec("pilot\nsoviet robot\topenoffice"); -__expected = ["ro"]; +var __expected = ["ro"]; __expected.index = 13; __expected.input = "pilot\nsoviet robot\topenoffice"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A3_T9.js b/test/built-ins/RegExp/S15.10.2.6_A3_T9.js index 3428294075..655058cfdb 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A3_T9.js +++ b/test/built-ins/RegExp/S15.10.2.6_A3_T9.js @@ -11,7 +11,7 @@ description: > results ---*/ -__executed = /r\b/.test("pilot\nsoviet robot\topenoffice"); +var __executed = /r\b/.test("pilot\nsoviet robot\topenoffice"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T1.js b/test/built-ins/RegExp/S15.10.2.6_A4_T1.js index f8116e1a94..6437a565d1 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T1.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T1.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /\Bevil\B/.exec("devils arise\tfor\nevil"); +var __executed = /\Bevil\B/.exec("devils arise\tfor\nevil"); -__expected = ["evil"]; +var __expected = ["evil"]; __expected.index = 1; __expected.input = "devils arise\tfor\nevil"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T2.js b/test/built-ins/RegExp/S15.10.2.6_A4_T2.js index faab780dff..402090b035 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T2.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T2.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /[f-z]e\B/.exec("devils arise\tfor\nrevil"); +var __executed = /[f-z]e\B/.exec("devils arise\tfor\nrevil"); -__expected = ["re"]; +var __expected = ["re"]; __expected.index = 17; __expected.input = "devils arise\tfor\nrevil"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T3.js b/test/built-ins/RegExp/S15.10.2.6_A4_T3.js index 46ab7a7a0e..dba16a7d15 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T3.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T3.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A4_T3 description: Execute /\Bo\B/.exec("devils arise\tfor\nevil") and check results ---*/ -__executed = /\Bo\B/i.exec("devils arise\tfOr\nrevil"); +var __executed = /\Bo\B/i.exec("devils arise\tfOr\nrevil"); -__expected = ["O"]; +var __expected = ["O"]; __expected.index = 14; __expected.input = "devils arise\tfOr\nrevil"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T4.js b/test/built-ins/RegExp/S15.10.2.6_A4_T4.js index 18cb1c6ee2..93a86930b4 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T4.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T4.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A4_T4 description: Execute /\B\w\B/.exec("devils arise\tfor\nevil") and check results ---*/ -__executed = /\B\w\B/.exec("devils arise\tfor\nrevil"); +var __executed = /\B\w\B/.exec("devils arise\tfor\nrevil"); -__expected = ["e"]; +var __expected = ["e"]; __expected.index = 1; __expected.input = "devils arise\tfor\nrevil"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T5.js b/test/built-ins/RegExp/S15.10.2.6_A4_T5.js index 2fa820127a..ae13ff507b 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T5.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T5.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A4_T5 description: Execute /\w\B/.exec("devils arise\tfor\nevil") and check results ---*/ -__executed = /\w\B/.exec("devils arise\tfor\nrevil"); +var __executed = /\w\B/.exec("devils arise\tfor\nrevil"); -__expected = ["d"]; +var __expected = ["d"]; __expected.index = 0; __expected.input = "devils arise\tfor\nrevil"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T6.js b/test/built-ins/RegExp/S15.10.2.6_A4_T6.js index 7a6d46c490..3ed524d835 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T6.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T6.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A4_T6 description: Execute /\B\w/.exec("devils arise\tfor\nevil") and check results ---*/ -__executed = /\B\w/.exec("devils arise\tfor\nrevil"); +var __executed = /\B\w/.exec("devils arise\tfor\nrevil"); -__expected = ["e"]; +var __expected = ["e"]; __expected.index = 1; __expected.input = "devils arise\tfor\nrevil"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T7.js b/test/built-ins/RegExp/S15.10.2.6_A4_T7.js index 67ff6272e7..8517050480 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T7.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T7.js @@ -11,7 +11,7 @@ description: > check results ---*/ -__executed = /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils"); +var __executed = /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.6_A4_T8.js b/test/built-ins/RegExp/S15.10.2.6_A4_T8.js index 3cd61a05b4..e867077ee9 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A4_T8.js +++ b/test/built-ins/RegExp/S15.10.2.6_A4_T8.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /\B\w{4}\B/.exec("devil arise\tforzzx\nevils"); +var __executed = /\B\w{4}\B/.exec("devil arise\tforzzx\nevils"); -__expected = ["orzz"]; +var __expected = ["orzz"]; __expected.index = 13; __expected.input = "devil arise\tforzzx\nevils"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A5_T1.js b/test/built-ins/RegExp/S15.10.2.6_A5_T1.js index 5f9398de46..7f87b594ae 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A5_T1.js +++ b/test/built-ins/RegExp/S15.10.2.6_A5_T1.js @@ -9,9 +9,9 @@ es5id: 15.10.2.6_A5_T1 description: Execute /^^^^^^^robot$$$$/.exec("robot") and check results ---*/ -__executed = /^^^^^^^robot$$$$/.exec("robot"); +var __executed = /^^^^^^^robot$$$$/.exec("robot"); -__expected = ["robot"]; +var __expected = ["robot"]; __expected.index = 0; __expected.input = "robot"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A5_T2.js b/test/built-ins/RegExp/S15.10.2.6_A5_T2.js index 3ad2fa64a7..7c55d85fec 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A5_T2.js +++ b/test/built-ins/RegExp/S15.10.2.6_A5_T2.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /\B\B\B\B\B\Bbot\b\b\b\b\b\b\b/.exec("robot wall-e"); +var __executed = /\B\B\B\B\B\Bbot\b\b\b\b\b\b\b/.exec("robot wall-e"); -__expected = ["bot"]; +var __expected = ["bot"]; __expected.index = 2; __expected.input = "robot wall-e"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A6_T1.js b/test/built-ins/RegExp/S15.10.2.6_A6_T1.js index 8542758ec3..95c95bb792 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A6_T1.js +++ b/test/built-ins/RegExp/S15.10.2.6_A6_T1.js @@ -9,9 +9,9 @@ description: > dollar assertion ---*/ -__executed = /^.*?$/.exec("Hello World"); +var __executed = /^.*?$/.exec("Hello World"); -__expected = ["Hello World"]; +var __expected = ["Hello World"]; __expected.index = 0; __expected.input = "Hello World"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A6_T2.js b/test/built-ins/RegExp/S15.10.2.6_A6_T2.js index 15699ce151..fa7c83537f 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A6_T2.js +++ b/test/built-ins/RegExp/S15.10.2.6_A6_T2.js @@ -7,9 +7,9 @@ es5id: 15.10.2.6_A6_T2 description: Execute /^.*?/.exec("Hello World") and check results ---*/ -__executed = /^.*?/.exec("Hello World"); +var __executed = /^.*?/.exec("Hello World"); -__expected = [""]; +var __expected = [""]; __expected.index = 0; __expected.input = "Hello World"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A6_T3.js b/test/built-ins/RegExp/S15.10.2.6_A6_T3.js index 9d03c1cb0b..1c0db1e9cc 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A6_T3.js +++ b/test/built-ins/RegExp/S15.10.2.6_A6_T3.js @@ -7,9 +7,9 @@ es5id: 15.10.2.6_A6_T3 description: while asterix is non greedy it is run till matches end or colon ---*/ -__executed = /^.*?(:|$)/.exec("Hello: World"); +var __executed = /^.*?(:|$)/.exec("Hello: World"); -__expected = ["Hello:", ":"]; +var __expected = ["Hello:", ":"]; __expected.index = 0; __expected.input = "Hello: World"; diff --git a/test/built-ins/RegExp/S15.10.2.6_A6_T4.js b/test/built-ins/RegExp/S15.10.2.6_A6_T4.js index 30a86d07cc..bab82b143e 100644 --- a/test/built-ins/RegExp/S15.10.2.6_A6_T4.js +++ b/test/built-ins/RegExp/S15.10.2.6_A6_T4.js @@ -7,9 +7,9 @@ es5id: 15.10.2.6_A6_T4 description: "Execute /^.*(:|$)/.exec(\"Hello: World\") and check results" ---*/ -__executed = /^.*(:|$)/.exec("Hello: World"); +var __executed = /^.*(:|$)/.exec("Hello: World"); -__expected = ["Hello: World", ""]; +var __expected = ["Hello: World", ""]; __expected.index = 0; __expected.input = "Hello: World"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T1.js b/test/built-ins/RegExp/S15.10.2.7_A1_T1.js index cdba16ac03..73862ec88b 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T1.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T1 description: Execute /\d{2,4}/.exec("the answer is 42") and check results ---*/ -__executed = /\d{2,4}/.exec("the answer is 42"); +var __executed = /\d{2,4}/.exec("the answer is 42"); -__expected = ["42"]; +var __expected = ["42"]; __expected.index = 14; __expected.input = "the answer is 42"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T10.js b/test/built-ins/RegExp/S15.10.2.7_A1_T10.js index 52f181c767..e361be551a 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T10.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T10.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T10 description: Execute /b{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); +var __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); -__expected = ["bbbbc"]; +var __expected = ["bbbbc"]; __expected.index = 3; __expected.input = "aaabbbbcccddeeeefffff"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T11.js b/test/built-ins/RegExp/S15.10.2.7_A1_T11.js index 507e1debf4..fcec469e99 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T11.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T11.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T11 description: Execute /bx{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); +var __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); -__expected = ["bc"]; +var __expected = ["bc"]; __expected.index = 6; __expected.input = "aaabbbbcccddeeeefffff"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T12.js b/test/built-ins/RegExp/S15.10.2.7_A1_T12.js index f94f083411..e59a75e0a7 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T12.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T12.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T12 description: Execute /.{0,93}/.exec("weirwerdf") and check results ---*/ -__executed = /.{0,93}/.exec("weirwerdf"); +var __executed = /.{0,93}/.exec("weirwerdf"); -__expected = ["weirwerdf"]; +var __expected = ["weirwerdf"]; __expected.index = 0; __expected.input = "weirwerdf"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T2.js b/test/built-ins/RegExp/S15.10.2.7_A1_T2.js index 350a1a2097..505ab065a8 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T2.js @@ -9,7 +9,7 @@ es5id: 15.10.2.7_A1_T2 description: Execute /\d{2,4}/.test("the 7 movie") and check results ---*/ -__executed = /\d{2,4}/.test("the 7 movie"); +var __executed = /\d{2,4}/.test("the 7 movie"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T3.js b/test/built-ins/RegExp/S15.10.2.7_A1_T3.js index d33d91928a..4d97388e5b 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T3.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); +var __executed = /\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); -__expected = ["2000"]; +var __expected = ["2000"]; __expected.index = 4; __expected.input = "the 20000 Leagues Under the Sea book"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T4.js b/test/built-ins/RegExp/S15.10.2.7_A1_T4.js index 88f51ddf11..c38d0a45a9 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T4.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T4 description: Execute /\d{2,4}/.exec("the Fahrenheit 451 book") and check results ---*/ -__executed = /\d{2,4}/.exec("the Fahrenheit 451 book"); +var __executed = /\d{2,4}/.exec("the Fahrenheit 451 book"); -__expected = ["451"]; +var __expected = ["451"]; __expected.index = 15; __expected.input = "the Fahrenheit 451 book"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T5.js b/test/built-ins/RegExp/S15.10.2.7_A1_T5.js index b5d694783d..270eca789e 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T5.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T5 description: Execute /\d{2,4}/.exec("the 1984 novel") and check results ---*/ -__executed = /\d{2,4}/.exec("the 1984 novel"); +var __executed = /\d{2,4}/.exec("the 1984 novel"); -__expected = ["1984"]; +var __expected = ["1984"]; __expected.index = 4; __expected.input = "the 1984 novel"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T6.js b/test/built-ins/RegExp/S15.10.2.7_A1_T6.js index f7c3aadb5d..507b10ce23 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T6.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T6.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T6 description: Execute /\d{2,4}/.exec("0a0\u0031\u0031b") and check results ---*/ -__executed = /\d{2,4}/.exec("0a0\u0031\u0031b"); +var __executed = /\d{2,4}/.exec("0a0\u0031\u0031b"); -__expected = ["011"]; +var __expected = ["011"]; __expected.index = 2; __expected.input = "0a011b"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T7.js b/test/built-ins/RegExp/S15.10.2.7_A1_T7.js index 5c30f5fd95..9d2b00d694 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T7.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T7.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T7 description: Execute /\d{2,4}/.exec("0a0\u0031\u003122b") and check results ---*/ -__executed = /\d{2,4}/.exec("0a0\u0031\u003122b"); +var __executed = /\d{2,4}/.exec("0a0\u0031\u003122b"); -__expected = ["0112"]; +var __expected = ["0112"]; __expected.index = 2; __expected.input = "0a01122b"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T8.js b/test/built-ins/RegExp/S15.10.2.7_A1_T8.js index fe8f75ce04..d2ab9824ad 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T8.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T8.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A1_T8 description: Execute /b{2,3}c/.exec("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); +var __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); -__expected = ["bbbc"]; +var __expected = ["bbbc"]; __expected.index = 4; __expected.input = "aaabbbbcccddeeeefffff"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A1_T9.js b/test/built-ins/RegExp/S15.10.2.7_A1_T9.js index 7119a2916b..1a1ed93d59 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A1_T9.js +++ b/test/built-ins/RegExp/S15.10.2.7_A1_T9.js @@ -9,7 +9,7 @@ es5id: 15.10.2.7_A1_T9 description: Execute /b{42,93}c/.exec("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /b{42,93}c/.test("aaabbbbcccddeeeefffff"); +var __executed = /b{42,93}c/.test("aaabbbbcccddeeeefffff"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A2_T1.js b/test/built-ins/RegExp/S15.10.2.7_A2_T1.js index 42c1352c6c..b8e635ad4e 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A2_T1.js +++ b/test/built-ins/RegExp/S15.10.2.7_A2_T1.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A2_T1 description: Execute /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127") and check results ---*/ -__executed = /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127"); +var __executed = /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127"); -__expected = ["box1"]; +var __expected = ["box1"]; __expected.index = 5; __expected.input = "CE\uFFFFL\uFFDDbox127"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A2_T2.js b/test/built-ins/RegExp/S15.10.2.7_A2_T2.js index 2e54cb1b6b..a35d634e12 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A2_T2.js +++ b/test/built-ins/RegExp/S15.10.2.7_A2_T2.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A2_T2 description: Execute /\w{3}\d?/.exec("CELL\uFFDDbox127") and check results ---*/ -__executed = /\w{3}\d?/.exec("CELL\uFFDDbox127"); +var __executed = /\w{3}\d?/.exec("CELL\uFFDDbox127"); -__expected = ["CEL"]; +var __expected = ["CEL"]; __expected.index = 0; __expected.input = "CELL\uFFDDbox127"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A2_T3.js b/test/built-ins/RegExp/S15.10.2.7_A2_T3.js index b9372159f1..658dfca236 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A2_T3.js +++ b/test/built-ins/RegExp/S15.10.2.7_A2_T3.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A2_T3 description: Execute /b{2}c/.exec("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); +var __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); -__expected = ["bbc"]; +var __expected = ["bbc"]; __expected.index = 5; __expected.input = "aaabbbbcccddeeeefffff"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A2_T4.js b/test/built-ins/RegExp/S15.10.2.7_A2_T4.js index b0efa95109..0be1007390 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A2_T4.js +++ b/test/built-ins/RegExp/S15.10.2.7_A2_T4.js @@ -9,7 +9,7 @@ es5id: 15.10.2.7_A2_T4 description: Execute /b{8}c/.test("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /b{8}/.test("aaabbbbcccddeeeefffff"); +var __executed = /b{8}/.test("aaabbbbcccddeeeefffff"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T1.js b/test/built-ins/RegExp/S15.10.2.7_A3_T1.js index 50cabdd202..4a49954c88 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T1.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T1.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T1 description: Execute /\s+java\s+/.exec("language java\n") and check results ---*/ -__executed = /\s+java\s+/.exec("language java\n"); +var __executed = /\s+java\s+/.exec("language java\n"); -__expected = [" java\n"]; +var __expected = [" java\n"]; __expected.index = 8; __expected.input = "language java\n"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T10.js b/test/built-ins/RegExp/S15.10.2.7_A3_T10.js index b4c86fec91..01f427aa71 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T10.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T10.js @@ -9,7 +9,7 @@ es5id: 15.10.2.7_A3_T10 description: Execute /o+/.test("abcdefg") and check results ---*/ -__executed = /o+/.test("abcdefg"); +var __executed = /o+/.test("abcdefg"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T11.js b/test/built-ins/RegExp/S15.10.2.7_A3_T11.js index 1a9c47c3d2..79ed66e93a 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T11.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T11.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T11 description: Execute /d+/.exec("abcdefg") and check results ---*/ -__executed = /d+/.exec("abcdefg"); +var __executed = /d+/.exec("abcdefg"); -__expected = ["d"]; +var __expected = ["d"]; __expected.index = 3; __expected.input = "abcdefg"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T12.js b/test/built-ins/RegExp/S15.10.2.7_A3_T12.js index 88e65f3ff7..e08b145cec 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T12.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T12.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T12 description: Execute /(b+)(b+)(b+)/.exec("abbbbbbbc") and check results ---*/ -__executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); +var __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); -__expected = ["bbbbbbb","bbbbb","b","b"]; +var __expected = ["bbbbbbb","bbbbb","b","b"]; __expected.index = 1; __expected.input = "abbbbbbbc"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T13.js b/test/built-ins/RegExp/S15.10.2.7_A3_T13.js index 91569e9dcc..54d1b84d59 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T13.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T13.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T13 description: Execute /(b+)(b*)/.exec("abbbbbbbc") and check results ---*/ -__executed = /(b+)(b*)/.exec("abbbbbbbc"); +var __executed = /(b+)(b*)/.exec("abbbbbbbc"); -__expected = ["bbbbbbb","bbbbbbb",""]; +var __expected = ["bbbbbbb","bbbbbbb",""]; __expected.index = 1; __expected.input = "abbbbbbbc"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T14.js b/test/built-ins/RegExp/S15.10.2.7_A3_T14.js index 7fef3c72ae..2a21519ee3 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T14.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T14.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T14 description: Execute /b*b+/.exec("abbbbbbbc") and check results ---*/ -__executed = /b*b+/.exec("abbbbbbbc"); +var __executed = /b*b+/.exec("abbbbbbbc"); -__expected = ["bbbbbbb"]; +var __expected = ["bbbbbbb"]; __expected.index = 1; __expected.input = "abbbbbbbc"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T2.js b/test/built-ins/RegExp/S15.10.2.7_A3_T2.js index 0955ff27d1..b795efa947 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T2.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T2 description: Execute /\s+java\s+/.exec("\t java object") and check results ---*/ -__executed = /\s+java\s+/.exec("\t java object"); +var __executed = /\s+java\s+/.exec("\t java object"); -__expected = ["\t java "]; +var __expected = ["\t java "]; __expected.index = 0; __expected.input = "\t java object"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T3.js b/test/built-ins/RegExp/S15.10.2.7_A3_T3.js index dbc7c31a3a..97226c19f2 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T3.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T3.js @@ -9,7 +9,7 @@ es5id: 15.10.2.7_A3_T3 description: Execute /\s+java\s+/.test("\t javax package") and check results ---*/ -__executed = /\s+java\s+/.test("\t javax package"); +var __executed = /\s+java\s+/.test("\t javax package"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T4.js b/test/built-ins/RegExp/S15.10.2.7_A3_T4.js index 3f94d71c07..87184e2f1f 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T4.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T4.js @@ -9,7 +9,7 @@ es5id: 15.10.2.7_A3_T4 description: Execute /\s+java\s+/.test("java\n\nobject") and check results ---*/ -__executed = /\s+java\s+/.test("java\n\nobject"); +var __executed = /\s+java\s+/.test("java\n\nobject"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T5.js b/test/built-ins/RegExp/S15.10.2.7_A3_T5.js index 752553c28d..bbac15aadd 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T5.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T5.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /[a-z]+\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); +var __executed = /[a-z]+\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); -__expected = ["x2"]; +var __expected = ["x2"]; __expected.index = 10; __expected.input = "x 2 ff 55 x2 as1 z12 abc12.0"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T6.js b/test/built-ins/RegExp/S15.10.2.7_A3_T6.js index 017a373c02..3c7ce8df5e 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T6.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T6.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T6 description: Execute /[a-z]+\d+/.exec("__abc123.0") and check results ---*/ -__executed = /[a-z]+\d+/.exec("__abc123.0"); +var __executed = /[a-z]+\d+/.exec("__abc123.0"); -__expected = ["abc123"]; +var __expected = ["abc123"]; __expected.index = 2; __expected.input = "__abc123.0"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T7.js b/test/built-ins/RegExp/S15.10.2.7_A3_T7.js index cdaf8cc502..99401721bd 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T7.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T7.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /[a-z]+(\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); +var __executed = /[a-z]+(\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); -__expected = ["x2","2"]; +var __expected = ["x2","2"]; __expected.index = 10; __expected.input = "x 2 ff 55 x2 as1 z12 abc12.0"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T8.js b/test/built-ins/RegExp/S15.10.2.7_A3_T8.js index ec5ee34d3e..1248e692c2 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T8.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T8.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T8 description: Execute /[a-z]+(\d+)/.exec("__abc123.0") and check results ---*/ -__executed = /[a-z]+(\d+)/.exec("__abc123.0"); +var __executed = /[a-z]+(\d+)/.exec("__abc123.0"); -__expected = ["abc123","123"]; +var __expected = ["abc123","123"]; __expected.index = 2; __expected.input = "__abc123.0"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A3_T9.js b/test/built-ins/RegExp/S15.10.2.7_A3_T9.js index 87a243536a..a204193ba2 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A3_T9.js +++ b/test/built-ins/RegExp/S15.10.2.7_A3_T9.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A3_T9 description: Execute /d+/.exec("abcdddddefg") and check results ---*/ -__executed = /d+/.exec("abcdddddefg"); +var __executed = /d+/.exec("abcdddddefg"); -__expected = ["ddddd"]; +var __expected = ["ddddd"]; __expected.index = 3; __expected.input = "abcdddddefg"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T1.js b/test/built-ins/RegExp/S15.10.2.7_A4_T1.js index d9cfe263c5..eaec82fb19 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T1.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T1.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T1 description: Execute /[^"]* /.exec('"beast"-nickname') and check results ---*/ -__executed = /[^"]*/.exec('"beast"-nickname'); +var __executed = /[^"]*/.exec('"beast"-nickname'); -__expected = [""]; +var __expected = [""]; __expected.index = 0; __expected.input = '"beast"-nickname'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T10.js b/test/built-ins/RegExp/S15.10.2.7_A4_T10.js index 1f1d3272a3..4163244d76 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T10.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T10.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T10 description: Execute /d* /.exec('abcddddefg') and check results ---*/ -__executed = /d*/.exec('abcddddefg'); +var __executed = /d*/.exec('abcddddefg'); -__expected = [""]; +var __expected = [""]; __expected.index = 0; __expected.input = 'abcddddefg'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T11.js b/test/built-ins/RegExp/S15.10.2.7_A4_T11.js index fdad531ae6..4bfb0915ec 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T11.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T11.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T11 description: Execute /cd* /.exec('abcddddefg') and check results ---*/ -__executed = /cd*/.exec('abcddddefg'); +var __executed = /cd*/.exec('abcddddefg'); -__expected = ["cdddd"]; +var __expected = ["cdddd"]; __expected.index = 2; __expected.input = 'abcddddefg'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T12.js b/test/built-ins/RegExp/S15.10.2.7_A4_T12.js index 21e5c63d14..2df87a1573 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T12.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T12.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T12 description: Execute /cx*d/.exec('abcdefg') and check results ---*/ -__executed = /cx*d/.exec('abcdefg'); +var __executed = /cx*d/.exec('abcdefg'); -__expected = ["cd"]; +var __expected = ["cd"]; __expected.index = 2; __expected.input = 'abcdefg'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T13.js b/test/built-ins/RegExp/S15.10.2.7_A4_T13.js index 2e626d0c5f..f204c0bb5d 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T13.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T13.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T13 description: Execute /(x*)(x+)/.exec('xxxxxxx') and check results ---*/ -__executed = /(x*)(x+)/.exec('xxxxxxx'); +var __executed = /(x*)(x+)/.exec('xxxxxxx'); -__expected = ["xxxxxxx","xxxxxx","x"]; +var __expected = ["xxxxxxx","xxxxxx","x"]; __expected.index = 0; __expected.input = 'xxxxxxx'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T14.js b/test/built-ins/RegExp/S15.10.2.7_A4_T14.js index c36d646585..e395e74ca0 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T14.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T14.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T14 description: Execute /(\d*)(\d+)/.exec('1234567890') and check results ---*/ -__executed = /(\d*)(\d+)/.exec('1234567890'); +var __executed = /(\d*)(\d+)/.exec('1234567890'); -__expected = ["1234567890","123456789","0"]; +var __expected = ["1234567890","123456789","0"]; __expected.index = 0; __expected.input = '1234567890'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T15.js b/test/built-ins/RegExp/S15.10.2.7_A4_T15.js index 324f5c4e4f..bb8c52decc 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T15.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T15.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T15 description: Execute /(\d*)\d(\d+)/.exec('1234567890') and check results ---*/ -__executed = /(\d*)\d(\d+)/.exec('1234567890'); +var __executed = /(\d*)\d(\d+)/.exec('1234567890'); -__expected = ["1234567890","12345678","0"]; +var __expected = ["1234567890","12345678","0"]; __expected.index = 0; __expected.input = '1234567890'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T16.js b/test/built-ins/RegExp/S15.10.2.7_A4_T16.js index dc8f7796ae..a2bc0ad75e 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T16.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T16.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T16 description: Execute /(x+)(x*)/.exec('xxxxxxx') and check results ---*/ -__executed = /(x+)(x*)/.exec('xxxxxxx'); +var __executed = /(x+)(x*)/.exec('xxxxxxx'); -__expected = ["xxxxxxx","xxxxxxx",""]; +var __expected = ["xxxxxxx","xxxxxxx",""]; __expected.index = 0; __expected.input = 'xxxxxxx'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T17.js b/test/built-ins/RegExp/S15.10.2.7_A4_T17.js index da6630c701..8b9b54dc62 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T17.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T17.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T17 description: Execute /x*y+$/.exec('xxxxxxyyyyyy') and check results ---*/ -__executed = /x*y+$/.exec('xxxxxxyyyyyy'); +var __executed = /x*y+$/.exec('xxxxxxyyyyyy'); -__expected = ["xxxxxxyyyyyy"]; +var __expected = ["xxxxxxyyyyyy"]; __expected.index = 0; __expected.input = 'xxxxxxyyyyyy'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T18.js b/test/built-ins/RegExp/S15.10.2.7_A4_T18.js index 05c647502f..2cd23979f4 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T18.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T18.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T18 description: Execute /[\d]*[\s]*bc./.exec('abcdef') and check results ---*/ -__executed = /[\d]*[\s]*bc./.exec('abcdef'); +var __executed = /[\d]*[\s]*bc./.exec('abcdef'); -__expected = ["bcd"]; +var __expected = ["bcd"]; __expected.index = 1; __expected.input = 'abcdef'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T19.js b/test/built-ins/RegExp/S15.10.2.7_A4_T19.js index 40c0c4bcbb..3bbb19cab6 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T19.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T19.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T19 description: Execute /bc..[\d]*[\s]* /.exec('abcdef') and check results ---*/ -__executed = /bc..[\d]*[\s]*/.exec('abcdef'); +var __executed = /bc..[\d]*[\s]*/.exec('abcdef'); -__expected = ["bcde"]; +var __expected = ["bcde"]; __expected.index = 1; __expected.input = 'abcdef'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T2.js b/test/built-ins/RegExp/S15.10.2.7_A4_T2.js index e847eca103..3a3ddbd409 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T2.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T2.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T2 description: "Execute /[^\"]* /.exec('alice said: \"don\\'t\"') and check results" ---*/ -__executed = /[^"]*/.exec('alice said: "don\'t"'); +var __executed = /[^"]*/.exec('alice said: "don\'t"'); -__expected = ["alice said: "]; +var __expected = ["alice said: "]; __expected.index = 0; __expected.input = 'alice said: "don\'t"'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T20.js b/test/built-ins/RegExp/S15.10.2.7_A4_T20.js index 3607e64b45..fd04b0eca8 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T20.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T20.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T20 description: Execute /.* /.exec('a1b2c3') and check results ---*/ -__executed = /.*/.exec('a1b2c3'); +var __executed = /.*/.exec('a1b2c3'); -__expected = ["a1b2c3"]; +var __expected = ["a1b2c3"]; __expected.index = 0; __expected.input = 'a1b2c3'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T21.js b/test/built-ins/RegExp/S15.10.2.7_A4_T21.js index b916777574..50d0d40bd8 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T21.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T21.js @@ -9,7 +9,7 @@ es5id: 15.10.2.7_A4_T21 description: Execute /[xyz]*1/.test('a0.b2.c3') and check results ---*/ -__executed = /[xyz]*1/.test('a0.b2.c3'); +var __executed = /[xyz]*1/.test('a0.b2.c3'); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T3.js b/test/built-ins/RegExp/S15.10.2.7_A4_T3.js index a09fff6800..c73e21df86 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T3.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T3.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A4_T3 description: Execute /[^"]* /.exec("before\'i\'start") and check results ---*/ -__executed = /[^"]*/.exec("before\'i\'start"); +var __executed = /[^"]*/.exec("before\'i\'start"); -__expected = ["before\'i\'start"]; +var __expected = ["before\'i\'start"]; __expected.index = 0; __expected.input = "before\'i\'start"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T4.js b/test/built-ins/RegExp/S15.10.2.7_A4_T4.js index a575d37bec..c53dd25470 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T4.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T4.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /[^"]*/.exec('alice \"sweep\": "don\'t"'); +var __executed = /[^"]*/.exec('alice \"sweep\": "don\'t"'); -__expected = ["alice "]; +var __expected = ["alice "]; __expected.index = 0; __expected.input = 'alice \"sweep\": "don\'t"'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T5.js b/test/built-ins/RegExp/S15.10.2.7_A4_T5.js index 1d64ffcdba..ed4a22f145 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T5.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T5.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /[^"]*/.exec('alice \u0022sweep\u0022: "don\'t"'); +var __executed = /[^"]*/.exec('alice \u0022sweep\u0022: "don\'t"'); -__expected = ["alice "]; +var __expected = ["alice "]; __expected.index = 0; __expected.input = 'alice "sweep": "don\'t"'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T6.js b/test/built-ins/RegExp/S15.10.2.7_A4_T6.js index 6b289bacd0..67e13cc0e9 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T6.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T6.js @@ -11,9 +11,9 @@ description: > and check results ---*/ -__executed = /["'][^"']*["']/.exec('alice \u0022sweep\u0022: "don\'t"'); +var __executed = /["'][^"']*["']/.exec('alice \u0022sweep\u0022: "don\'t"'); -__expected = ["\"sweep\""]; +var __expected = ["\"sweep\""]; __expected.index = 6; __expected.input = 'alice "sweep": "don\'t"'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T7.js b/test/built-ins/RegExp/S15.10.2.7_A4_T7.js index 744e52443c..d42b9674b3 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T7.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T7.js @@ -11,9 +11,9 @@ description: > check results ---*/ -__executed = /["'][^"']*["']/.exec('alice cries out: \'don\'t\''); +var __executed = /["'][^"']*["']/.exec('alice cries out: \'don\'t\''); -__expected = ["\'don\'"]; +var __expected = ["\'don\'"]; __expected.index = 17; __expected.input = 'alice cries out: \'don\'t\''; diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T8.js b/test/built-ins/RegExp/S15.10.2.7_A4_T8.js index da77b60774..f5560c715f 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T8.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T8.js @@ -11,7 +11,7 @@ description: > results ---*/ -__executed = /["'][^"']*["']/.test('alice cries out: don\'t'); +var __executed = /["'][^"']*["']/.test('alice cries out: don\'t'); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A4_T9.js b/test/built-ins/RegExp/S15.10.2.7_A4_T9.js index e620f7e330..b1f8fde365 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A4_T9.js +++ b/test/built-ins/RegExp/S15.10.2.7_A4_T9.js @@ -11,9 +11,9 @@ description: > results ---*/ -__executed = /["'][^"']*["']/.exec('alice cries out:\"\"'); +var __executed = /["'][^"']*["']/.exec('alice cries out:\"\"'); -__expected = ['\"\"']; +var __expected = ['\"\"']; __expected.index = 16; __expected.input = 'alice cries out:\"\"'; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T1.js b/test/built-ins/RegExp/S15.10.2.7_A5_T1.js index e142989dda..3c9b308576 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T1.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T1.js @@ -11,9 +11,9 @@ description: > ecma script") and check results ---*/ -__executed = /java(script)?/.exec("state: javascript is extension of ecma script"); +var __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); -__expected = ["javascript", "script"]; +var __expected = ["javascript", "script"]; __expected.index = 7; __expected.input = "state: javascript is extension of ecma script"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T10.js b/test/built-ins/RegExp/S15.10.2.7_A5_T10.js index fbc774d2b5..28fd1f2559 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T10.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T10.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T10 description: Execute /ab?c?d?x?y?z/.exec("123az789") and check results ---*/ -__executed = /ab?c?d?x?y?z/.exec("123az789"); +var __executed = /ab?c?d?x?y?z/.exec("123az789"); -__expected = ["az"]; +var __expected = ["az"]; __expected.index = 3; __expected.input = "123az789"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T11.js b/test/built-ins/RegExp/S15.10.2.7_A5_T11.js index 8d24959a52..c4f319ebd4 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T11.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T11.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T11 description: Execute /\??\??\??\??\??/.exec("?????") and check results ---*/ -__executed = /\??\??\??\??\??/.exec("?????"); +var __executed = /\??\??\??\??\??/.exec("?????"); -__expected = ["?????"]; +var __expected = ["?????"]; __expected.index = 0; __expected.input = "?????"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T12.js b/test/built-ins/RegExp/S15.10.2.7_A5_T12.js index 5c17119cbd..81755a28a1 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T12.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T12.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T12 description: Execute /.?.?.?.?.?.?.?/.exec("test") and check results ---*/ -__executed = /.?.?.?.?.?.?.?/.exec("test"); +var __executed = /.?.?.?.?.?.?.?/.exec("test"); -__expected = ["test"]; +var __expected = ["test"]; __expected.index = 0; __expected.input = "test"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T2.js b/test/built-ins/RegExp/S15.10.2.7_A5_T2.js index e508cf9b62..e7966f18da 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T2.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T2.js @@ -11,9 +11,9 @@ description: > vastly different") and check results ---*/ -__executed = /java(script)?/.exec("state: java and javascript are vastly different"); +var __executed = /java(script)?/.exec("state: java and javascript are vastly different"); -__expected = ["java", undefined]; +var __expected = ["java", undefined]; __expected.index = 7; __expected.input = "state: java and javascript are vastly different"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T3.js b/test/built-ins/RegExp/S15.10.2.7_A5_T3.js index e85f5de691..018ea13d26 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T3.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T3.js @@ -11,7 +11,7 @@ description: > in web development") and check results ---*/ -__executed = /java(script)?/.test("state: both Java and JavaScript used in web development"); +var __executed = /java(script)?/.test("state: both Java and JavaScript used in web development"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T4.js b/test/built-ins/RegExp/S15.10.2.7_A5_T4.js index a33639554f..b97e9dab9f 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T4.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T4.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T4 description: Execute /cd?e/.exec("abcdef") and check results ---*/ -__executed = /cd?e/.exec("abcdef"); +var __executed = /cd?e/.exec("abcdef"); -__expected = ["cde"]; +var __expected = ["cde"]; __expected.index = 2; __expected.input = "abcdef"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T5.js b/test/built-ins/RegExp/S15.10.2.7_A5_T5.js index 779d4bd5a7..aafb17ad1b 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T5.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T5.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T5 description: Execute /cdx?e/.exec("abcdef") and check results ---*/ -__executed = /cdx?e/.exec("abcdef"); +var __executed = /cdx?e/.exec("abcdef"); -__expected = ["cde"]; +var __expected = ["cde"]; __expected.index = 2; __expected.input = "abcdef"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T6.js b/test/built-ins/RegExp/S15.10.2.7_A5_T6.js index 53c039398f..38ea5b9072 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T6.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T6.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T6 description: Execute /o?pqrst/.exec("pqrstuvw") and check results ---*/ -__executed = /o?pqrst/.exec("pqrstuvw"); +var __executed = /o?pqrst/.exec("pqrstuvw"); -__expected = ["pqrst"]; +var __expected = ["pqrst"]; __expected.index = 0; __expected.input = "pqrstuvw"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T7.js b/test/built-ins/RegExp/S15.10.2.7_A5_T7.js index d316028aca..a97e458793 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T7.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T7.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T7 description: Execute /x?y?z?/.exec("abcd") and check results ---*/ -__executed = /x?y?z?/.exec("abcd"); +var __executed = /x?y?z?/.exec("abcd"); -__expected = [""]; +var __expected = [""]; __expected.index = 0; __expected.input = "abcd"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T8.js b/test/built-ins/RegExp/S15.10.2.7_A5_T8.js index 89dff64a6d..77571c58f7 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T8.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T8.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T8 description: Execute /x?ay?bz?c/.exec("abcd") and check results ---*/ -__executed = /x?ay?bz?c/.exec("abcd"); +var __executed = /x?ay?bz?c/.exec("abcd"); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index = 0; __expected.input = "abcd"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A5_T9.js b/test/built-ins/RegExp/S15.10.2.7_A5_T9.js index 380eec02db..e0e5ddb36b 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A5_T9.js +++ b/test/built-ins/RegExp/S15.10.2.7_A5_T9.js @@ -9,9 +9,9 @@ es5id: 15.10.2.7_A5_T9 description: Execute /b?b?b?b/.exec("abbbbc") and check results ---*/ -__executed = /b?b?b?b/.exec("abbbbc"); +var __executed = /b?b?b?b/.exec("abbbbc"); -__expected = ["bbbb"]; +var __expected = ["bbbb"]; __expected.index = 1; __expected.input = "abbbbc"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A6_T1.js b/test/built-ins/RegExp/S15.10.2.7_A6_T1.js index 9b23ffe388..6caa864792 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A6_T1.js +++ b/test/built-ins/RegExp/S15.10.2.7_A6_T1.js @@ -10,9 +10,9 @@ es5id: 15.10.2.7_A6_T1 description: Execute /b{2,}c/.exec("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); +var __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); -__expected = ["bbbbc"]; +var __expected = ["bbbbc"]; __expected.index = 3; __expected.input = "aaabbbbcccddeeeefffff"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A6_T2.js b/test/built-ins/RegExp/S15.10.2.7_A6_T2.js index da9446325d..5b16b27a0a 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A6_T2.js +++ b/test/built-ins/RegExp/S15.10.2.7_A6_T2.js @@ -10,7 +10,7 @@ es5id: 15.10.2.7_A6_T2 description: Execute /b{8,}c/.test("aaabbbbcccddeeeefffff") and check results ---*/ -__executed = /b{8,}c/.test("aaabbbbcccddeeeefffff"); +var __executed = /b{8,}c/.test("aaabbbbcccddeeeefffff"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.7_A6_T3.js b/test/built-ins/RegExp/S15.10.2.7_A6_T3.js index ced08302a7..295129b8bd 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A6_T3.js +++ b/test/built-ins/RegExp/S15.10.2.7_A6_T3.js @@ -10,9 +10,9 @@ es5id: 15.10.2.7_A6_T3 description: Execute /\d{1,}/.exec("wqe456646dsff") and check results ---*/ -__executed = /\d{1,}/.exec("wqe456646dsff"); +var __executed = /\d{1,}/.exec("wqe456646dsff"); -__expected = ["456646"]; +var __expected = ["456646"]; __expected.index = 3; __expected.input = "wqe456646dsff"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A6_T4.js b/test/built-ins/RegExp/S15.10.2.7_A6_T4.js index 02146a58f2..f0966aa73e 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A6_T4.js +++ b/test/built-ins/RegExp/S15.10.2.7_A6_T4.js @@ -10,9 +10,9 @@ es5id: 15.10.2.7_A6_T4 description: Execute /(123){1,}/.exec("123123") and check results ---*/ -__executed = /(123){1,}/.exec("123123"); +var __executed = /(123){1,}/.exec("123123"); -__expected = ["123123","123"]; +var __expected = ["123123","123"]; __expected.index = 0; __expected.input = "123123"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A6_T5.js b/test/built-ins/RegExp/S15.10.2.7_A6_T5.js index 4d16821617..a365f7b367 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A6_T5.js +++ b/test/built-ins/RegExp/S15.10.2.7_A6_T5.js @@ -10,9 +10,9 @@ es5id: 15.10.2.7_A6_T5 description: Execute /(123){1,}x\1/.exec("123123x123") and check results ---*/ -__executed = /(123){1,}x\1/.exec("123123x123"); +var __executed = /(123){1,}x\1/.exec("123123x123"); -__expected = ["123123x123","123"]; +var __expected = ["123123x123","123"]; __expected.index = 0; __expected.input = "123123x123"; diff --git a/test/built-ins/RegExp/S15.10.2.7_A6_T6.js b/test/built-ins/RegExp/S15.10.2.7_A6_T6.js index 1b060b4d58..af380368a9 100644 --- a/test/built-ins/RegExp/S15.10.2.7_A6_T6.js +++ b/test/built-ins/RegExp/S15.10.2.7_A6_T6.js @@ -10,9 +10,9 @@ es5id: 15.10.2.7_A6_T6 description: Execute /x{1,2}x{1,}/.exec("xxxxxxx") and check results ---*/ -__executed = /x{1,2}x{1,}/.exec("xxxxxxx"); +var __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); -__expected = ["xxxxxxx"]; +var __expected = ["xxxxxxx"]; __expected.index = 0; __expected.input = "xxxxxxx"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A1_T1.js b/test/built-ins/RegExp/S15.10.2.8_A1_T1.js index 1e2da7f494..f0a86f861c 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.8_A1_T1.js @@ -10,9 +10,9 @@ es5id: 15.10.2.8_A1_T1 description: Execute /(?=(a+))/.exec("baaabac") and check results ---*/ -__executed = /(?=(a+))/.exec("baaabac"); +var __executed = /(?=(a+))/.exec("baaabac"); -__expected = ["", "aaa"]; +var __expected = ["", "aaa"]; __expected.index = 1; __expected.input = "baaabac"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A1_T2.js b/test/built-ins/RegExp/S15.10.2.8_A1_T2.js index ddd4f33c31..17d9883a61 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.8_A1_T2.js @@ -10,9 +10,9 @@ es5id: 15.10.2.8_A1_T2 description: Execute /(?=(a+))a*b\1/.exec("baaabac") and check results ---*/ -__executed = /(?=(a+))a*b\1/.exec("baaabac"); +var __executed = /(?=(a+))a*b\1/.exec("baaabac"); -__expected = ["aba", "a"]; +var __expected = ["aba", "a"]; __expected.index = 3; __expected.input = "baaabac"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A1_T3.js b/test/built-ins/RegExp/S15.10.2.8_A1_T3.js index cae90378e9..19ddebfe61 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.8_A1_T3.js @@ -12,9 +12,9 @@ description: > af jedi") and check results ---*/ -__executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("just Javascript: the way af jedi"); +var __executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("just Javascript: the way af jedi"); -__expected = ["Javascript", "script"]; +var __expected = ["Javascript", "script"]; __expected.index = 5; __expected.input = "just Javascript: the way af jedi"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A1_T4.js b/test/built-ins/RegExp/S15.10.2.8_A1_T4.js index ee9d8e3234..7ab3357424 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.8_A1_T4.js @@ -12,9 +12,9 @@ description: > cookbook ") and check results ---*/ -__executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("taste of java: the cookbook "); +var __executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("taste of java: the cookbook "); -__expected = ["java", undefined]; +var __expected = ["java", undefined]; __expected.index = 9; __expected.input = "taste of java: the cookbook "; diff --git a/test/built-ins/RegExp/S15.10.2.8_A1_T5.js b/test/built-ins/RegExp/S15.10.2.8_A1_T5.js index d1561407fa..5b4f03b2ab 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.2.8_A1_T5.js @@ -12,7 +12,7 @@ description: > engine") and check results ---*/ -__executed = /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript engine"); +var __executed = /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript engine"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T1.js b/test/built-ins/RegExp/S15.10.2.8_A2_T1.js index c370d1445f..b14f941b55 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T1.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T1.js @@ -12,9 +12,9 @@ description: > results ---*/ -__executed = /(.*?)a(?!(a+)b\2c)\2(.*)/.exec("baaabaac"); +var __executed = /(.*?)a(?!(a+)b\2c)\2(.*)/.exec("baaabaac"); -__expected = ["baaabaac", "ba", undefined, "abaac"]; +var __expected = ["baaabaac", "ba", undefined, "abaac"]; __expected.index = 0; __expected.input = "baaabaac"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T10.js b/test/built-ins/RegExp/S15.10.2.8_A2_T10.js index 8fa1bd3419..472a5d24a2 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T10.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T10.js @@ -10,9 +10,9 @@ es5id: 15.10.2.8_A2_T10 description: Execute /(?!a|b)|c/.exec("bc") and check results ---*/ -__executed = /(?!a|b)|c/.exec("bc"); +var __executed = /(?!a|b)|c/.exec("bc"); -__expected = [""]; +var __expected = [""]; __expected.index = 1; __expected.input = "bc"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T11.js b/test/built-ins/RegExp/S15.10.2.8_A2_T11.js index 21333eccf3..14a7b56e4d 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T11.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T11.js @@ -10,9 +10,9 @@ es5id: 15.10.2.8_A2_T11 description: Execute /(?!a|b)|c/.exec("d") and check results ---*/ -__executed = /(?!a|b)|c/.exec("d"); +var __executed = /(?!a|b)|c/.exec("d"); -__expected = [""]; +var __expected = [""]; __expected.index = 0; __expected.input = "d"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T2.js b/test/built-ins/RegExp/S15.10.2.8_A2_T2.js index 57e84f6356..f8814b08f8 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T2.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T2.js @@ -12,9 +12,9 @@ description: > technology") and check results ---*/ -__executed = /Java(?!Script)([A-Z]\w*)/.exec("using of JavaBeans technology"); +var __executed = /Java(?!Script)([A-Z]\w*)/.exec("using of JavaBeans technology"); -__expected = ["JavaBeans", "Beans"]; +var __expected = ["JavaBeans", "Beans"]; __expected.index = 9; __expected.input = "using of JavaBeans technology"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T3.js b/test/built-ins/RegExp/S15.10.2.8_A2_T3.js index 610c321de6..ce44c9d411 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T3.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T3.js @@ -12,7 +12,7 @@ description: > and check results ---*/ -__executed = /Java(?!Script)([A-Z]\w*)/.test("using of Java language"); +var __executed = /Java(?!Script)([A-Z]\w*)/.test("using of Java language"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T4.js b/test/built-ins/RegExp/S15.10.2.8_A2_T4.js index 3e87468232..52070ec715 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T4.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T4.js @@ -12,7 +12,7 @@ description: > check results ---*/ -__executed = /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter "); +var __executed = /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter "); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T5.js b/test/built-ins/RegExp/S15.10.2.8_A2_T5.js index 99df77fdc7..d97d934efc 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T5.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T5.js @@ -12,9 +12,9 @@ description: > check results ---*/ -__executed = /Java(?!Script)([A-Z]\w*)/.exec("JavaScr oops ipt "); +var __executed = /Java(?!Script)([A-Z]\w*)/.exec("JavaScr oops ipt "); -__expected = ["JavaScr", "Scr"]; +var __expected = ["JavaScr", "Scr"]; __expected.index = 0; __expected.input = "JavaScr oops ipt "; diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T6.js b/test/built-ins/RegExp/S15.10.2.8_A2_T6.js index 33b63c2ddc..d08e4ef08d 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T6.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T6.js @@ -10,9 +10,9 @@ es5id: 15.10.2.8_A2_T6 description: Execute /(\.(?!com|org)|\/)/.exec("ah.info") and check results ---*/ -__executed = /(\.(?!com|org)|\/)/.exec("ah.info"); +var __executed = /(\.(?!com|org)|\/)/.exec("ah.info"); -__expected = ['.', '.']; +var __expected = ['.', '.']; __expected.index = 2; __expected.input = "ah.info"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T7.js b/test/built-ins/RegExp/S15.10.2.8_A2_T7.js index f2d39f968d..327e382603 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T7.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T7.js @@ -10,9 +10,9 @@ es5id: 15.10.2.8_A2_T7 description: Execute /(\.(?!com|org)|\/)/.exec("ah/info") and check results ---*/ -__executed = /(\.(?!com|org)|\/)/.exec("ah/info"); +var __executed = /(\.(?!com|org)|\/)/.exec("ah/info"); -__expected = ['/', '/']; +var __expected = ['/', '/']; __expected.index = 2; __expected.input = "ah/info"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T8.js b/test/built-ins/RegExp/S15.10.2.8_A2_T8.js index 8ae49d8c2d..c0a9a51665 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T8.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T8.js @@ -10,7 +10,7 @@ es5id: 15.10.2.8_A2_T8 description: Execute /(\.(?!com|org)|\/)/.test("ah.com") and check results ---*/ -__executed = /(\.(?!com|org)|\/)/.test("ah.com"); +var __executed = /(\.(?!com|org)|\/)/.test("ah.com"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.8_A2_T9.js b/test/built-ins/RegExp/S15.10.2.8_A2_T9.js index 72d7d76ef7..78bc15c589 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A2_T9.js +++ b/test/built-ins/RegExp/S15.10.2.8_A2_T9.js @@ -10,9 +10,9 @@ es5id: 15.10.2.8_A2_T9 description: Execute /(?!a|b)|c/.exec("") and check results ---*/ -__executed = /(?!a|b)|c/.exec(""); +var __executed = /(?!a|b)|c/.exec(""); -__expected = [""]; +var __expected = [""]; __expected.index = 0; __expected.input = ""; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T1.js b/test/built-ins/RegExp/S15.10.2.8_A3_T1.js index 97a9942f9b..0e7cd04217 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T1.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T1.js @@ -13,9 +13,9 @@ description: > javaScript is funny, really") and check results ---*/ -__executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Learning javaScript is funny, really"); +var __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Learning javaScript is funny, really"); -__expected = ["javaScript is funny","javaScript","Script","funny"]; +var __expected = ["javaScript is funny","javaScript","Script","funny"]; __expected.index = 9; __expected.input = "Learning javaScript is funny, really"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T10.js b/test/built-ins/RegExp/S15.10.2.8_A3_T10.js index 7d0642d207..01d8679951 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T10.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T10.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T10 description: Execute /(\d{3})(\d{3})\1\2/.exec("123456123456") and check results ---*/ -__executed = /(\d{3})(\d{3})\1\2/.exec("123456123456"); +var __executed = /(\d{3})(\d{3})\1\2/.exec("123456123456"); -__expected = ["123456123456","123","456"]; +var __expected = ["123456123456","123","456"]; __expected.index = 0; __expected.input = "123456123456"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T11.js b/test/built-ins/RegExp/S15.10.2.8_A3_T11.js index 44f8e655ae..c51952d241 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T11.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T11.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T11 description: Execute /a(..(..)..)/.exec("abcdefgh") and check results ---*/ -__executed = /a(..(..)..)/.exec("abcdefgh"); +var __executed = /a(..(..)..)/.exec("abcdefgh"); -__expected = ["abcdefg","bcdefg","de"]; +var __expected = ["abcdefg","bcdefg","de"]; __expected.index = 0; __expected.input = "abcdefgh"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T12.js b/test/built-ins/RegExp/S15.10.2.8_A3_T12.js index cefb40f490..ae27fd8235 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T12.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T12.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T12 description: Execute /(a(b(c)))(d(e(f)))/.exec("xabcdefg") and check results ---*/ -__executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); +var __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); -__expected = ["abcdef","abc","bc","c","def","ef","f"]; +var __expected = ["abcdef","abc","bc","c","def","ef","f"]; __expected.index = 1; __expected.input = "xabcdefg"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T13.js b/test/built-ins/RegExp/S15.10.2.8_A3_T13.js index b3e10f2dc2..5f2f371529 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T13.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T13.js @@ -13,9 +13,9 @@ description: > results ---*/ -__executed = /(a(b(c)))(d(e(f)))\2\5/.exec("xabcdefbcefg"); +var __executed = /(a(b(c)))(d(e(f)))\2\5/.exec("xabcdefbcefg"); -__expected = ["abcdefbcef","abc","bc","c","def","ef","f"]; +var __expected = ["abcdefbcef","abc","bc","c","def","ef","f"]; __expected.index = 1; __expected.input = "xabcdefbcefg"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T14.js b/test/built-ins/RegExp/S15.10.2.8_A3_T14.js index a784be96de..ffe772c1e4 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T14.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T14.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T14 description: Execute /a(.?)b\1c\1d\1/.exec("abcd") and check results ---*/ -__executed = /a(.?)b\1c\1d\1/.exec("abcd"); +var __executed = /a(.?)b\1c\1d\1/.exec("abcd"); -__expected = ["abcd",""]; +var __expected = ["abcd",""]; __expected.index = 0; __expected.input = "abcd"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T15.js b/test/built-ins/RegExp/S15.10.2.8_A3_T15.js index 32e87a6011..5a78f61799 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T15.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T15.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T15 description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909" ---*/ -__strOriginal = "hello"; -__openParen = '('; -__closeParen = ')'; -__pattern = ''; - numParens = 200; +var __strOriginal = "hello"; +var __openParen = '('; +var __closeParen = ')'; +var __pattern = ''; +var numParens = 200; for (var i=0; i<numParens; i++) __pattern += __openParen; @@ -25,11 +25,11 @@ __pattern += __strOriginal; for (i=0; i<numParens; i++) __pattern += __closeParen; -__re = new RegExp(__pattern); +var __re = new RegExp(__pattern); -__executed = __re.exec(__strOriginal); +var __executed = __re.exec(__strOriginal); -__expected = []; +var __expected = []; for (var i=0; i<=numParens; i++) __expected.push(__strOriginal); __expected.index = 0; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T16.js b/test/built-ins/RegExp/S15.10.2.8_A3_T16.js index bb1be79519..7b6b8c426b 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T16.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T16.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T16 description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909" ---*/ -__strOriginal = "hello"; -__openParen = '(?:'; -__closeParen = ')'; -__pattern = ''; - numParens = 200; +var __strOriginal = "hello"; +var __openParen = '(?:'; +var __closeParen = ')'; +var __pattern = ''; +var numParens = 200; for (var i=0; i<numParens; i++) __pattern += __openParen; @@ -25,11 +25,11 @@ __pattern += __strOriginal; for (i=0; i<numParens; i++) __pattern += __closeParen; -__re = new RegExp(__pattern); +var __re = new RegExp(__pattern); -__executed = __re.exec(__strOriginal); +var __executed = __re.exec(__strOriginal); -__expected = [__strOriginal]; +var __expected = [__strOriginal]; __expected.index = 0; __expected.input = __strOriginal; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T17.js b/test/built-ins/RegExp/S15.10.2.8_A3_T17.js index 3774a1f805..6c0fb6d742 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T17.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T17.js @@ -11,20 +11,20 @@ es5id: 15.10.2.8_A3_T17 description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169497" ---*/ -__body=""; +var __body=""; __body += '<body onXXX="alert(event.type);">\n'; __body += '<p>Kibology for all<\/p>\n'; __body += '<p>All for Kibology<\/p>\n'; __body += '<\/body>'; -__html=""; +var __html=""; __html += '<html>\n'; __html += __body; __html += '\n<\/html>'; -__executed = /<body.*>((.*\n?)*?)<\/body>/i.exec(__html); +var __executed = /<body.*>((.*\n?)*?)<\/body>/i.exec(__html); -__expected = [__body, '\n<p>Kibology for all</p>\n<p>All for Kibology</p>\n', '<p>All for Kibology</p>\n']; +var __expected = [__body, '\n<p>Kibology for all</p>\n<p>All for Kibology</p>\n', '<p>All for Kibology</p>\n']; __expected.index = 7; __expected.input = __html; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T18.js b/test/built-ins/RegExp/S15.10.2.8_A3_T18.js index 2d272f686c..da81189d91 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T18.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T18.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T18 description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169534" ---*/ -__replaced = "To sign up click |here|https:www.xxxx.org/subscribe.htm|".replace(/(\|)([\w\x81-\xff ]*)(\|)([\/a-z][\w:\/\.]*\.[a-z]{3,4})(\|)/ig, '<a href="$4">$2</a>'); +var __replaced = "To sign up click |here|https:www.xxxx.org/subscribe.htm|".replace(/(\|)([\w\x81-\xff ]*)(\|)([\/a-z][\w:\/\.]*\.[a-z]{3,4})(\|)/ig, '<a href="$4">$2</a>'); -__expected = 'To sign up click <a href="https:www.xxxx.org/subscribe.htm">here</a>'; +var __expected = 'To sign up click <a href="https:www.xxxx.org/subscribe.htm">here</a>'; //CHECK#1 if (__replaced !== __expected) { diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T19.js b/test/built-ins/RegExp/S15.10.2.8_A3_T19.js index 65aece70fd..8d759d8aa7 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T19.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T19.js @@ -13,9 +13,9 @@ description: > \t]*[\S]+/.exec("Course_Creator = Test") and check results ---*/ -__executed = /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/.exec("Course_Creator = Test"); +var __executed = /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/.exec("Course_Creator = Test"); -__expected = ["Course_Creator = Test","Course_Creator",undefined]; +var __expected = ["Course_Creator = Test","Course_Creator",undefined]; __expected.index = 0; __expected.input = "Course_Creator = Test"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T2.js b/test/built-ins/RegExp/S15.10.2.8_A3_T2.js index 1e3abe738f..fadda8343b 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T2.js @@ -13,9 +13,9 @@ description: > with Java is fun, try it") and check results ---*/ -__executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Developing with Java is fun, try it"); +var __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Developing with Java is fun, try it"); -__expected = ["Java is fun","Java",undefined,"fun"]; +var __expected = ["Java is fun","Java",undefined,"fun"]; __expected.index = 16; __expected.input = "Developing with Java is fun, try it"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T20.js b/test/built-ins/RegExp/S15.10.2.8_A3_T20.js index 75c1d0934d..a6aed33d82 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T20.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T20.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T20 description: Execute /^(A)?(A.*)$/.exec("AAA") and check results ---*/ -__executed = /^(A)?(A.*)$/.exec("AAA"); +var __executed = /^(A)?(A.*)$/.exec("AAA"); -__expected = ["AAA","A","AA"]; +var __expected = ["AAA","A","AA"]; __expected.index = 0; __expected.input = "AAA"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T21.js b/test/built-ins/RegExp/S15.10.2.8_A3_T21.js index 3458e60a11..3e50bc98a9 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T21.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T21.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T21 description: Execute /^(A)?(A.*)$/.exec("AA") and check results ---*/ -__executed = /^(A)?(A.*)$/.exec("AA"); +var __executed = /^(A)?(A.*)$/.exec("AA"); -__expected = ["AA","A","A"]; +var __expected = ["AA","A","A"]; __expected.index = 0; __expected.input = "AA"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T22.js b/test/built-ins/RegExp/S15.10.2.8_A3_T22.js index ba2b351ba7..890063b011 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T22.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T22.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T22 description: Execute /^(A)?(A.*)$/.exec("A") and check results ---*/ -__executed = /^(A)?(A.*)$/.exec("A"); +var __executed = /^(A)?(A.*)$/.exec("A"); -__expected = ["A",undefined,"A"]; +var __expected = ["A",undefined,"A"]; __expected.index = 0; __expected.input = "A"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T23.js b/test/built-ins/RegExp/S15.10.2.8_A3_T23.js index a3ca149c1a..47634d5f67 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T23.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T23.js @@ -13,11 +13,11 @@ description: > check results ---*/ -__string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; +var __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; -__executed = /(A)?(A.*)/.exec(__string); +var __executed = /(A)?(A.*)/.exec(__string); -__expected = ["AAAaaAAaaaf;lrlrzs","A","AAaaAAaaaf;lrlrzs"]; +var __expected = ["AAAaaAAaaaf;lrlrzs","A","AAaaAAaaaf;lrlrzs"]; __expected.index = 13; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T24.js b/test/built-ins/RegExp/S15.10.2.8_A3_T24.js index bd6e615b14..a0a5e3a560 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T24.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T24.js @@ -13,11 +13,11 @@ description: > check results ---*/ -__string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; +var __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; -__executed = /(A)?(A.*)/.exec(__string); +var __executed = /(A)?(A.*)/.exec(__string); -__expected = ["AAaaAAaaaf;lrlrzs","A","AaaAAaaaf;lrlrzs"]; +var __expected = ["AAaaAAaaaf;lrlrzs","A","AaaAAaaaf;lrlrzs"]; __expected.index = 13; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T25.js b/test/built-ins/RegExp/S15.10.2.8_A3_T25.js index aacb911e62..dfad39047e 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T25.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T25.js @@ -13,11 +13,11 @@ description: > check results ---*/ -__string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; +var __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; -__executed = /(A)?(A.*)/.exec(__string); +var __executed = /(A)?(A.*)/.exec(__string); -__expected = ["AaaAAaaaf;lrlrzs",undefined,"AaaAAaaaf;lrlrzs"]; +var __expected = ["AaaAAaaaf;lrlrzs",undefined,"AaaAAaaaf;lrlrzs"]; __expected.index = 13; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T26.js b/test/built-ins/RegExp/S15.10.2.8_A3_T26.js index ae21a62124..80bc535803 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T26.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T26.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T26 description: Execute /(a)?a/.exec("a") and check results ---*/ -__string = "a"; +var __string = "a"; -__executed = /(a)?a/.exec(__string); +var __executed = /(a)?a/.exec(__string); -__expected = ["a",undefined]; +var __expected = ["a",undefined]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T27.js b/test/built-ins/RegExp/S15.10.2.8_A3_T27.js index 5d1e4c56b9..233f139487 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T27.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T27.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T27 description: Execute /a|(b)/.exec("a") and check results ---*/ -__string = "a"; +var __string = "a"; -__executed = /a|(b)/.exec(__string); +var __executed = /a|(b)/.exec(__string); -__expected = ["a",undefined]; +var __expected = ["a",undefined]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T28.js b/test/built-ins/RegExp/S15.10.2.8_A3_T28.js index d9e5ec1be8..e2ac588e1f 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T28.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T28.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T28 description: Execute /(a)?(a)/.exec("a") and check results ---*/ -__string = "a"; +var __string = "a"; -__executed = /(a)?(a)/.exec(__string); +var __executed = /(a)?(a)/.exec(__string); -__expected = ['a', undefined, 'a']; +var __expected = ['a', undefined, 'a']; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T29.js b/test/built-ins/RegExp/S15.10.2.8_A3_T29.js index 85d4bf0aa6..042cbd2e2a 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T29.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T29.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T29 description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" ---*/ -__string = "a"; +var __string = "a"; -__executed = /^([a-z]+)*[a-z]$/.exec(__string); +var __executed = /^([a-z]+)*[a-z]$/.exec(__string); -__expected = ['a', undefined]; +var __expected = ['a', undefined]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T3.js b/test/built-ins/RegExp/S15.10.2.8_A3_T3.js index 216ddcb3b3..fe5bd1cc52 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T3.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T3.js @@ -14,7 +14,7 @@ description: > and check results ---*/ -__executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance"); +var __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T30.js b/test/built-ins/RegExp/S15.10.2.8_A3_T30.js index 0baaa0fd2d..969431213f 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T30.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T30.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T30 description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" ---*/ -__string = "ab"; +var __string = "ab"; -__executed = /^([a-z]+)*[a-z]$/.exec(__string); +var __executed = /^([a-z]+)*[a-z]$/.exec(__string); -__expected = ['ab', "a"]; +var __expected = ['ab', "a"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T31.js b/test/built-ins/RegExp/S15.10.2.8_A3_T31.js index ac3c2fa85e..5d6167131c 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T31.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T31.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T31 description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" ---*/ -__string = "abc"; +var __string = "abc"; -__executed = /^([a-z]+)*[a-z]$/.exec(__string); +var __executed = /^([a-z]+)*[a-z]$/.exec(__string); -__expected = ['abc', "ab"]; +var __expected = ['abc', "ab"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T32.js b/test/built-ins/RegExp/S15.10.2.8_A3_T32.js index f41ca50dbd..697749492d 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T32.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T32.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T32 description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" ---*/ -__string = "www.netscape.com"; +var __string = "www.netscape.com"; -__executed = /^(([a-z]+)*[a-z]\.)+[a-z]{2,}$/.exec(__string); +var __executed = /^(([a-z]+)*[a-z]\.)+[a-z]{2,}$/.exec(__string); -__expected = ['www.netscape.com', 'netscape.', 'netscap']; +var __expected = ['www.netscape.com', 'netscape.', 'netscap']; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T33.js b/test/built-ins/RegExp/S15.10.2.8_A3_T33.js index 0dca05a041..e6cca080e5 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T33.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T33.js @@ -11,11 +11,11 @@ es5id: 15.10.2.8_A3_T33 description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" ---*/ -__string = "www.netscape.com"; +var __string = "www.netscape.com"; -__executed = /^(([a-z]+)*([a-z])\.)+[a-z]{2,}$/.exec(__string); +var __executed = /^(([a-z]+)*([a-z])\.)+[a-z]{2,}$/.exec(__string); -__expected = ['www.netscape.com', 'netscape.', 'netscap', 'e']; +var __expected = ['www.netscape.com', 'netscape.', 'netscap', 'e']; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T4.js b/test/built-ins/RegExp/S15.10.2.8_A3_T4.js index d9405aac10..4b341beea4 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T4.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T4.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T4 description: Execute /(abc)/.exec("abc") and check results ---*/ -__executed = /(abc)/.exec("abc"); +var __executed = /(abc)/.exec("abc"); -__expected = ["abc","abc"]; +var __expected = ["abc","abc"]; __expected.index = 0; __expected.input = "abc"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T5.js b/test/built-ins/RegExp/S15.10.2.8_A3_T5.js index 1089e3d1b7..3dd2982cd3 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T5.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T5.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T5 description: Execute /a(bc)d(ef)g/.exec("abcdefg") and check results ---*/ -__executed = /a(bc)d(ef)g/.exec("abcdefg"); +var __executed = /a(bc)d(ef)g/.exec("abcdefg"); -__expected = ["abcdefg","bc","ef"]; +var __expected = ["abcdefg","bc","ef"]; __expected.index = 0; __expected.input = "abcdefg"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T6.js b/test/built-ins/RegExp/S15.10.2.8_A3_T6.js index 34cb99fdd2..0b960fa28b 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T6.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T6.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T6 description: Execute /(.{3})(.{4})/.exec("abcdefgh") and check results ---*/ -__executed = /(.{3})(.{4})/.exec("abcdefgh"); +var __executed = /(.{3})(.{4})/.exec("abcdefgh"); -__expected = ["abcdefg","abc","defg"]; +var __expected = ["abcdefg","abc","defg"]; __expected.index = 0; __expected.input = "abcdefgh"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T7.js b/test/built-ins/RegExp/S15.10.2.8_A3_T7.js index dfc4137148..8dda41649d 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T7.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T7.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T7 description: Execute /(aa)bcd\1/.exec("aabcdaabcd") and check results ---*/ -__executed = /(aa)bcd\1/.exec("aabcdaabcd"); +var __executed = /(aa)bcd\1/.exec("aabcdaabcd"); -__expected = ["aabcdaa","aa"]; +var __expected = ["aabcdaa","aa"]; __expected.index = 0; __expected.input = "aabcdaabcd"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T8.js b/test/built-ins/RegExp/S15.10.2.8_A3_T8.js index 97e83d4c4f..b1abdd0e67 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T8.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T8.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T8 description: Execute /(aa).+\1/.exec("aabcdaabcd") and check results ---*/ -__executed = /(aa).+\1/.exec("aabcdaabcd"); +var __executed = /(aa).+\1/.exec("aabcdaabcd"); -__expected = ["aabcdaa","aa"]; +var __expected = ["aabcdaa","aa"]; __expected.index = 0; __expected.input = "aabcdaabcd"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A3_T9.js b/test/built-ins/RegExp/S15.10.2.8_A3_T9.js index c30bc57398..ec2ccba3f5 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A3_T9.js +++ b/test/built-ins/RegExp/S15.10.2.8_A3_T9.js @@ -11,9 +11,9 @@ es5id: 15.10.2.8_A3_T9 description: Execute /(.{2}).+\1/.exec("aabcdaabcd") and check results ---*/ -__executed = /(.{2}).+\1/.exec("aabcdaabcd"); +var __executed = /(.{2}).+\1/.exec("aabcdaabcd"); -__expected = ["aabcdaa","aa"]; +var __expected = ["aabcdaa","aa"]; __expected.index = 0; __expected.input = "aabcdaabcd"; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T1.js b/test/built-ins/RegExp/S15.10.2.8_A4_T1.js index 09328ff646..2899208ff4 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T1.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T1.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T1 description: Execute /ab.de/.exec("abcde") and check results ---*/ -__string = "abcde"; -__executed = /ab.de/.exec(__string); +var __string = "abcde"; +var __executed = /ab.de/.exec(__string); -__expected = ["abcde"]; +var __expected = ["abcde"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T2.js b/test/built-ins/RegExp/S15.10.2.8_A4_T2.js index e3e8fd60dc..8cdb6ce211 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T2.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T2.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T2 description: Execute /.+/.exec("line 1\nline 2") and check results ---*/ -__string = "line 1\nline 2"; -__executed = /.+/.exec(__string); +var __string = "line 1\nline 2"; +var __executed = /.+/.exec(__string); -__expected = ["line 1"]; +var __expected = ["line 1"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T3.js b/test/built-ins/RegExp/S15.10.2.8_A4_T3.js index 59f9eb3b6d..82a6cafc60 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T3.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T3.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T3 description: Execute /.*a.* /.exec("this is a test") and check results ---*/ -__string = "this is a test"; -__executed = /.*a.*/.exec(__string); +var __string = "this is a test"; +var __executed = /.*a.*/.exec(__string); -__expected = ["this is a test"]; +var __expected = ["this is a test"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T4.js b/test/built-ins/RegExp/S15.10.2.8_A4_T4.js index bbb6bf6132..91bcb97e8b 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T4.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T4.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T4 description: Execute /.+/.exec("this is a *&^%$# test") and check results ---*/ -__string = "this is a *&^%$# test"; -__executed = /.+/.exec(__string); +var __string = "this is a *&^%$# test"; +var __executed = /.+/.exec(__string); -__expected = ["this is a *&^%$# test"]; +var __expected = ["this is a *&^%$# test"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T5.js b/test/built-ins/RegExp/S15.10.2.8_A4_T5.js index 33e6611680..5654818608 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T5.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T5.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T5 description: Execute /.+/.exec("....") and check results ---*/ -__string = "...."; -__executed = /.+/.exec(__string); +var __string = "...."; +var __executed = /.+/.exec(__string); -__expected = ["...."]; +var __expected = ["...."]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T6.js b/test/built-ins/RegExp/S15.10.2.8_A4_T6.js index 739724aa56..3cd1cb23a4 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T6.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T6.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T6 description: Execute /.+/.exec("abcdefghijklmnopqrstuvwxyz") and check results ---*/ -__string = "abcdefghijklmnopqrstuvwxyz"; -__executed = /.+/.exec(__string); +var __string = "abcdefghijklmnopqrstuvwxyz"; +var __executed = /.+/.exec(__string); -__expected = ["abcdefghijklmnopqrstuvwxyz"]; +var __expected = ["abcdefghijklmnopqrstuvwxyz"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T7.js b/test/built-ins/RegExp/S15.10.2.8_A4_T7.js index 569080ffdc..6898f4d5fa 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T7.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T7.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T7 description: Execute /.+/.exec("ABCDEFGHIJKLMNOPQRSTUVWXYZ") and check results ---*/ -__string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; -__executed = /.+/.exec(__string); +var __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; +var __executed = /.+/.exec(__string); -__expected = ["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]; +var __expected = ["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T8.js b/test/built-ins/RegExp/S15.10.2.8_A4_T8.js index 3f7ab99a20..9d97e72448 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T8.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T8.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T8 description: Execute /.+/.exec("`1234567890-=~!@#$%^&*()_+") and check results ---*/ -__string = "`1234567890-=~!@#$%^&*()_+"; -__executed = /.+/.exec(__string); +var __string = "`1234567890-=~!@#$%^&*()_+"; +var __executed = /.+/.exec(__string); -__expected = ["`1234567890-=~!@#$%^&*()_+"]; +var __expected = ["`1234567890-=~!@#$%^&*()_+"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A4_T9.js b/test/built-ins/RegExp/S15.10.2.8_A4_T9.js index 8b9071576b..c2dcb62883 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A4_T9.js +++ b/test/built-ins/RegExp/S15.10.2.8_A4_T9.js @@ -10,10 +10,10 @@ es5id: 15.10.2.8_A4_T9 description: "Execute /.+/.exec(\"|\\\\[{]};:\\\"\\',<>.?/\") and check results" ---*/ -__string = "|\\[{]};:\"\',<>.?/"; -__executed = /.+/.exec(__string); +var __string = "|\\[{]};:\"\',<>.?/"; +var __executed = /.+/.exec(__string); -__expected = ["|\\[{]};:\"\',<>.?/"]; +var __expected = ["|\\[{]};:\"\',<>.?/"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A5_T1.js b/test/built-ins/RegExp/S15.10.2.8_A5_T1.js index ef2dfda9f4..68b244e72e 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A5_T1.js +++ b/test/built-ins/RegExp/S15.10.2.8_A5_T1.js @@ -9,10 +9,10 @@ es5id: 15.10.2.8_A5_T1 description: Execute /[a-z]+/ig.exec("ABC def ghi") and check results ---*/ -__string = "ABC def ghi"; -__executed = /[a-z]+/ig.exec(__string); +var __string = "ABC def ghi"; +var __executed = /[a-z]+/ig.exec(__string); -__expected = ["ABC"]; +var __expected = ["ABC"]; __expected.index = 0; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.8_A5_T2.js b/test/built-ins/RegExp/S15.10.2.8_A5_T2.js index ffcca31e8f..cc7e9c3b8b 100644 --- a/test/built-ins/RegExp/S15.10.2.8_A5_T2.js +++ b/test/built-ins/RegExp/S15.10.2.8_A5_T2.js @@ -9,10 +9,10 @@ es5id: 15.10.2.8_A5_T2 description: Execute /[a-z]+/.exec("ABC def ghi") and check results ---*/ -__string = "ABC def ghi"; -__executed = /[a-z]+/.exec(__string); +var __string = "ABC def ghi"; +var __executed = /[a-z]+/.exec(__string); -__expected = ["def"]; +var __expected = ["def"]; __expected.index = 4; __expected.input = __string; diff --git a/test/built-ins/RegExp/S15.10.2.9_A1_T1.js b/test/built-ins/RegExp/S15.10.2.9_A1_T1.js index d2e2de9a9f..38c0187c98 100644 --- a/test/built-ins/RegExp/S15.10.2.9_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.9_A1_T1.js @@ -12,9 +12,9 @@ description: > check results ---*/ -__executed = /\b(\w+) \1\b/.exec("do you listen the the band"); +var __executed = /\b(\w+) \1\b/.exec("do you listen the the band"); -__expected = ["the the", "the"]; +var __expected = ["the the", "the"]; __expected.index = 14; __expected.input = "do you listen the the band"; diff --git a/test/built-ins/RegExp/S15.10.2.9_A1_T2.js b/test/built-ins/RegExp/S15.10.2.9_A1_T2.js index 4469f13cfc..de057dd2a3 100644 --- a/test/built-ins/RegExp/S15.10.2.9_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.2.9_A1_T2.js @@ -13,9 +13,9 @@ description: > and check results ---*/ -__executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); +var __executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); -__expected = ["x01x01", "x01", undefined]; +var __expected = ["x01x01", "x01", undefined]; __expected.index = 6; __expected.input = "x09x12x01x01u00FFu00FFx04x04x23"; diff --git a/test/built-ins/RegExp/S15.10.2.9_A1_T3.js b/test/built-ins/RegExp/S15.10.2.9_A1_T3.js index 9cdc9bef24..9a0bc98680 100644 --- a/test/built-ins/RegExp/S15.10.2.9_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.2.9_A1_T3.js @@ -13,9 +13,9 @@ description: > and check results ---*/ -__executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); +var __executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); -__expected = ["u00FFu00FF", "u00FF", "FF"]; +var __expected = ["u00FFu00FF", "u00FF", "FF"]; __expected.index = 12; __expected.input = "x09x12x01x05u00FFu00FFx04x04x23"; diff --git a/test/built-ins/RegExp/S15.10.2.9_A1_T4.js b/test/built-ins/RegExp/S15.10.2.9_A1_T4.js index 0dfaf8ec32..fe7edd337b 100644 --- a/test/built-ins/RegExp/S15.10.2.9_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.2.9_A1_T4.js @@ -12,7 +12,7 @@ description: > check results ---*/ -__executed = /\b(\w+) \2\b/.test("do you listen the the band"); +var __executed = /\b(\w+) \2\b/.test("do you listen the the band"); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/S15.10.2.9_A1_T5.js b/test/built-ins/RegExp/S15.10.2.9_A1_T5.js index 517cefe63a..2d0447532f 100644 --- a/test/built-ins/RegExp/S15.10.2.9_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.2.9_A1_T5.js @@ -10,9 +10,9 @@ es5id: 15.10.2.9_A1_T5 description: Execute /(a*)b\1+/.exec("baaac") and check results ---*/ -__executed = /(a*)b\1+/.exec("baaac"); +var __executed = /(a*)b\1+/.exec("baaac"); -__expected = ["b", ""]; +var __expected = ["b", ""]; __expected.index = 0; __expected.input = "baaac"; diff --git a/test/built-ins/RegExp/S15.10.2_A1_T1.js b/test/built-ins/RegExp/S15.10.2_A1_T1.js index 1d40d2b62e..b2a8708926 100644 --- a/test/built-ins/RegExp/S15.10.2_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2_A1_T1.js @@ -16,41 +16,41 @@ description: "See bug http://bugzilla.mozilla.org/show_bug.cgi?id=103087" // this copyright and citation notice remains intact and that modifications // or additions are clearly identified. -TextSE = "[^<]+"; -UntilHyphen = "[^-]*-"; -Until2Hyphens = UntilHyphen + "([^-]" + UntilHyphen + ")*-"; -CommentCE = Until2Hyphens + ">?"; -UntilRSBs = "[^]]*]([^]]+])*]+"; -CDATA_CE = UntilRSBs + "([^]>]" + UntilRSBs + ")*>"; -S = "[ \\n\\t\\r]+"; -NameStrt = "[A-Za-z_:]|[^\\x00-\\x7F]"; -NameChar = "[A-Za-z0-9_:.-]|[^\\x00-\\x7F]"; -Name = "(" + NameStrt + ")(" + NameChar + ")*"; -QuoteSE = '"[^"]' + "*" + '"' + "|'[^']*'"; -DT_IdentSE = S + Name + "(" + S + "(" + Name + "|" + QuoteSE + "))*"; -MarkupDeclCE = "([^]\"'><]+|" + QuoteSE + ")*>"; -S1 = "[\\n\\r\\t ]"; -UntilQMs = "[^?]*\\?+"; -PI_Tail = "\\?>|" + S1 + UntilQMs + "([^>?]" + UntilQMs + ")*>"; -DT_ItemSE = "<(!(--" + Until2Hyphens + ">|[^-]" + MarkupDeclCE + ")|\\?" + Name + "(" + PI_Tail + "))|%" + Name + ";|" + S; -DocTypeCE = DT_IdentSE + "(" + S + ")?(\\[(" + DT_ItemSE + ")*](" + S + ")?)?>?"; -DeclCE = "--(" + CommentCE + ")?|\\[CDATA\\[(" + CDATA_CE + ")?|DOCTYPE(" + DocTypeCE + ")?"; -PI_CE = Name + "(" + PI_Tail + ")?"; -EndTagCE = Name + "(" + S + ")?>?"; -AttValSE = '"[^<"]' + "*" + '"' + "|'[^<']*'"; -ElemTagCE = Name + "(" + S + Name + "(" + S + ")?=(" + S + ")?(" + AttValSE + "))*(" + S + ")?/?>?"; -MarkupSPE = "<(!(" + DeclCE + ")?|\\?(" + PI_CE + ")?|/(" + EndTagCE + ")?|(" + ElemTagCE + ")?)"; -XML_SPE = TextSE + "|" + MarkupSPE; +var TextSE = "[^<]+"; +var UntilHyphen = "[^-]*-"; +var Until2Hyphens = UntilHyphen + "([^-]" + UntilHyphen + ")*-"; +var CommentCE = Until2Hyphens + ">?"; +var UntilRSBs = "[^]]*]([^]]+])*]+"; +var CDATA_CE = UntilRSBs + "([^]>]" + UntilRSBs + ")*>"; +var S = "[ \\n\\t\\r]+"; +var NameStrt = "[A-Za-z_:]|[^\\x00-\\x7F]"; +var NameChar = "[A-Za-z0-9_:.-]|[^\\x00-\\x7F]"; +var Name = "(" + NameStrt + ")(" + NameChar + ")*"; +var QuoteSE = '"[^"]' + "*" + '"' + "|'[^']*'"; +var DT_IdentSE = S + Name + "(" + S + "(" + Name + "|" + QuoteSE + "))*"; +var MarkupDeclCE = "([^]\"'><]+|" + QuoteSE + ")*>"; +var S1 = "[\\n\\r\\t ]"; +var UntilQMs = "[^?]*\\?+"; +var PI_Tail = "\\?>|" + S1 + UntilQMs + "([^>?]" + UntilQMs + ")*>"; +var DT_ItemSE = "<(!(--" + Until2Hyphens + ">|[^-]" + MarkupDeclCE + ")|\\?" + Name + "(" + PI_Tail + "))|%" + Name + ";|" + S; +var DocTypeCE = DT_IdentSE + "(" + S + ")?(\\[(" + DT_ItemSE + ")*](" + S + ")?)?>?"; +var DeclCE = "--(" + CommentCE + ")?|\\[CDATA\\[(" + CDATA_CE + ")?|DOCTYPE(" + DocTypeCE + ")?"; +var PI_CE = Name + "(" + PI_Tail + ")?"; +var EndTagCE = Name + "(" + S + ")?>?"; +var AttValSE = '"[^<"]' + "*" + '"' + "|'[^<']*'"; +var ElemTagCE = Name + "(" + S + Name + "(" + S + ")?=(" + S + ")?(" + AttValSE + "))*(" + S + ")?/?>?"; +var MarkupSPE = "<(!(" + DeclCE + ")?|\\?(" + PI_CE + ")?|/(" + EndTagCE + ")?|(" + ElemTagCE + ")?)"; +var XML_SPE = TextSE + "|" + MarkupSPE; /// //// ///// -__patterns = [TextSE,UntilHyphen,Until2Hyphens,CommentCE,UntilRSBs,CDATA_CE,S,NameStrt, NameChar, +var __patterns = [TextSE,UntilHyphen,Until2Hyphens,CommentCE,UntilRSBs,CDATA_CE,S,NameStrt, NameChar, Name, QuoteSE, DT_IdentSE, MarkupDeclCE, S1,UntilQMs, PI_Tail, DT_ItemSE, DocTypeCE, DeclCE, PI_CE, EndTagCE, AttValSE, ElemTagCE, MarkupSPE, XML_SPE]; -__html=""+ +var __html=""+ '<html xmlns="http://www.w3.org/1999/xhtml"\n' + ' xmlns:xlink="http://www.w3.org/XML/XLink/0.9">\n' + ' <head><title>Three Namespaces</title></head>\n' + @@ -76,7 +76,7 @@ __html=""+ //CHECK#1 try { for(var index=0; index<__patterns.length; index++) { - __re = new RegExp(__patterns[index]); + var __re = new RegExp(__patterns[index]); __re.test(__html); } } catch (e) { diff --git a/test/built-ins/RegExp/S15.10.3.1_A1_T1.js b/test/built-ins/RegExp/S15.10.3.1_A1_T1.js index 1147f515fa..6d4755375e 100644 --- a/test/built-ins/RegExp/S15.10.3.1_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.3.1_A1_T1.js @@ -9,8 +9,8 @@ es5id: 15.10.3.1_A1_T1 description: R is /x/i and instance is RegExp(R) ---*/ -__re = /x/i; -__instance = RegExp(__re); +var __re = /x/i; +var __instance = RegExp(__re); __re.indicator = 1; //CHECK#1 diff --git a/test/built-ins/RegExp/S15.10.3.1_A1_T2.js b/test/built-ins/RegExp/S15.10.3.1_A1_T2.js index a04a724624..4b65444bbf 100644 --- a/test/built-ins/RegExp/S15.10.3.1_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.3.1_A1_T2.js @@ -9,8 +9,8 @@ es5id: 15.10.3.1_A1_T2 description: R is new RegExp and instance is RegExp(R, function(){}()) ---*/ -__re = new RegExp; -__instance = RegExp(__re, function(){}()); +var __re = new RegExp; +var __instance = RegExp(__re, function(){}()); __re.indicator = 1; //CHECK#1 diff --git a/test/built-ins/RegExp/S15.10.3.1_A1_T3.js b/test/built-ins/RegExp/S15.10.3.1_A1_T3.js index e5251131e6..6c28bd4bda 100644 --- a/test/built-ins/RegExp/S15.10.3.1_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.3.1_A1_T3.js @@ -11,8 +11,8 @@ description: > undefined variable ---*/ -__re = new RegExp(); -__instance = RegExp(__re, x); +var __re = new RegExp(); +var __instance = RegExp(__re, x); __re.indicator = 1; //CHECK#1 diff --git a/test/built-ins/RegExp/S15.10.3.1_A1_T4.js b/test/built-ins/RegExp/S15.10.3.1_A1_T4.js index b7673072d2..af4b3824be 100644 --- a/test/built-ins/RegExp/S15.10.3.1_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.3.1_A1_T4.js @@ -9,8 +9,8 @@ es5id: 15.10.3.1_A1_T4 description: R is new RegExp() and instance is RegExp(R, void 0) ---*/ -__re = RegExp(); -__instance = RegExp(__re, void 0); +var __re = RegExp(); +var __instance = RegExp(__re, void 0); __re.indicator = 1; //CHECK#1 diff --git a/test/built-ins/RegExp/S15.10.3.1_A1_T5.js b/test/built-ins/RegExp/S15.10.3.1_A1_T5.js index 7935c75595..d6de0a1aa2 100644 --- a/test/built-ins/RegExp/S15.10.3.1_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.3.1_A1_T5.js @@ -9,8 +9,8 @@ es5id: 15.10.3.1_A1_T5 description: R is /\b/m and instance is RegExp(R, undefined) ---*/ -__re = /\b/m; -__instance = RegExp(__re, undefined); +var __re = /\b/m; +var __instance = RegExp(__re, undefined); __re.indicator = 1; //CHECK#1 diff --git a/test/built-ins/RegExp/S15.10.3.1_A3_T1.js b/test/built-ins/RegExp/S15.10.3.1_A3_T1.js index be42524e2a..f2d31483bc 100644 --- a/test/built-ins/RegExp/S15.10.3.1_A3_T1.js +++ b/test/built-ins/RegExp/S15.10.3.1_A3_T1.js @@ -9,8 +9,8 @@ es5id: 15.10.3.1_A3_T1 description: R is "d+" and instance is RegExp(R,"i") ---*/ -__re = "d+"; -__instance = RegExp(__re, "i"); +var __re = "d+"; +var __instance = RegExp(__re, "i"); //CHECK#1 if (__instance.constructor !== RegExp) { diff --git a/test/built-ins/RegExp/S15.10.3.1_A3_T2.js b/test/built-ins/RegExp/S15.10.3.1_A3_T2.js index 52a34a2664..723da4251b 100644 --- a/test/built-ins/RegExp/S15.10.3.1_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.3.1_A3_T2.js @@ -11,7 +11,7 @@ description: > RegExp(R,"gm") ---*/ -__instance = RegExp({toString:function(){return "[a-c]*";}}, "gm"); +var __instance = RegExp({toString:function(){return "[a-c]*";}}, "gm"); //CHECK#1 if (__instance.constructor !== RegExp) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A1_T1.js b/test/built-ins/RegExp/S15.10.4.1_A1_T1.js index c1dc806220..a037392111 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.4.1_A1_T1.js @@ -9,8 +9,8 @@ es5id: 15.10.4.1_A1_T1 description: Pattern is /./i and RegExp is new RegExp(pattern) ---*/ -__pattern = /./i; -__re = new RegExp(__pattern); +var __pattern = /./i; +var __re = new RegExp(__pattern); //CHECK#1 if (__re.source !== __pattern.source) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A1_T2.js b/test/built-ins/RegExp/S15.10.4.1_A1_T2.js index 2aa9063e46..93990f47ba 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A1_T2.js +++ b/test/built-ins/RegExp/S15.10.4.1_A1_T2.js @@ -11,8 +11,8 @@ description: > undefined variable ---*/ -__pattern = /\t/m; -__re = new RegExp(__pattern, x); +var __pattern = /\t/m; +var __re = new RegExp(__pattern, x); //CHECK#1 if (__re.source !== __pattern.source) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A1_T3.js b/test/built-ins/RegExp/S15.10.4.1_A1_T3.js index 12ff9987b6..b57803ef00 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A1_T3.js +++ b/test/built-ins/RegExp/S15.10.4.1_A1_T3.js @@ -9,8 +9,8 @@ es5id: 15.10.4.1_A1_T3 description: Pattern is /[a-b]/g and RegExp is new RegExp(pattern,void 0) ---*/ -__pattern = /[a-b]/g; -__re = new RegExp(__pattern, void 0); +var __pattern = /[a-b]/g; +var __re = new RegExp(__pattern, void 0); //CHECK#1 if (__re.source !== __pattern.source) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A1_T4.js b/test/built-ins/RegExp/S15.10.4.1_A1_T4.js index 441eb2305a..a17fbb3e54 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A1_T4.js +++ b/test/built-ins/RegExp/S15.10.4.1_A1_T4.js @@ -9,8 +9,8 @@ es5id: 15.10.4.1_A1_T4 description: Pattern is new RegExp and RegExp is new RegExp(pattern,undefined) ---*/ -__pattern = new RegExp; -__re = new RegExp(__pattern, undefined); +var __pattern = new RegExp; +var __re = new RegExp(__pattern, undefined); //CHECK#1 if (__re.source !== __pattern.source) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A1_T5.js b/test/built-ins/RegExp/S15.10.4.1_A1_T5.js index bd02056d27..c060d8f3ed 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A1_T5.js +++ b/test/built-ins/RegExp/S15.10.4.1_A1_T5.js @@ -11,8 +11,8 @@ description: > RegExp(pattern,(function(){})()) ---*/ -__pattern = RegExp("1?","mig"); -__re = new RegExp(__pattern, (function(){})()); +var __pattern = RegExp("1?","mig"); +var __re = new RegExp(__pattern, (function(){})()); //CHECK#1 if (__re.source !== __pattern.source) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A3_T1.js b/test/built-ins/RegExp/S15.10.4.1_A3_T1.js index 30c14b3836..8f2eb7edca 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A3_T1.js +++ b/test/built-ins/RegExp/S15.10.4.1_A3_T1.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A3_T1 description: RegExp is new RegExp ---*/ -__re = new RegExp; +var __re = new RegExp; //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A3_T2.js b/test/built-ins/RegExp/S15.10.4.1_A3_T2.js index e32724d7f9..612b3bb4f9 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.4.1_A3_T2.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A3_T2 description: RegExp is new RegExp(void 0) ---*/ -__re = new RegExp(void 0); +var __re = new RegExp(void 0); //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A3_T3.js b/test/built-ins/RegExp/S15.10.4.1_A3_T3.js index 5c47c6477b..45f6ea3627 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A3_T3.js +++ b/test/built-ins/RegExp/S15.10.4.1_A3_T3.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A3_T3 description: RegExp is new RegExp(x), where x is undefined variable ---*/ -__re = new RegExp(x); +var __re = new RegExp(x); //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A3_T4.js b/test/built-ins/RegExp/S15.10.4.1_A3_T4.js index efc3467506..d9d9a51142 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A3_T4.js +++ b/test/built-ins/RegExp/S15.10.4.1_A3_T4.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A3_T4 description: RegExp is new RegExp(undefined) ---*/ -__re = new RegExp(undefined); +var __re = new RegExp(undefined); //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A3_T5.js b/test/built-ins/RegExp/S15.10.4.1_A3_T5.js index 10c62a2d6f..1fb6251a8b 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A3_T5.js +++ b/test/built-ins/RegExp/S15.10.4.1_A3_T5.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A3_T5 description: RegExp is new RegExp((function(){})()) ---*/ -__re = new RegExp((function(){})()); +var __re = new RegExp((function(){})()); //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A4_T1.js b/test/built-ins/RegExp/S15.10.4.1_A4_T1.js index 4069835f8d..f9db74f336 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A4_T1.js +++ b/test/built-ins/RegExp/S15.10.4.1_A4_T1.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A4_T1 description: RegExp is new RegExp(undefined) ---*/ -__re = new RegExp(null, void 0); +var __re = new RegExp(null, void 0); //CHECK#1 if (__re.source !== "null") { diff --git a/test/built-ins/RegExp/S15.10.4.1_A4_T2.js b/test/built-ins/RegExp/S15.10.4.1_A4_T2.js index 5bf7bad568..e62dcce3f5 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A4_T2.js +++ b/test/built-ins/RegExp/S15.10.4.1_A4_T2.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A4_T2 description: RegExp is new RegExp(undefined,undefined) ---*/ -__re = new RegExp(undefined, undefined); +var __re = new RegExp(undefined, undefined); //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A4_T3.js b/test/built-ins/RegExp/S15.10.4.1_A4_T3.js index 1cf0633764..6d2ba7d8d5 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A4_T3.js +++ b/test/built-ins/RegExp/S15.10.4.1_A4_T3.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A4_T3 description: Use undefined properties of object as flags of RegExp ---*/ -__re = new RegExp({}.p, {}.q); +var __re = new RegExp({}.p, {}.q); //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A4_T4.js b/test/built-ins/RegExp/S15.10.4.1_A4_T4.js index 6b7833dd62..ab2f6ebf4f 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A4_T4.js +++ b/test/built-ins/RegExp/S15.10.4.1_A4_T4.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A4_T4 description: RegExp is new RegExp(null,void 0) ---*/ -__re = new RegExp(null, void 0); +var __re = new RegExp(null, void 0); //CHECK#1 if (__re.source !== "null") { diff --git a/test/built-ins/RegExp/S15.10.4.1_A4_T5.js b/test/built-ins/RegExp/S15.10.4.1_A4_T5.js index b88cee7b9f..7fbffaa1ad 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A4_T5.js +++ b/test/built-ins/RegExp/S15.10.4.1_A4_T5.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A4_T5 description: RegExp is new RegExp("",(function(){})()) ---*/ -__re = new RegExp("", (function(){})()); +var __re = new RegExp("", (function(){})()); //CHECK#2 if (__re.multiline !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A6_T1.js b/test/built-ins/RegExp/S15.10.4.1_A6_T1.js index db54a6d4cf..0ab30d722a 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A6_T1.js +++ b/test/built-ins/RegExp/S15.10.4.1_A6_T1.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A6_T1 description: Checking [[Class]] property of the newly constructed object ---*/ -__re = new RegExp; +var __re = new RegExp; __re.toString = Object.prototype.toString; //CHECK#1 diff --git a/test/built-ins/RegExp/S15.10.4.1_A7_T1.js b/test/built-ins/RegExp/S15.10.4.1_A7_T1.js index db646bc9b5..1a0eadf7fc 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A7_T1.js +++ b/test/built-ins/RegExp/S15.10.4.1_A7_T1.js @@ -12,7 +12,7 @@ description: > property of the newly constructed object ---*/ -__re = new RegExp; +var __re = new RegExp; RegExp.prototype.indicator = 1; //CHECK#1 diff --git a/test/built-ins/RegExp/S15.10.4.1_A7_T2.js b/test/built-ins/RegExp/S15.10.4.1_A7_T2.js index 4ebf95a4ef..153854d912 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A7_T2.js +++ b/test/built-ins/RegExp/S15.10.4.1_A7_T2.js @@ -10,7 +10,7 @@ es5id: 15.10.4.1_A7_T2 description: Checking [[Prototype]] property of the newly constructed object ---*/ -__re = new RegExp(); +var __re = new RegExp(); //CHECK#1 if (RegExp.prototype.isPrototypeOf(__re) !== true) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T1.js b/test/built-ins/RegExp/S15.10.4.1_A8_T1.js index f3db101c2d..c1a063c854 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T1.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T1.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A8_T1 description: Pattern is "a|b" and flags is "i" ---*/ -__re = new RegExp("a|b","i"); +var __re = new RegExp("a|b","i"); //CHECK#1 if (__re.ignoreCase !== true) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T10.js b/test/built-ins/RegExp/S15.10.4.1_A8_T10.js index d9fd657b1b..23dbb0d1aa 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T10.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T10.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A8_T10 description: Pattern is true and flags is "m" ---*/ -__re = new RegExp(true,"m"); +var __re = new RegExp(true,"m"); //CHECK#1 if (__re.ignoreCase !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T11.js b/test/built-ins/RegExp/S15.10.4.1_A8_T11.js index ec2c00ea0c..1e38cc3184 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T11.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T11.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A8_T11 description: Checking by using eval, pattern is Math and flags is eval("\"g\"") ---*/ -__re = new RegExp(Math,eval("\"g\"")); +var __re = new RegExp(Math,eval("\"g\"")); //CHECK#1 if (__re.ignoreCase !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T2.js b/test/built-ins/RegExp/S15.10.4.1_A8_T2.js index 92a831c660..ed7b3b7ce4 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T2.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T2.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A8_T2 description: Pattern is function(){return "a|b|[]";}() and flags is "ig" ---*/ -__re = new RegExp(function(){return "a|b|[]";}(),"ig"); +var __re = new RegExp(function(){return "a|b|[]";}(),"ig"); //CHECK#1 if (__re.ignoreCase !== true) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T3.js b/test/built-ins/RegExp/S15.10.4.1_A8_T3.js index 6829076f7e..17855d660d 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T3.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T3.js @@ -9,7 +9,7 @@ description: > (function(){return "m";})() ---*/ -__re = new RegExp({toString:function(){return "[0-9]";}}, (function(){return "m";})()); +var __re = new RegExp({toString:function(){return "[0-9]";}}, (function(){return "m";})()); //CHECK#1 if (__re.ignoreCase !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T4.js b/test/built-ins/RegExp/S15.10.4.1_A8_T4.js index 9d198173cd..e2aeb31680 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T4.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T4.js @@ -9,7 +9,7 @@ description: > and flags is {toString:void 0,valueOf:function(){return "mig";}} ---*/ -__re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]";}}, {toString:void 0,valueOf:function(){return "mig";}}); +var __re = new RegExp({toString:void 0,valueOf:function(){return "[z-z]";}}, {toString:void 0,valueOf:function(){return "mig";}}); //CHECK#1 if (__re.ignoreCase !== true) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T5.js b/test/built-ins/RegExp/S15.10.4.1_A8_T5.js index 85603d8f79..c451a0df78 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T5.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T5.js @@ -9,7 +9,7 @@ description: > {toString:function(){return "";}} ---*/ -__re = new RegExp(new Object("abc{1}"), {toString:function(){return "";}}); +var __re = new RegExp(new Object("abc{1}"), {toString:function(){return "";}}); //CHECK#1 if (__re.ignoreCase !== false) { diff --git a/test/built-ins/RegExp/S15.10.4.1_A8_T9.js b/test/built-ins/RegExp/S15.10.4.1_A8_T9.js index 43686f1c6d..48746e19a3 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A8_T9.js +++ b/test/built-ins/RegExp/S15.10.4.1_A8_T9.js @@ -7,7 +7,7 @@ es5id: 15.10.4.1_A8_T9 description: Pattern is 1 and flags is new Object("gi") ---*/ -__re = new RegExp(1, new Object("gi")); +var __re = new RegExp(1, new Object("gi")); //CHECK#1 if (__re.ignoreCase !== true) { diff --git a/test/built-ins/RegExp/S15.10.7_A3_T1.js b/test/built-ins/RegExp/S15.10.7_A3_T1.js index b1e1a03b1b..b93fa54cde 100644 --- a/test/built-ins/RegExp/S15.10.7_A3_T1.js +++ b/test/built-ins/RegExp/S15.10.7_A3_T1.js @@ -9,7 +9,7 @@ description: > and check it constructor. RegExp instance is /[^a]* / ---*/ -__re = /[^a]*/; +var __re = /[^a]*/; //CHECK#1 if (typeof __re !== "object") { diff --git a/test/built-ins/RegExp/S15.10.7_A3_T2.js b/test/built-ins/RegExp/S15.10.7_A3_T2.js index aab382482a..956d9e6fdf 100644 --- a/test/built-ins/RegExp/S15.10.7_A3_T2.js +++ b/test/built-ins/RegExp/S15.10.7_A3_T2.js @@ -9,7 +9,7 @@ description: > and check it constructor. RegExp instance is new RegExp ---*/ -__re = new RegExp; +var __re = new RegExp; //CHECK#1 if (typeof __re !== "object") { diff --git a/test/built-ins/RegExp/prototype/S15.10.5.1_A2.js b/test/built-ins/RegExp/prototype/S15.10.5.1_A2.js index 606af7905c..a34b24306b 100644 --- a/test/built-ins/RegExp/prototype/S15.10.5.1_A2.js +++ b/test/built-ins/RegExp/prototype/S15.10.5.1_A2.js @@ -18,8 +18,8 @@ if (RegExp.propertyIsEnumerable('prototype') !== false) { } //CHECK#2 -count=0; -for (p in RegExp){ +var count=0; +for (var p in RegExp){ if (p==="prototype") count++; } diff --git a/test/built-ins/RegExp/prototype/S15.10.5.1_A3.js b/test/built-ins/RegExp/prototype/S15.10.5.1_A3.js index 18754cad96..8a0d8eee75 100644 --- a/test/built-ins/RegExp/prototype/S15.10.5.1_A3.js +++ b/test/built-ins/RegExp/prototype/S15.10.5.1_A3.js @@ -5,6 +5,7 @@ info: The RegExp.prototype property has the attribute DontDelete es5id: 15.10.5.1_A3 description: Checking if deleting the RegExp.prototype property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/S15.10.5.1_A4.js b/test/built-ins/RegExp/prototype/S15.10.5.1_A4.js index e545aadcb5..3843e0a24b 100644 --- a/test/built-ins/RegExp/prototype/S15.10.5.1_A4.js +++ b/test/built-ins/RegExp/prototype/S15.10.5.1_A4.js @@ -5,6 +5,7 @@ info: The RegExp.prototype property has the attribute ReadOnly es5id: 15.10.5.1_A4 description: Checking if varying the RegExp.prototype property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/S15.10.6.1_A1_T2.js b/test/built-ins/RegExp/prototype/S15.10.6.1_A1_T2.js index 56b76e45c4..4a1b255b16 100644 --- a/test/built-ins/RegExp/prototype/S15.10.6.1_A1_T2.js +++ b/test/built-ins/RegExp/prototype/S15.10.6.1_A1_T2.js @@ -11,9 +11,9 @@ description: > RegExp.prototype.constructor ---*/ -__FACTORY = RegExp.prototype.constructor; +var __FACTORY = RegExp.prototype.constructor; -__instance = new __FACTORY; +var __instance = new __FACTORY; //CHECK#1 if ((__instance instanceof RegExp) !== true) { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A10.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A10.js index 7f505b03d6..f68ea5899f 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A10.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A10.js @@ -5,6 +5,7 @@ info: The RegExp.prototype.exec.length property has the attribute ReadOnly es5id: 15.10.6.2_A10 description: Checking if varying the RegExp.prototype.exec.length property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T1.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T1.js index d55d32158a..941d5ecf07 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T1.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T1.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T1 description: String is "123" and RegExp is /1|12/ ---*/ -__executed = /1|12/.exec("123"); +var __executed = /1|12/.exec("123"); -__expected = ["1"]; +var __expected = ["1"]; __expected.index=0; __expected.input="123"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T10.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T10.js index d556ba2297..acb7d3a8ac 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T10.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T10.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T10 description: String is 1.01 and RegExp is /1|12/ ---*/ -__executed = /1|12/.exec(1.01); +var __executed = /1|12/.exec(1.01); -__expected = ["1"]; +var __expected = ["1"]; __expected.index=0; __expected.input="1.01"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T11.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T11.js index 61f3a4f06b..bd463f590f 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T11.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T11.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T11 description: String is new Number(1.012) and RegExp is /2|12/ ---*/ -__executed = /2|12/.exec(new Number(1.012)); +var __executed = /2|12/.exec(new Number(1.012)); -__expected = ["12"]; +var __expected = ["12"]; __expected.index=3; __expected.input="1.012"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T12.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T12.js index a0c26035ca..f832929405 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T12.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T12.js @@ -11,9 +11,9 @@ description: > /\.14/ ---*/ -__executed = /\.14/.exec({toString:function(){return Math.PI}}); +var __executed = /\.14/.exec({toString:function(){return Math.PI}}); -__expected = [".14"]; +var __expected = [".14"]; __expected.index=1; __expected.input=String(Math.PI); diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T13.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T13.js index 037aef18ca..9217e1b59f 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T13.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T13.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T13 description: String is true and RegExp is /t[a-b|q-s]/ ---*/ -__executed = /t[a-b|q-s]/.exec(true); +var __executed = /t[a-b|q-s]/.exec(true); -__expected = ["tr"]; +var __expected = ["tr"]; __expected.index=0; __expected.input="true"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T14.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T14.js index 19248da736..dd4e288b8c 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T14.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T14.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T14 description: String is new Boolean and RegExp is /AL|se/ ---*/ -__executed = /AL|se/.exec(new Boolean); +var __executed = /AL|se/.exec(new Boolean); -__expected = ["se"]; +var __expected = ["se"]; __expected.index=3; __expected.input="false"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T15.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T15.js index cd9f348ea9..dc88588291 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T15.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T15.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T15 description: "String is {toString:function(){return false;}} and RegExp is /LS/i" ---*/ -__executed = /LS/i.exec({toString:function(){return false}}); +var __executed = /LS/i.exec({toString:function(){return false}}); -__expected = ["ls"]; +var __expected = ["ls"]; __expected.index=2; __expected.input="false"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T16.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T16.js index 0f72bb36bc..b9d5739b29 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T16.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T16.js @@ -9,7 +9,7 @@ es5id: 15.10.6.2_A1_T16 description: RegExp is /undefined/ and call exec() without arguments ---*/ -__re = /undefined/.exec()[0]; +var __re = /undefined/.exec()[0]; if (__re !== "undefined") { $ERROR('#1: /undefined/.exec()[0] === "undefined". Actual: ' + (__re)); } diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T17.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T17.js index 2f1ccbb258..65c5d0eda5 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T17.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T17.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T17 description: String is null and RegExp is /ll|l/ ---*/ -__executed = /ll|l/.exec(null); +var __executed = /ll|l/.exec(null); -__expected = ["ll"]; +var __expected = ["ll"]; __expected.index=2; __expected.input="null"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T18.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T18.js index 011edd6777..041b9b3918 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T18.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T18.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T18 description: String is undefined and RegExp is /nd|ne/ ---*/ -__executed = /nd|ne/.exec(undefined); +var __executed = /nd|ne/.exec(undefined); -__expected = ["nd"]; +var __expected = ["nd"]; __expected.index=1; __expected.input="undefined"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T19.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T19.js index ebd89b1f76..88918ca963 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T19.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T19.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T19 description: String is void 0 and RegExp is /e{1}/ ---*/ -__executed = /e{1}/.exec(void 0); +var __executed = /e{1}/.exec(void 0); -__expected = ["e"]; +var __expected = ["e"]; __expected.index=3; __expected.input="undefined"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T2.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T2.js index e3bf673caf..ae138c592a 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T2.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T2.js @@ -9,37 +9,36 @@ es5id: 15.10.6.2_A1_T2 description: String is new String("123") and RegExp is /((1)|(12))((3)|(23))/ ---*/ -with(/((1)|(12))((3)|(23))/){ - __executed = exec(new String("123")); -} +var __re = /((1)|(12))((3)|(23))/; +var __executed = __re.exec(new String("123")); -__expected = ["123", "1", "1", undefined, "23", undefined, "23"]; +var __expected = ["123", "1", "1", undefined, "23", undefined, "23"]; __expected.index=0; __expected.input="123"; //CHECK#0 if ((__executed instanceof Array) !== true) { - $ERROR('#0: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} (__executed instanceof Array) === true'); + $ERROR('#0: __re = /((1)|(12))((3)|(23))/; __executed = __re.exec(new String("123"));} (__executed instanceof Array) === true'); } //CHECK#1 if (__executed.length !== __expected.length) { - $ERROR('#1: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); + $ERROR('#1: __re = /((1)|(12))((3)|(23))/; __executed = __re.exec(new String("123"));} __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); } //CHECK#2 if (__executed.index !== __expected.index) { - $ERROR('#2: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); + $ERROR('#2: __re = /((1)|(12))((3)|(23))/; __executed = __re.exec(new String("123"));} __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); } //CHECK#3 if (__executed.input !== __expected.input) { - $ERROR('#3: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); + $ERROR('#3: __re = /((1)|(12))((3)|(23))/; __executed = __re.exec(new String("123"));} __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); } //CHECK#4 for(var index=0; index<__expected.length; index++) { if (__executed[index] !== __expected[index]) { - $ERROR('#4: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); + $ERROR('#4: __re = /((1)|(12))((3)|(23))/; __executed = __re.exec(new String("123"));} __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T20.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T20.js index c116d57c32..399ebde982 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T20.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T20.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T20 description: String is x and RegExp is /[a-f]d/, where x is undefined variable ---*/ -__executed = /[a-f]d/.exec(x); +var __executed = /[a-f]d/.exec(x); -__expected = ["ed"]; +var __expected = ["ed"]; __expected.index=7; __expected.input="undefined"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T21.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T21.js index 995b234404..d485efa6b5 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T21.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T21.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T21 description: String is function(){}() and RegExp is /[a-z]n/ ---*/ -__executed = /[a-z]n/.exec(function(){}()); +var __executed = /[a-z]n/.exec(function(){}()); -__expected = ["un"]; +var __expected = ["un"]; __expected.index=0; __expected.input="undefined"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T3.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T3.js index b48e4c974e..f01432ea65 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T3.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T3.js @@ -9,9 +9,9 @@ es5id: 15.10.6.2_A1_T3 description: String is new Object("abcdefghi") and RegExp is /a[a-z]{2,4}/ ---*/ -__executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); +var __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); -__expected = ["abcde"]; +var __expected = ["abcde"]; __expected.index=0; __expected.input="abcdefghi"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T4.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T4.js index 1a301acd08..ecbe00342e 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T4.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T4.js @@ -11,9 +11,9 @@ description: > /a[a-z]{2,4}?/ ---*/ -__executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); +var __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); -__expected = ["abc"]; +var __expected = ["abc"]; __expected.index=0; __expected.input="abcdefghi"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T5.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T5.js index 77c7397f44..9582ef8089 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T5.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T5.js @@ -12,9 +12,9 @@ description: > /(aa|aabaac|ba|b|c)* / ---*/ -__executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); +var __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); -__expected = ["aaba", "ba"]; +var __expected = ["aaba", "ba"]; __expected.index=0; __expected.input="aabaac"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T6.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T6.js index 679679fcab..4f721e6954 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T6.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T6.js @@ -11,9 +11,9 @@ description: > /(z)((a+)?(b+)?(c))* / ---*/ -__executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); +var __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); -__expected = ["zaacbbbcac", "z", "ac", "a", undefined, "c"]; +var __expected = ["zaacbbbcac", "z", "ac", "a", undefined, "c"]; __expected.index=0; __expected.input="zaacbbbcac"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T9.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T9.js index 0024b34f66..b3f7ec53cf 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T9.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A1_T9.js @@ -12,7 +12,7 @@ description: String is undefined variable and RegExp is /1|12/ var __string; //CHECK#1 -__re = /1|12/; +var __re = /1|12/; if (__re.exec(__string) !== null) { $ERROR('#1: var __string; /1|12/.exec(__string) === null; function __string(){}. Actual: ' + (__re)); } diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T1.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T1.js index 0536c9d4b4..a608a0db40 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T1.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T1.js @@ -9,7 +9,7 @@ es5id: 15.10.6.2_A2_T1 description: The internal [[Class]] property is "Object" ---*/ -__instance = new Object; +var __instance = new Object; __instance.exec = RegExp.prototype.exec; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T10.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T10.js index 5d05444475..d52eb15712 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T10.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T10.js @@ -9,7 +9,7 @@ es5id: 15.10.6.2_A2_T10 description: The tested object is undefined ---*/ -exec = RegExp.prototype.exec; +var exec = RegExp.prototype.exec; //CHECK#1 try { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T2.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T2.js index 6e26a74d68..8440732e37 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T2.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T2.js @@ -9,16 +9,16 @@ es5id: 15.10.6.2_A2_T2 description: The tested object is Math ---*/ -__instance = Math; +var __instance = Math; __instance.exec = RegExp.prototype.exec; //CHECK#1 -try { - with(__instance) exec("message to investigate"); - $ERROR('#1.1: __instance = Math; __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate")'); +try { + __instance.exec("message to investigate"); + $ERROR('#1.1: __instance = Math; __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate")'); } catch (e) { if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = Math; __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate"). Actual: ' + (e)); + $ERROR('#1.2: __instance = Math; __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e)); } } diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js index 70b8f34abd..95776461ee 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js @@ -13,11 +13,11 @@ __instance.exec = RegExp.prototype.exec; //CHECK#1 try { - with(__instance) exec("message to investigate"); - $ERROR('#1.1: __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate"); function __instance(){}'); + __instance.exec("message to investigate"); + $ERROR('#1.1: __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"); function __instance(){}'); } catch (e) { if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate"); function __instance(){}. Actual: ' + (e)); + $ERROR('#1.2: __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"); function __instance(){}. Actual: ' + (e)); } } diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T4.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T4.js index ec202ebfa6..c2defd95d0 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T4.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T4.js @@ -9,17 +9,15 @@ es5id: 15.10.6.2_A2_T4 description: The tested object is new String("[a-b]") ---*/ -__instance = new String("[a-b]"); +var __instance = new String("[a-b]"); __instance.exec = RegExp.prototype.exec; //CHECK#1 -with(__instance){ try { - $ERROR('#1.1: __instance = new String("[a-b]"); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (exec("message to investigate"))); + $ERROR('#1.1: __instance = new String("[a-b]"); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); } catch (e) { if ((e instanceof TypeError) !== true) { $ERROR('#1.2: __instance = new String("[a-b]"); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (e)); } } -} diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T5.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T5.js index c31cde3302..8eae9d565a 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T5.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T5.js @@ -9,17 +9,15 @@ es5id: 15.10.6.2_A2_T5 description: The tested object is new Boolean(false) ---*/ -__instance = new Boolean(false); +var __instance = new Boolean(false); __instance.exec = RegExp.prototype.exec; //CHECK#1 -with(__instance) { try { - $ERROR('#1.1: __instance = new Boolean(false); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (exec("message to investigate"))); + $ERROR('#1.1: __instance = new Boolean(false); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); } catch (e) { if ((e instanceof TypeError !== true)) { $ERROR('#1.2: __instance = new Boolean(false); __instance.exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (e)); } - } -} + } diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T6.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T6.js index 6d5e776995..6cc52f26bf 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T6.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T6.js @@ -9,7 +9,7 @@ es5id: 15.10.6.2_A2_T6 description: The tested object is new Number(1.0) ---*/ -__instance = new Number(1.0); +var __instance = new Number(1.0); __instance.exec = RegExp.prototype.exec; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T7.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T7.js index fb9474c482..b608e2b067 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T7.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T7.js @@ -9,7 +9,7 @@ es5id: 15.10.6.2_A2_T7 description: The tested object is false ---*/ -__instance = false; +var __instance = false; Object.prototype.exec = RegExp.prototype.exec; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T8.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T8.js index 1440c7d02a..fd238a58cc 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T8.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T8.js @@ -9,7 +9,7 @@ es5id: 15.10.6.2_A2_T8 description: The tested object is "." ---*/ -__instance = "."; +var __instance = "."; Object.prototype.exec = RegExp.prototype.exec; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js index fd474480c3..0d5325c217 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js @@ -9,7 +9,7 @@ es5id: 15.10.6.2_A2_T9 description: The tested object is 1.0 ---*/ -__instance = 1.0; +var __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T1.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T1.js index 9a8c89bfb0..d8f82358b3 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T1.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T1.js @@ -10,14 +10,14 @@ es5id: 15.10.6.2_A3_T1 description: "RegExp is /(?:ab|cd)\\d?/g and tested string is \"ab cd2 ab34 cd\"" ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__matched = []; +var __matched = []; -__expected = ["ab", "cd2", "ab3", "cd"]; +var __expected = ["ab", "cd2", "ab3", "cd"]; do{ - __executed = __re.exec("ab cd2 ab34 cd"); + var __executed = __re.exec("ab cd2 ab34 cd"); if (__executed !== null) { __matched.push(__executed[0]); } else { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T2.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T2.js index 54cbbaf7cb..66ad1d871a 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T2.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T2.js @@ -10,7 +10,7 @@ es5id: 15.10.6.2_A3_T2 description: RegExp is /[Nn]evermore/g and tested string is very long string ---*/ -__the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + +var __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + "Over many a quaint and curious volume of forgotten lore," + "While I nodded, nearly napping, suddenly there came a tapping," + "As of some one gently rapping, rapping at my chamber door." + @@ -134,13 +134,13 @@ __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," "And my soul from out that shadow that lies floating on the floor" + "Shall be lifted - nevermore!" -NEVERMORE=11; +var NEVERMORE=11; -__re = /[Nn]evermore/g; -__matched=0; +var __re = /[Nn]evermore/g; +var __matched=0; do{ - __executed = __re.exec(__the__raven); + var __executed = __re.exec(__the__raven); if (__executed !== null) { __matched++; } else { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T3.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T3.js index eb8977eeb8..e8252c7595 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T3.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T3.js @@ -10,7 +10,7 @@ es5id: 15.10.6.2_A3_T3 description: RegExp is /[Nn]?evermore/g and tested string is very long string ---*/ -__the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + +var __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + "Over many a quaint and curious volume of forgotten lore," + "While I nodded, nearly napping, suddenly there came a tapping," + "As of some one gently rapping, rapping at my chamber door." + @@ -134,13 +134,13 @@ __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," "And my soul from out that shadow that lies floating on the floor" + "Shall be lifted - nevermore!" -NEVERMORE_AND_EVERMORE=12; +var NEVERMORE_AND_EVERMORE=12; -__re = /[Nn]?evermore/g; -__matched=0; +var __re = /[Nn]?evermore/g; +var __matched=0; do{ - __executed = __re.exec(__the__raven); + var __executed = __re.exec(__the__raven); if (__executed !== null) { __matched++; } else { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T4.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T4.js index 2bbfaae4a0..92d43dd80c 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T4.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T4.js @@ -12,7 +12,7 @@ description: > is very long string ---*/ -__the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + +var __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," + "Over many a quaint and curious volume of forgotten lore," + "While I nodded, nearly napping, suddenly there came a tapping," + "As of some one gently rapping, rapping at my chamber door." + @@ -136,13 +136,13 @@ __the__raven = " Once upon a midnight dreary, while I pondered weak and weary," "And my soul from out that shadow that lies floating on the floor" + "Shall be lifted - nevermore!" -ALL_THE_HOPELESS_MORE=18; +var ALL_THE_HOPELESS_MORE=18; -__re = /([Nn]?ever|([Nn]othing\s{1,}))more/g; -__matched=0; +var __re = /([Nn]?ever|([Nn]othing\s{1,}))more/g; +var __matched=0; do{ - __executed = __re.exec(__the__raven); + var __executed = __re.exec(__the__raven); if (__executed !== null) { __matched++; } else { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T5.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T5.js index 37e186e06d..561701b07c 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T5.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T5.js @@ -10,14 +10,14 @@ es5id: 15.10.6.2_A3_T5 description: RegExp is /\d+/g and tested string is "123 456 789" ---*/ -__re = /\d+/g; +var __re = /\d+/g; -__matched = []; +var __matched = []; -__expected = ["123","456","789"]; +var __expected = ["123","456","789"]; do{ - __executed = __re.exec("123 456 789"); + var __executed = __re.exec("123 456 789"); if (__executed !== null) { __matched.push(__executed[0]); } else { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T6.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T6.js index 9f9b5d28ca..776e45675e 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T6.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T6.js @@ -10,14 +10,14 @@ es5id: 15.10.6.2_A3_T6 description: RegExp is /(\d+)/g and tested string is "123 456 789" ---*/ -__re = /(\d+)/g; +var __re = /(\d+)/g; -__matched = []; +var __matched = []; -__expected = ["123","456","789"]; +var __expected = ["123","456","789"]; do{ - __executed = __re.exec("123 456 789"); + var __executed = __re.exec("123 456 789"); if (__executed !== null) { __matched.push(__executed[0]); } else { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T7.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T7.js index 6d87fe4a25..c2cf01bbcb 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T7.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A3_T7.js @@ -10,14 +10,14 @@ es5id: 15.10.6.2_A3_T7 description: RegExp is /\d+/ and tested string is "123 456 789" ---*/ -__re = /\d+/; +var __re = /\d+/; -__matched = []; +var __matched = []; -__expected = ["123","123","123","123","123","123","123","123","123","123"]; +var __expected = ["123","123","123","123","123","123","123","123","123","123"]; do{ - __executed = __re.exec("123 456 789"); + var __executed = __re.exec("123 456 789"); if (__executed !== null) { __matched.push(__executed[0]); } else { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T1.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T1.js index fe7d185134..0ea24549c8 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T1.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T1.js @@ -9,11 +9,11 @@ es5id: 15.10.6.2_A4_T1 description: Call first exec, then set re.lastIndex = 12 and again call exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T10.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T10.js index 3955d80055..be9711966f 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T10.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T10.js @@ -11,11 +11,11 @@ description: > {valueOf:function(){return 12;}} and again call exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; @@ -41,7 +41,7 @@ for(var index=0; index<__expected.length; index++) { } } -__obj = {valueOf:function(){return 12;}}; +var __obj = {valueOf:function(){return 12;}}; __re.lastIndex = __obj; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T11.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T11.js index 8b53d2a934..1913dee0dd 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T11.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T11.js @@ -12,11 +12,11 @@ description: > includes: [$FAIL.js] ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; @@ -42,7 +42,7 @@ for(var index=0; index<__expected.length; index++) { } } -__obj = {valueOf:function(){throw "intoint";}}; +var __obj = {valueOf:function(){throw "intoint";}}; __re.lastIndex = __obj; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T12.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T12.js index 6082037cc2..f729e44524 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T12.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T12.js @@ -12,11 +12,11 @@ description: > and again call exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; @@ -42,7 +42,7 @@ for(var index=0; index<__expected.length; index++) { } } -__obj = {toString:function(){return 12;},valueOf:function(){return {};}}; +var __obj = {toString:function(){return 12;},valueOf:function(){return {};}}; __re.lastIndex = __obj; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T2.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T2.js index 5d5d969598..ba5f64f907 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T2.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T2.js @@ -11,11 +11,11 @@ description: > exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T3.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T3.js index 6fac016946..4b388b2c96 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T3.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T3.js @@ -9,11 +9,11 @@ es5id: 15.10.6.2_A4_T3 description: Call first exec, then set re.lastIndex = void 0 and again call exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T4.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T4.js index d29b13f1f1..57e0d025b3 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T4.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T4.js @@ -9,11 +9,11 @@ es5id: 15.10.6.2_A4_T4 description: Call first exec, then set re.lastIndex = null and again call exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T5.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T5.js index 121a7832fa..f1d4f09b24 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T5.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T5.js @@ -11,11 +11,11 @@ description: > where x is undefined variable ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T6.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T6.js index a91c4f9553..61beb8c0de 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T6.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T6.js @@ -9,11 +9,11 @@ es5id: 15.10.6.2_A4_T6 description: Call first exec, then set re.lastIndex = false and again call exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T7.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T7.js index 31ecbbaab8..47aab22b12 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T7.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T7.js @@ -11,11 +11,11 @@ description: > exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T8.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T8.js index 11c74aa0f9..64ef774fcc 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T8.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T8.js @@ -9,11 +9,11 @@ es5id: 15.10.6.2_A4_T8 description: Call first exec, then set re.lastIndex = "12" and again call exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T9.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T9.js index fb17b83afb..7a70bfdb50 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T9.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A4_T9.js @@ -11,11 +11,11 @@ description: > exec ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aacd2233ab12nm444ab42"); +var __executed = __re.exec("aacd2233ab12nm444ab42"); -__expected = ["cd2"]; +var __expected = ["cd2"]; __expected.index = 2; __expected.input = "aacd2233ab12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T1.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T1.js index 9a9ed7e2d7..7db9bc1782 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T1.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T1.js @@ -12,10 +12,10 @@ description: > then First call /(?:ab|cd)\d?/g.exec("aacd22") ---*/ -__re = /(?:ab|cd)\d?/g; -__executed = __re.exec("aac1dz2233a1bz12nm444ab42"); +var __re = /(?:ab|cd)\d?/g; +var __executed = __re.exec("aac1dz2233a1bz12nm444ab42"); -__expected = ["ab4"]; +var __expected = ["ab4"]; __expected.index = 21; __expected.input = "aac1dz2233a1bz12nm444ab42"; diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T2.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T2.js index 3ed1d5f746..b176a66d56 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T2.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T2.js @@ -10,9 +10,9 @@ es5id: 15.10.6.2_A5_T2 description: "Set lastIndex to 100 and call /(?:ab|cd)\\d?/g.exec(\"aacd22 \")" ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; __re.lastIndex=100; -__executed = __re.exec("aacd22 "); +var __executed = __re.exec("aacd22 "); //CHECK#1 if (__executed) { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T3.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T3.js index c878018b68..63dcde44da 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T3.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A5_T3.js @@ -10,9 +10,9 @@ es5id: 15.10.6.2_A5_T3 description: "Set lastIndex to -1 and call /(?:ab|cd)\\d?/g.exec(\"aacd22 \")" ---*/ -__re = /(?:ab|cd)\d?/g; +var __re = /(?:ab|cd)\d?/g; __re.lastIndex=-1; -__executed = __re.test("aacd22 "); +var __executed = __re.test("aacd22 "); //CHECK#1 if (!__executed) { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A7.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A7.js index 3e252361cc..c9a903765e 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A7.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A7.js @@ -7,10 +7,10 @@ es5id: 15.10.6.2_A7 description: Checking if creating the RegExp.prototype.exec object fails ---*/ -__FACTORY = RegExp.prototype.exec; +var __FACTORY = RegExp.prototype.exec; try { - __instance = new __FACTORY; + var __instance = new __FACTORY; $ERROR('#1.1: __FACTORY = RegExp.prototype.exec throw TypeError. Actual: ' + (__instance)); } catch (e) { if ((e instanceof TypeError) !== true) { diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js index d0598dc0cf..c891da096b 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js @@ -20,9 +20,9 @@ if (RegExp.prototype.exec.propertyIsEnumerable('length') !== false) { } //CHECK#2 -count=0; +var count=0; -for (p in RegExp.prototype.exec){ +for (var p in RegExp.prototype.exec){ if (p==="length") count++; } diff --git a/test/built-ins/RegExp/prototype/global/S15.10.7.2_A10.js b/test/built-ins/RegExp/prototype/global/S15.10.7.2_A10.js index 497d871618..73c4ff5263 100644 --- a/test/built-ins/RegExp/prototype/global/S15.10.7.2_A10.js +++ b/test/built-ins/RegExp/prototype/global/S15.10.7.2_A10.js @@ -5,6 +5,7 @@ info: The RegExp.prototype global property does not have a set accessor es5id: 15.10.7.2_A10 description: Checking if varying the global property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/global/S15.10.7.2_A8.js b/test/built-ins/RegExp/prototype/global/S15.10.7.2_A8.js index c6eb777de1..96519723a6 100644 --- a/test/built-ins/RegExp/prototype/global/S15.10.7.2_A8.js +++ b/test/built-ins/RegExp/prototype/global/S15.10.7.2_A8.js @@ -10,7 +10,7 @@ description: > includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('global') !== true) { @@ -23,8 +23,8 @@ if (__re.propertyIsEnumerable('global') !== false) { } //CHECK#2 -count = 0 -for (p in __re){ +var count = 0 +for (var p in __re){ if (p==="global") count++ } diff --git a/test/built-ins/RegExp/prototype/global/S15.10.7.2_A9.js b/test/built-ins/RegExp/prototype/global/S15.10.7.2_A9.js index a04a55816a..cdc581ef1d 100644 --- a/test/built-ins/RegExp/prototype/global/S15.10.7.2_A9.js +++ b/test/built-ins/RegExp/prototype/global/S15.10.7.2_A9.js @@ -10,7 +10,7 @@ description: Checking if deleting the global property succeeds includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('global') !== true) { diff --git a/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A10.js b/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A10.js index 1972836787..20a02aca15 100644 --- a/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A10.js +++ b/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A10.js @@ -5,6 +5,7 @@ info: The RegExp.prototype ignoreCase property does not have a set accessor es5id: 15.10.7.3_A10 description: Checking if varying the ignoreCase property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A8.js b/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A8.js index 42f4eb9a3b..b0995d5558 100644 --- a/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A8.js +++ b/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A8.js @@ -10,7 +10,7 @@ description: > includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('ignoreCase') !== true) { @@ -23,8 +23,8 @@ if (__re.propertyIsEnumerable('ignoreCase') !== false) { } //CHECK#2 -count = 0 -for (p in __re){ +var count = 0 +for (var p in __re){ if (p==="ignoreCase") count++ } diff --git a/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A9.js b/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A9.js index 796d2b3bff..bb2ef1148d 100644 --- a/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A9.js +++ b/test/built-ins/RegExp/prototype/ignoreCase/S15.10.7.3_A9.js @@ -10,7 +10,7 @@ description: Checking if deleting the ignoreCase property succeeds includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('ignoreCase') !== true) { diff --git a/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A8.js b/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A8.js index b7356b7b08..fcbb5f9b30 100644 --- a/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A8.js +++ b/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A8.js @@ -10,7 +10,7 @@ description: > includes: [$FAIL.js] ---*/ -__re = new RegExp("A?B"); +var __re = new RegExp("A?B"); //CHECK#0 if (__re.hasOwnProperty('lastIndex') !== true) { @@ -23,8 +23,8 @@ if (__re.propertyIsEnumerable('lastIndex') !== false) { } //CHECK#2 -count = 0 -for (p in __re){ +var count = 0 +for (var p in __re){ if (p==="lastIndex") count++ } diff --git a/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A9.js b/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A9.js index ff3d073147..abdf5d21c0 100644 --- a/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A9.js +++ b/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A9.js @@ -5,6 +5,7 @@ info: The RegExp instance lastIndex property has the attribute DontDelete es5id: 15.10.7.5_A9 description: Checking if deleting the lastIndex property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A10.js b/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A10.js index 51ef99f81b..179a1303f5 100644 --- a/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A10.js +++ b/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A10.js @@ -5,6 +5,7 @@ info: The RegExp.prototype multiline property does not have a set accessor es5id: 15.10.7.4_A10 description: Checking if varying the multiline property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A8.js b/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A8.js index 65c0183bf3..09a896e602 100644 --- a/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A8.js +++ b/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A8.js @@ -10,7 +10,7 @@ description: > includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('multiline') !== true) { @@ -23,8 +23,8 @@ if (__re.propertyIsEnumerable('multiline') !== false) { } //CHECK#2 -count = 0 -for (p in __re){ +var count = 0 +for (var p in __re){ if (p==="multiline") count++ } diff --git a/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A9.js b/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A9.js index c045847e82..e2e3c308c6 100644 --- a/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A9.js +++ b/test/built-ins/RegExp/prototype/multiline/S15.10.7.4_A9.js @@ -10,7 +10,7 @@ description: Checking if deleting the multiline property succeeds includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('multiline') !== true) { diff --git a/test/built-ins/RegExp/prototype/source/S15.10.7.1_A10.js b/test/built-ins/RegExp/prototype/source/S15.10.7.1_A10.js index eef7c8c7cd..08fe7e7961 100644 --- a/test/built-ins/RegExp/prototype/source/S15.10.7.1_A10.js +++ b/test/built-ins/RegExp/prototype/source/S15.10.7.1_A10.js @@ -5,6 +5,7 @@ info: The RegExp.prototype source property does not have a set accessor es5id: 15.10.7.1_A10 description: Checking if varying the source property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/source/S15.10.7.1_A8.js b/test/built-ins/RegExp/prototype/source/S15.10.7.1_A8.js index d94eaddc31..22941fbf36 100644 --- a/test/built-ins/RegExp/prototype/source/S15.10.7.1_A8.js +++ b/test/built-ins/RegExp/prototype/source/S15.10.7.1_A8.js @@ -10,7 +10,7 @@ description: > includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('source') !== true) { @@ -23,8 +23,8 @@ if (__re.propertyIsEnumerable('source') !== false) { } //CHECK#2 -count = 0 -for (p in __re){ +var count = 0 +for (var p in __re){ if (p==="source") count++ } diff --git a/test/built-ins/RegExp/prototype/source/S15.10.7.1_A9.js b/test/built-ins/RegExp/prototype/source/S15.10.7.1_A9.js index fa8241fae8..e5606e144f 100644 --- a/test/built-ins/RegExp/prototype/source/S15.10.7.1_A9.js +++ b/test/built-ins/RegExp/prototype/source/S15.10.7.1_A9.js @@ -10,7 +10,7 @@ description: Checking if deleting the source property succeeds includes: [$FAIL.js] ---*/ -__re = RegExp.prototype; +var __re = RegExp.prototype; //CHECK#0 if (__re.hasOwnProperty('source') !== true) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A10.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A10.js index da01317a69..1a0c6bce2a 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A10.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A10.js @@ -5,6 +5,7 @@ info: The RegExp.prototype.test.length property has the attribute ReadOnly es5id: 15.10.6.3_A10 description: Checking if varying the RegExp.prototype.test.length property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T1.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T1.js index 72b6822d38..5fcda8dca5 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T1.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T1.js @@ -8,7 +8,7 @@ description: RegExp is /1|12/ and tested string is "123" ---*/ var __string = "123"; -__re = /1|12/; +var __re = /1|12/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T10.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T10.js index 24d36e4b6c..de045b10f7 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T10.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T10.js @@ -8,7 +8,7 @@ description: RegExp is /1|12/ and tested string is 1.01 ---*/ var __string = 1.01; -__re = /1|12/; +var __re = /1|12/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T11.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T11.js index da005e97aa..0663d82c91 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T11.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T11.js @@ -8,7 +8,7 @@ description: RegExp is /2|12/ and tested string is new Number(1.012) ---*/ var __string = new Number(1.012); -__re = /2|12/; +var __re = /2|12/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js index c4a4e72e3a..40e81bc407 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js @@ -10,7 +10,7 @@ description: > ---*/ var __string = {toString:function(){return Math.PI;}}; -__re = /\.14/; +var __re = /\.14/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T13.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T13.js index 5a2dd89940..bf1374b1ae 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T13.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T13.js @@ -8,7 +8,7 @@ description: RegExp is /t[a-b|q-s]/ and tested string is true ---*/ var __string = true; -__re = /t[a-b|q-s]/; +var __re = /t[a-b|q-s]/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T14.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T14.js index 834bb463cc..813a98cdb7 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T14.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T14.js @@ -8,7 +8,7 @@ description: RegExp is /AL|se/ and tested string is new Boolean ---*/ var __string = new Boolean; -__re = /AL|se/; +var __re = /AL|se/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T15.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T15.js index 8f41f9805a..ff62b3be73 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T15.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T15.js @@ -10,7 +10,7 @@ description: > ---*/ var __string = {toString:function(){return false;}}; -__re = /LS/i; +var __re = /LS/i; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T16.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T16.js index fb0b222325..7aa80a6cbc 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T16.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T16.js @@ -7,7 +7,7 @@ es5id: 15.10.6.3_A1_T16 description: RegExp is /undefined/ and call test() without arguments ---*/ -__re = /undefined/; +var __re = /undefined/; //CHECK#0 if (__re.test() !== (__re.exec() !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T17.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T17.js index fcdc6968d0..030933e715 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T17.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T17.js @@ -7,7 +7,7 @@ es5id: 15.10.6.3_A1_T17 description: RegExp is /ll|l/ and tested string is null ---*/ -__re = /ll|l/; +var __re = /ll|l/; //CHECK#0 if (__re.test(null) !== (__re.exec(null) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T18.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T18.js index 5ec840f275..7b05aba060 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T18.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T18.js @@ -7,7 +7,7 @@ es5id: 15.10.6.3_A1_T18 description: RegExp is /nd|ne/ and tested string is undefined ---*/ -__re = /nd|ne/; +var __re = /nd|ne/; //CHECK#0 if (__re.test(undefined) !== (__re.exec(undefined) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T19.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T19.js index cd56e027dc..7ac446dbcd 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T19.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T19.js @@ -7,7 +7,7 @@ es5id: 15.10.6.3_A1_T19 description: RegExp is /e{1}/ and tested string is void 0 ---*/ -__re = /e{1}/; +var __re = /e{1}/; //CHECK#0 if (__re.test(void 0) !== (__re.exec(void 0) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T2.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T2.js index 59c27284f8..1450311d4a 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T2.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T2.js @@ -10,7 +10,7 @@ description: > ---*/ var __string = new String("123"); -__re = /((1)|(12))((3)|(23))/; +var __re = /((1)|(12))((3)|(23))/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T20.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T20.js index da868bcfe0..15bf3b7bc3 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T20.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T20.js @@ -7,7 +7,7 @@ es5id: 15.10.6.3_A1_T20 description: RegExp is /[a-f]d/ and tested string is x, where x is undefined ---*/ -__re = /[a-f]d/; +var __re = /[a-f]d/; //CHECK#0 if (__re.test(x) !== (__re.exec(x) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T21.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T21.js index 3913a2d6ad..aa7ca15957 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T21.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T21.js @@ -9,7 +9,7 @@ description: > function(){}() ---*/ -__re = /[a-z]n/; +var __re = /[a-z]n/; //CHECK#0 if (__re.test(function(){}()) !== (__re.exec(function(){}()) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T3.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T3.js index 051d15b445..6ce78d0653 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T3.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T3.js @@ -10,7 +10,7 @@ description: > ---*/ var __string = new Object("abcdefghi"); -__re = /a[a-z]{2,4}/; +var __re = /a[a-z]{2,4}/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T4.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T4.js index 0c46f490f5..444fbebb3c 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T4.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T4.js @@ -10,7 +10,7 @@ description: > ---*/ var __string = {toString:function(){return "abcdefghi";}}; -__re = /a[a-z]{2,4}?/; +var __re = /a[a-z]{2,4}?/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T5.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T5.js index 962ed1da05..fd79faab48 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T5.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T5.js @@ -11,7 +11,7 @@ description: > ---*/ var __string = {toString:function(){return {};}, valueOf:function(){return "aabaac";}}; -__re = /(aa|aabaac|ba|b|c)*/; +var __re = /(aa|aabaac|ba|b|c)*/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js index 015a3fb26c..9391e3eca6 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js @@ -9,7 +9,7 @@ description: > (function(){return "zaacbbbcac"})() ---*/ -__re = /(z)((a+)?(b+)?(c))*/; +var __re = /(z)((a+)?(b+)?(c))*/; //CHECK#0 if (__re.test((function(){return "zaacbbbcac"})()) !== (__re.exec((function(){return "zaacbbbcac"})()) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T9.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T9.js index 30073f11bd..5ff8d3dec3 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T9.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T9.js @@ -8,7 +8,7 @@ description: RegExp is /1|12/ and tested string is function object ---*/ var __string; -__re = /1|12/; +var __re = /1|12/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T1.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T1.js index 9b5f5f8f03..feeb07519b 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T1.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T1.js @@ -9,7 +9,7 @@ es5id: 15.10.6.3_A2_T1 description: The tested object is new Object ---*/ -__instance = new Object; +var __instance = new Object; __instance.test = RegExp.prototype.test; diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T10.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T10.js index 822222d098..309a13447c 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T10.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T10.js @@ -9,7 +9,7 @@ es5id: 15.10.6.3_A2_T10 description: The tested object is undefined ---*/ -test = RegExp.prototype.test; +var test = RegExp.prototype.test; //CHECK#1 try { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T2.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T2.js index 86ae89485f..bef304230d 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T2.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T2.js @@ -9,16 +9,16 @@ es5id: 15.10.6.3_A2_T2 description: The tested object is Math ---*/ -__instance = Math; +var __instance = Math; __instance.test = RegExp.prototype.test; //CHECK#1 try { - with(__instance) test("message to investigate"); - $ERROR('#1.1: __instance = Math; __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate")'); + __instance.test("message to investigate"); + $ERROR('#1.1: __instance = Math; __instance.test = RegExp.prototype.test; __instance.test("message to investigate")'); } catch (e) { if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = Math; __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate"). Actual: ' + (e)); + $ERROR('#1.2: __instance = Math; __instance.test = RegExp.prototype.test; __instance.test("message to investigate"). Actual: ' + (e)); } } diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T3.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T3.js index 87ed6c152f..6ecc24d503 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T3.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T3.js @@ -13,11 +13,11 @@ __instance.test = RegExp.prototype.test; //CHECK#1 try { - with(__instance) test("message to investigate"); - $ERROR('#1.1: __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate"); function __instance(){}'); + __instance.test("message to investigate"); + $ERROR('#1.1: __instance.test = RegExp.prototype.test; __instance.test("message to investigate"); function __instance(){}'); } catch (e) { if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance.test = RegExp.prototype.test; with(__instance) test("message to investigate"); function __instance(){}. Actual: ' + (e)); + $ERROR('#1.2: __instance.test = RegExp.prototype.test; __instance.test("message to investigate"); function __instance(){}. Actual: ' + (e)); } } diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T4.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T4.js index 4d07f8074e..a6cc673f85 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T4.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T4.js @@ -9,17 +9,15 @@ es5id: 15.10.6.3_A2_T4 description: The tested object is new String("[a-b]") ---*/ -__instance = new String("[a-b]"); +var __instance = new String("[a-b]"); __instance.test = RegExp.prototype.test; //CHECK#1 -with(__instance){ try { - $ERROR('#1.1: __instance = new String("[a-b]"); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (test("message to investigate"))); + $ERROR('#1.1: __instance = new String("[a-b]"); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (__instance.test("message to investigate"))); } catch (e) { if ((e instanceof TypeError) !== true) { $ERROR('#1.2: __instance = new String("[a-b]"); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (e)); } } -} diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T5.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T5.js index ad4bef3d3b..19fab41b6d 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T5.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T5.js @@ -9,17 +9,15 @@ es5id: 15.10.6.3_A2_T5 description: The tested object is new Boolean(false) ---*/ -__instance = new Boolean(false); +var __instance = new Boolean(false); __instance.test = RegExp.prototype.test; //CHECK#1 -with(__instance) { try { - $ERROR('#1.1: __instance = new Boolean(false); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (test("message to investigate"))); + $ERROR('#1.1: __instance = new Boolean(false); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (__instance.test("message to investigate"))); } catch (e) { if ((e instanceof TypeError !== true)) { $ERROR('#1.2: __instance = new Boolean(false); __instance.test = RegExp.prototype.test; test("message to investigate"). Actual: ' + (e)); } - } -} + } diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T6.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T6.js index 978e28cfe7..94bccfa9f6 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T6.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T6.js @@ -9,7 +9,7 @@ es5id: 15.10.6.3_A2_T6 description: The tested object is new Number(1.0) ---*/ -__instance = new Number(1.0); +var __instance = new Number(1.0); __instance.test = RegExp.prototype.test; diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T7.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T7.js index b0ac6f83a0..d193b8fe4f 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T7.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T7.js @@ -9,7 +9,7 @@ es5id: 15.10.6.3_A2_T7 description: The tested object is false ---*/ -__instance = false; +var __instance = false; Object.prototype.test = RegExp.prototype.test; diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T8.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T8.js index 37675d1de7..8d52a29b75 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T8.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T8.js @@ -9,7 +9,7 @@ es5id: 15.10.6.3_A2_T8 description: The tested object is "." ---*/ -__instance = "."; +var __instance = "."; Object.prototype.test = RegExp.prototype.test; diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T9.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T9.js index fa7fc7fd9e..b496da8aad 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T9.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A2_T9.js @@ -9,7 +9,7 @@ es5id: 15.10.6.3_A2_T9 description: The tested object is 1.0 ---*/ -__instance = 1.0; +var __instance = 1.0; Object.prototype.test = RegExp.prototype.test; diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A7.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A7.js index 793bb1be9f..3a3a170ace 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A7.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A7.js @@ -7,10 +7,10 @@ es5id: 15.10.6.3_A7 description: Checking if creating the RegExp.prototype.test object fails ---*/ -__FACTORY = RegExp.prototype.test; +var __FACTORY = RegExp.prototype.test; try { - __instance = new __FACTORY; + var __instance = new __FACTORY; $ERROR('#1.1: __FACTORY = RegExp.prototype.test throw TypeError. Actual: ' + (__instance)); } catch (e) { if ((e instanceof TypeError) !== true) { diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A8.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A8.js index ecfa88749a..fdc0c6affd 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A8.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A8.js @@ -20,9 +20,9 @@ if (RegExp.prototype.test.propertyIsEnumerable('length') !== false) { } //CHECK#2 -count=0; +var count=0; -for (p in RegExp.prototype.test){ +for (var p in RegExp.prototype.test){ if (p==="length") count++; } diff --git a/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A10.js b/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A10.js index 6902ee5e36..b1de97d0d5 100644 --- a/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A10.js +++ b/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A10.js @@ -7,6 +7,7 @@ es5id: 15.10.6.4_A10 description: > Checking if varying the RegExp.prototype.toString.length property fails +flags: [noStrict] includes: [$FAIL.js] ---*/ diff --git a/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A7.js b/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A7.js index f70e8a1d4b..ea4099dba2 100644 --- a/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A7.js +++ b/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A7.js @@ -7,10 +7,10 @@ es5id: 15.10.6.4_A7 description: Checking if creating the RegExp.prototype.toString object fails ---*/ -__FACTORY = RegExp.prototype.toString; +var __FACTORY = RegExp.prototype.toString; try { - __instance = new __FACTORY; + var __instance = new __FACTORY; $ERROR('#1.1: __FACTORY = RegExp.prototype.toString throw TypeError. Actual: ' + (__instance)); } catch (e) { if ((e instanceof TypeError) !== true) { diff --git a/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A8.js b/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A8.js index 75ad301542..8d8135160f 100644 --- a/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A8.js +++ b/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A8.js @@ -20,9 +20,9 @@ if (RegExp.prototype.toString.propertyIsEnumerable('length') !== false) { } //CHECK#2 -count=0; +var count=0; -for (p in RegExp.prototype.toString){ +for (var p in RegExp.prototype.toString){ if (p==="length") count++; } -- GitLab