From b8ac1952cace898d3d3a7699df52ddd9536b8d63 Mon Sep 17 00:00:00 2001 From: Tooru Fujisawa Date: Wed, 19 Dec 2018 13:57:10 +0000 Subject: [PATCH] Bug 1515224 - Part 2: Remove test files for BinTokenReaderTester. r=Yoric Depends on D14934 Differential Revision: https://phabricator.services.mozilla.com/D14936 --HG-- extra : moz-landing-system : lando --- .../ecma_2/Exceptions/boolean-001.binjs | Bin 8496 -> 0 bytes .../ecma_2/Exceptions/boolean-001.js | 47 --- .../ecma_2/Exceptions/boolean-002.binjs | Bin 8488 -> 0 bytes .../ecma_2/Exceptions/boolean-002.js | 51 --- .../ecma_2/Exceptions/browser.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/Exceptions/browser.js | 0 .../ecma_2/Exceptions/date-002.binjs | Bin 10036 -> 0 bytes .../ecma_2/Exceptions/date-002.js | 54 ---- .../ecma_2/Exceptions/date-003.binjs | Bin 10201 -> 0 bytes .../ecma_2/Exceptions/date-003.js | 56 ---- .../ecma_2/Exceptions/date-004.binjs | Bin 9856 -> 0 bytes .../ecma_2/Exceptions/date-004.js | 50 --- .../ecma_2/Exceptions/exception-001.binjs | Bin 7414 -> 0 bytes .../ecma_2/Exceptions/exception-001.js | 45 --- .../ecma_2/Exceptions/exception-002.binjs | Bin 7599 -> 0 bytes .../ecma_2/Exceptions/exception-002.js | 45 --- .../ecma_2/Exceptions/exception-003.binjs | Bin 9041 -> 0 bytes .../ecma_2/Exceptions/exception-003.js | 49 --- .../ecma_2/Exceptions/exception-004.binjs | Bin 7675 -> 0 bytes .../ecma_2/Exceptions/exception-004.js | 45 --- .../ecma_2/Exceptions/exception-005.binjs | Bin 7675 -> 0 bytes .../ecma_2/Exceptions/exception-005.js | 45 --- .../ecma_2/Exceptions/exception-006.binjs | Bin 9577 -> 0 bytes .../ecma_2/Exceptions/exception-006.js | 56 ---- .../ecma_2/Exceptions/exception-007.binjs | Bin 10062 -> 0 bytes .../ecma_2/Exceptions/exception-007.js | 57 ---- .../ecma_2/Exceptions/exception-008.binjs | Bin 7686 -> 0 bytes .../ecma_2/Exceptions/exception-008.js | 44 --- .../ecma_2/Exceptions/exception-009.binjs | Bin 8796 -> 0 bytes .../ecma_2/Exceptions/exception-009.js | 53 ---- .../ecma_2/Exceptions/exception-010-n.binjs | Bin 5191 -> 0 bytes .../ecma_2/Exceptions/exception-010-n.js | 25 -- .../ecma_2/Exceptions/exception-011-n.binjs | Bin 4888 -> 0 bytes .../ecma_2/Exceptions/exception-011-n.js | 26 -- .../ecma_2/Exceptions/expression-001.binjs | Bin 6801 -> 0 bytes .../ecma_2/Exceptions/expression-001.js | 50 --- .../ecma_2/Exceptions/expression-002.binjs | Bin 12716 -> 0 bytes .../ecma_2/Exceptions/expression-002.js | 60 ---- .../ecma_2/Exceptions/expression-003.binjs | Bin 11731 -> 0 bytes .../ecma_2/Exceptions/expression-003.js | 55 ---- .../ecma_2/Exceptions/expression-004.binjs | Bin 11750 -> 0 bytes .../ecma_2/Exceptions/expression-004.js | 49 --- .../ecma_2/Exceptions/expression-005.binjs | Bin 7082 -> 0 bytes .../ecma_2/Exceptions/expression-005.js | 41 --- .../ecma_2/Exceptions/expression-006.binjs | Bin 8309 -> 0 bytes .../ecma_2/Exceptions/expression-006.js | 46 --- .../ecma_2/Exceptions/expression-007.binjs | Bin 7677 -> 0 bytes .../ecma_2/Exceptions/expression-007.js | 44 --- .../ecma_2/Exceptions/expression-008.binjs | Bin 7702 -> 0 bytes .../ecma_2/Exceptions/expression-008.js | 41 --- .../ecma_2/Exceptions/expression-009.binjs | Bin 7739 -> 0 bytes .../ecma_2/Exceptions/expression-009.js | 42 --- .../ecma_2/Exceptions/expression-010.binjs | Bin 7724 -> 0 bytes .../ecma_2/Exceptions/expression-010.js | 43 --- .../ecma_2/Exceptions/expression-011.binjs | Bin 7883 -> 0 bytes .../ecma_2/Exceptions/expression-011.js | 43 --- .../ecma_2/Exceptions/expression-012.binjs | Bin 8397 -> 0 bytes .../ecma_2/Exceptions/expression-012.js | 44 --- .../ecma_2/Exceptions/expression-013.binjs | Bin 8380 -> 0 bytes .../ecma_2/Exceptions/expression-013.js | 44 --- .../ecma_2/Exceptions/expression-014.binjs | Bin 8319 -> 0 bytes .../ecma_2/Exceptions/expression-014.js | 46 --- .../ecma_2/Exceptions/expression-015.binjs | Bin 7189 -> 0 bytes .../ecma_2/Exceptions/expression-015.js | 40 --- .../ecma_2/Exceptions/expression-016.binjs | Bin 7432 -> 0 bytes .../ecma_2/Exceptions/expression-016.js | 40 --- .../ecma_2/Exceptions/expression-017.binjs | Bin 7258 -> 0 bytes .../ecma_2/Exceptions/expression-017.js | 40 --- .../ecma_2/Exceptions/expression-019.binjs | Bin 8402 -> 0 bytes .../ecma_2/Exceptions/expression-019.js | 44 --- .../ecma_2/Exceptions/function-001.binjs | Bin 6940 -> 0 bytes .../ecma_2/Exceptions/function-001.js | 53 ---- .../ecma_2/Exceptions/global-001.binjs | Bin 7219 -> 0 bytes .../ecma_2/Exceptions/global-001.js | 45 --- .../ecma_2/Exceptions/global-002.binjs | Bin 7215 -> 0 bytes .../ecma_2/Exceptions/global-002.js | 45 --- .../ecma_2/Exceptions/lexical-001.binjs | Bin 7058 -> 0 bytes .../ecma_2/Exceptions/lexical-001.js | 52 --- .../ecma_2/Exceptions/lexical-002.binjs | Bin 7039 -> 0 bytes .../ecma_2/Exceptions/lexical-002.js | 52 --- .../ecma_2/Exceptions/lexical-003.binjs | Bin 7201 -> 0 bytes .../ecma_2/Exceptions/lexical-003.js | 43 --- .../ecma_2/Exceptions/lexical-004.binjs | Bin 7179 -> 0 bytes .../ecma_2/Exceptions/lexical-004.js | 52 --- .../ecma_2/Exceptions/lexical-005.binjs | Bin 7173 -> 0 bytes .../ecma_2/Exceptions/lexical-005.js | 52 --- .../ecma_2/Exceptions/lexical-006.binjs | Bin 7189 -> 0 bytes .../ecma_2/Exceptions/lexical-006.js | 58 ---- .../ecma_2/Exceptions/lexical-007.binjs | Bin 7173 -> 0 bytes .../ecma_2/Exceptions/lexical-007.js | 51 --- .../ecma_2/Exceptions/lexical-008.binjs | Bin 7187 -> 0 bytes .../ecma_2/Exceptions/lexical-008.js | 53 ---- .../ecma_2/Exceptions/lexical-009.binjs | Bin 7193 -> 0 bytes .../ecma_2/Exceptions/lexical-009.js | 53 ---- .../ecma_2/Exceptions/lexical-011.binjs | Bin 9838 -> 0 bytes .../ecma_2/Exceptions/lexical-011.js | 62 ---- .../ecma_2/Exceptions/lexical-012.binjs | Bin 7186 -> 0 bytes .../ecma_2/Exceptions/lexical-012.js | 53 ---- .../ecma_2/Exceptions/lexical-013.binjs | Bin 7190 -> 0 bytes .../ecma_2/Exceptions/lexical-013.js | 53 ---- .../ecma_2/Exceptions/lexical-014.binjs | Bin 9845 -> 0 bytes .../ecma_2/Exceptions/lexical-014.js | 62 ---- .../ecma_2/Exceptions/lexical-015.binjs | Bin 7188 -> 0 bytes .../ecma_2/Exceptions/lexical-015.js | 53 ---- .../ecma_2/Exceptions/lexical-016.binjs | Bin 9838 -> 0 bytes .../ecma_2/Exceptions/lexical-016.js | 62 ---- .../ecma_2/Exceptions/lexical-017.binjs | Bin 7180 -> 0 bytes .../ecma_2/Exceptions/lexical-017.js | 54 ---- .../ecma_2/Exceptions/lexical-018.binjs | Bin 7190 -> 0 bytes .../ecma_2/Exceptions/lexical-018.js | 53 ---- .../ecma_2/Exceptions/lexical-019.binjs | Bin 7186 -> 0 bytes .../ecma_2/Exceptions/lexical-019.js | 53 ---- .../ecma_2/Exceptions/lexical-020.binjs | Bin 7186 -> 0 bytes .../ecma_2/Exceptions/lexical-020.js | 53 ---- .../ecma_2/Exceptions/lexical-021.binjs | Bin 9840 -> 0 bytes .../ecma_2/Exceptions/lexical-021.js | 62 ---- .../ecma_2/Exceptions/lexical-023.binjs | Bin 7186 -> 0 bytes .../ecma_2/Exceptions/lexical-023.js | 52 --- .../ecma_2/Exceptions/lexical-024.binjs | Bin 7167 -> 0 bytes .../ecma_2/Exceptions/lexical-024.js | 59 ---- .../ecma_2/Exceptions/lexical-025.binjs | Bin 7163 -> 0 bytes .../ecma_2/Exceptions/lexical-025.js | 59 ---- .../ecma_2/Exceptions/lexical-026.binjs | Bin 7163 -> 0 bytes .../ecma_2/Exceptions/lexical-026.js | 59 ---- .../ecma_2/Exceptions/lexical-027.binjs | Bin 7163 -> 0 bytes .../ecma_2/Exceptions/lexical-027.js | 61 ---- .../ecma_2/Exceptions/lexical-028.binjs | Bin 7183 -> 0 bytes .../ecma_2/Exceptions/lexical-028.js | 59 ---- .../ecma_2/Exceptions/lexical-029.binjs | Bin 7187 -> 0 bytes .../ecma_2/Exceptions/lexical-029.js | 59 ---- .../ecma_2/Exceptions/lexical-030.binjs | Bin 7183 -> 0 bytes .../ecma_2/Exceptions/lexical-030.js | 59 ---- .../ecma_2/Exceptions/lexical-031.binjs | Bin 7169 -> 0 bytes .../ecma_2/Exceptions/lexical-031.js | 59 ---- .../ecma_2/Exceptions/lexical-032.binjs | Bin 7175 -> 0 bytes .../ecma_2/Exceptions/lexical-032.js | 59 ---- .../ecma_2/Exceptions/lexical-033.binjs | Bin 7167 -> 0 bytes .../ecma_2/Exceptions/lexical-033.js | 59 ---- .../ecma_2/Exceptions/lexical-034.binjs | Bin 7170 -> 0 bytes .../ecma_2/Exceptions/lexical-034.js | 58 ---- .../ecma_2/Exceptions/lexical-035.binjs | Bin 7166 -> 0 bytes .../ecma_2/Exceptions/lexical-035.js | 59 ---- .../ecma_2/Exceptions/lexical-036.binjs | Bin 7171 -> 0 bytes .../ecma_2/Exceptions/lexical-036.js | 59 ---- .../ecma_2/Exceptions/lexical-037.binjs | Bin 7161 -> 0 bytes .../ecma_2/Exceptions/lexical-037.js | 59 ---- .../ecma_2/Exceptions/lexical-038.binjs | Bin 7175 -> 0 bytes .../ecma_2/Exceptions/lexical-038.js | 59 ---- .../ecma_2/Exceptions/lexical-039.binjs | Bin 7168 -> 0 bytes .../ecma_2/Exceptions/lexical-039.js | 46 --- .../ecma_2/Exceptions/lexical-040.binjs | Bin 7168 -> 0 bytes .../ecma_2/Exceptions/lexical-040.js | 46 --- .../ecma_2/Exceptions/lexical-041.binjs | Bin 8076 -> 0 bytes .../ecma_2/Exceptions/lexical-041.js | 48 --- .../ecma_2/Exceptions/lexical-042.binjs | Bin 8073 -> 0 bytes .../ecma_2/Exceptions/lexical-042.js | 49 --- .../ecma_2/Exceptions/lexical-047.binjs | Bin 8590 -> 0 bytes .../ecma_2/Exceptions/lexical-047.js | 50 --- .../ecma_2/Exceptions/lexical-048.binjs | Bin 7752 -> 0 bytes .../ecma_2/Exceptions/lexical-048.js | 44 --- .../ecma_2/Exceptions/lexical-049.binjs | Bin 8625 -> 0 bytes .../ecma_2/Exceptions/lexical-049.js | 49 --- .../ecma_2/Exceptions/lexical-050.binjs | Bin 7199 -> 0 bytes .../ecma_2/Exceptions/lexical-050.js | 45 --- .../ecma_2/Exceptions/lexical-051.binjs | Bin 7236 -> 0 bytes .../ecma_2/Exceptions/lexical-051.js | 45 --- .../ecma_2/Exceptions/lexical-052.binjs | Bin 8698 -> 0 bytes .../ecma_2/Exceptions/lexical-052.js | 47 --- .../ecma_2/Exceptions/lexical-053.binjs | Bin 7827 -> 0 bytes .../ecma_2/Exceptions/lexical-053.js | 45 --- .../ecma_2/Exceptions/lexical-054.binjs | Bin 8391 -> 0 bytes .../ecma_2/Exceptions/lexical-054.js | 46 --- .../ecma_2/Exceptions/number-001.binjs | Bin 8293 -> 0 bytes .../ecma_2/Exceptions/number-001.js | 53 ---- .../ecma_2/Exceptions/number-002.binjs | Bin 8287 -> 0 bytes .../ecma_2/Exceptions/number-002.js | 48 --- .../ecma_2/Exceptions/number-003.binjs | Bin 8678 -> 0 bytes .../ecma_2/Exceptions/number-003.js | 50 --- .../ecma_2/Exceptions/shell.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/Exceptions/shell.js | 0 .../ecma_2/Exceptions/statement-001.binjs | Bin 7183 -> 0 bytes .../ecma_2/Exceptions/statement-001.js | 47 --- .../ecma_2/Exceptions/statement-002.binjs | Bin 7241 -> 0 bytes .../ecma_2/Exceptions/statement-002.js | 69 ---- .../ecma_2/Exceptions/statement-003.binjs | Bin 10110 -> 0 bytes .../ecma_2/Exceptions/statement-003.js | 80 ----- .../ecma_2/Exceptions/statement-004.binjs | Bin 9781 -> 0 bytes .../ecma_2/Exceptions/statement-004.js | 52 --- .../ecma_2/Exceptions/statement-005.binjs | Bin 10075 -> 0 bytes .../ecma_2/Exceptions/statement-005.js | 51 --- .../ecma_2/Exceptions/statement-006.binjs | Bin 10347 -> 0 bytes .../ecma_2/Exceptions/statement-006.js | 51 --- .../ecma_2/Exceptions/statement-007.binjs | Bin 7215 -> 0 bytes .../ecma_2/Exceptions/statement-007.js | 42 --- .../ecma_2/Exceptions/statement-008.binjs | Bin 7209 -> 0 bytes .../ecma_2/Exceptions/statement-008.js | 42 --- .../ecma_2/Exceptions/statement-009.binjs | Bin 7038 -> 0 bytes .../ecma_2/Exceptions/statement-009.js | 41 --- .../ecma_2/Exceptions/string-001.binjs | Bin 8688 -> 0 bytes .../ecma_2/Exceptions/string-001.js | 53 ---- .../ecma_2/Exceptions/string-002.binjs | Bin 8764 -> 0 bytes .../ecma_2/Exceptions/string-002.js | 52 --- .../Expressions/StrictEquality-001.binjs | Bin 9273 -> 0 bytes .../ecma_2/Expressions/StrictEquality-001.js | 73 ----- .../ecma_2/Expressions/browser.binjs | Bin 205 -> 0 bytes .../ecma_2/Expressions/browser.js | 0 .../ecma_2/Expressions/shell.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/Expressions/shell.js | 0 .../ecma_2/FunctionObjects/apply-001-n.binjs | Bin 5655 -> 0 bytes .../ecma_2/FunctionObjects/apply-001-n.js | 29 -- .../ecma_2/FunctionObjects/browser.binjs | Bin 205 -> 0 bytes .../ecma_2/FunctionObjects/browser.js | 0 .../ecma_2/FunctionObjects/call-1.binjs | Bin 7320 -> 0 bytes .../ecma_2/FunctionObjects/call-1.js | 42 --- .../ecma_2/FunctionObjects/shell.binjs | Bin 205 -> 0 bytes .../ecma_2/FunctionObjects/shell.js | 0 .../ecma_2/LexicalConventions/browser.binjs | Bin 205 -> 0 bytes .../ecma_2/LexicalConventions/browser.js | 0 .../LexicalConventions/keywords-001.binjs | Bin 7581 -> 0 bytes .../ecma_2/LexicalConventions/keywords-001.js | 48 --- .../regexp-literals-001.binjs | Bin 5304 -> 0 bytes .../LexicalConventions/regexp-literals-001.js | 44 --- .../regexp-literals-002.binjs | Bin 3087 -> 0 bytes .../LexicalConventions/regexp-literals-002.js | 28 -- .../ecma_2/LexicalConventions/shell.binjs | Bin 205 -> 0 bytes .../ecma_2/LexicalConventions/shell.js | 0 .../spidermonkey/ecma_2/RegExp/browser.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/RegExp/browser.js | 0 .../ecma_2/RegExp/constructor-001.binjs | Bin 7271 -> 0 bytes .../ecma_2/RegExp/constructor-001.js | 66 ---- .../spidermonkey/ecma_2/RegExp/exec-002.binjs | Bin 25487 -> 0 bytes .../spidermonkey/ecma_2/RegExp/exec-002.js | 188 ----------- .../spidermonkey/ecma_2/RegExp/hex-001.binjs | Bin 20612 -> 0 bytes .../spidermonkey/ecma_2/RegExp/hex-001.js | 68 ---- .../ecma_2/RegExp/multiline-001.binjs | Bin 17210 -> 0 bytes .../ecma_2/RegExp/multiline-001.js | 68 ---- .../ecma_2/RegExp/octal-001.binjs | Bin 14070 -> 0 bytes .../spidermonkey/ecma_2/RegExp/octal-001.js | 78 ----- .../ecma_2/RegExp/octal-002.binjs | Bin 18078 -> 0 bytes .../spidermonkey/ecma_2/RegExp/octal-002.js | 93 ------ .../ecma_2/RegExp/octal-003.binjs | Bin 20091 -> 0 bytes .../spidermonkey/ecma_2/RegExp/octal-003.js | 87 ----- .../ecma_2/RegExp/properties-001.binjs | Bin 25100 -> 0 bytes .../ecma_2/RegExp/properties-001.js | 91 ------ .../ecma_2/RegExp/properties-002.binjs | Bin 38352 -> 0 bytes .../ecma_2/RegExp/properties-002.js | 129 -------- .../ecma_2/RegExp/regexp-enumerate-001.binjs | Bin 15907 -> 0 bytes .../ecma_2/RegExp/regexp-enumerate-001.js | 88 ------ .../ecma_2/RegExp/regress-001.binjs | Bin 8991 -> 0 bytes .../spidermonkey/ecma_2/RegExp/regress-001.js | 45 --- .../spidermonkey/ecma_2/RegExp/shell.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/RegExp/shell.js | 0 .../ecma_2/RegExp/unicode-001.binjs | Bin 19089 -> 0 bytes .../spidermonkey/ecma_2/RegExp/unicode-001.js | 59 ---- .../ecma_2/Statements/browser.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/Statements/browser.js | 0 .../ecma_2/Statements/dowhile-001.binjs | Bin 8081 -> 0 bytes .../ecma_2/Statements/dowhile-001.js | 44 --- .../ecma_2/Statements/dowhile-002.binjs | Bin 11240 -> 0 bytes .../ecma_2/Statements/dowhile-002.js | 71 ----- .../ecma_2/Statements/dowhile-003.binjs | Bin 13338 -> 0 bytes .../ecma_2/Statements/dowhile-003.js | 63 ---- .../ecma_2/Statements/dowhile-004.binjs | Bin 11180 -> 0 bytes .../ecma_2/Statements/dowhile-004.js | 67 ---- .../ecma_2/Statements/dowhile-005.binjs | Bin 9904 -> 0 bytes .../ecma_2/Statements/dowhile-005.js | 73 ----- .../ecma_2/Statements/dowhile-006.binjs | Bin 17305 -> 0 bytes .../ecma_2/Statements/dowhile-006.js | 89 ------ .../ecma_2/Statements/dowhile-007.binjs | Bin 22971 -> 0 bytes .../ecma_2/Statements/dowhile-007.js | 97 ------ .../ecma_2/Statements/forin-001.binjs | Bin 63472 -> 0 bytes .../ecma_2/Statements/forin-001.js | 297 ------------------ .../ecma_2/Statements/forin-002.binjs | Bin 16413 -> 0 bytes .../ecma_2/Statements/forin-002.js | 77 ----- .../ecma_2/Statements/if-001.binjs | Bin 6069 -> 0 bytes .../spidermonkey/ecma_2/Statements/if-001.js | 42 --- .../ecma_2/Statements/label-001.binjs | Bin 8770 -> 0 bytes .../ecma_2/Statements/label-001.js | 42 --- .../ecma_2/Statements/label-002.binjs | Bin 15009 -> 0 bytes .../ecma_2/Statements/label-002.js | 56 ---- .../ecma_2/Statements/label-003.binjs | Bin 2374 -> 0 bytes .../ecma_2/Statements/label-003.js | 15 - .../ecma_2/Statements/shell.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/Statements/shell.js | 0 .../ecma_2/Statements/switch-001.binjs | Bin 12971 -> 0 bytes .../ecma_2/Statements/switch-001.js | 65 ---- .../ecma_2/Statements/switch-002.binjs | Bin 12241 -> 0 bytes .../ecma_2/Statements/switch-002.js | 63 ---- .../ecma_2/Statements/switch-003.binjs | Bin 13082 -> 0 bytes .../ecma_2/Statements/switch-003.js | 57 ---- .../ecma_2/Statements/switch-004.binjs | Bin 29102 -> 0 bytes .../ecma_2/Statements/switch-004.js | 94 ------ .../ecma_2/Statements/try-001.binjs | Bin 14656 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-001.js | 83 ----- .../ecma_2/Statements/try-003.binjs | Bin 13828 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-003.js | 82 ----- .../ecma_2/Statements/try-004.binjs | Bin 9091 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-004.js | 54 ---- .../ecma_2/Statements/try-005.binjs | Bin 10373 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-005.js | 57 ---- .../ecma_2/Statements/try-006.binjs | Bin 15003 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-006.js | 87 ----- .../ecma_2/Statements/try-007.binjs | Bin 16367 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-007.js | 92 ------ .../ecma_2/Statements/try-008.binjs | Bin 13346 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-008.js | 59 ---- .../ecma_2/Statements/try-009.binjs | Bin 15558 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-009.js | 66 ---- .../ecma_2/Statements/try-010.binjs | Bin 18934 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-010.js | 73 ----- .../ecma_2/Statements/try-012.binjs | Bin 14002 -> 0 bytes .../spidermonkey/ecma_2/Statements/try-012.js | 95 ------ .../ecma_2/Statements/while-001.binjs | Bin 5418 -> 0 bytes .../ecma_2/Statements/while-001.js | 42 --- .../ecma_2/Statements/while-002.binjs | Bin 14612 -> 0 bytes .../ecma_2/Statements/while-002.js | 86 ----- .../ecma_2/Statements/while-003.binjs | Bin 14459 -> 0 bytes .../ecma_2/Statements/while-003.js | 87 ----- .../ecma_2/Statements/while-004.binjs | Bin 39751 -> 0 bytes .../ecma_2/Statements/while-004.js | 217 ------------- .../spidermonkey/ecma_2/String/browser.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/String/browser.js | 0 .../ecma_2/String/match-001.binjs | Bin 24303 -> 0 bytes .../spidermonkey/ecma_2/String/match-001.js | 106 ------- .../ecma_2/String/match-002.binjs | Bin 38254 -> 0 bytes .../spidermonkey/ecma_2/String/match-002.js | 174 ---------- .../ecma_2/String/match-003.binjs | Bin 22319 -> 0 bytes .../spidermonkey/ecma_2/String/match-003.js | 132 -------- .../ecma_2/String/match-004.binjs | Bin 32623 -> 0 bytes .../spidermonkey/ecma_2/String/match-004.js | 173 ---------- .../spidermonkey/ecma_2/String/shell.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/String/shell.js | 0 .../ecma_2/String/split-001.binjs | Bin 24705 -> 0 bytes .../spidermonkey/ecma_2/String/split-001.js | 112 ------- .../ecma_2/String/split-002.binjs | Bin 75781 -> 0 bytes .../spidermonkey/ecma_2/String/split-002.js | 270 ---------------- .../ecma_2/String/split-003.binjs | Bin 41618 -> 0 bytes .../spidermonkey/ecma_2/String/split-003.js | 123 -------- .../tester/spidermonkey/ecma_2/browser.binjs | Bin 205 -> 0 bytes .../tester/spidermonkey/ecma_2/browser.js | 0 .../ecma_2/extensions/browser.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/extensions/browser.js | 0 .../ecma_2/extensions/constructor-001.binjs | Bin 4068 -> 0 bytes .../ecma_2/extensions/constructor-001.js | 41 --- .../ecma_2/extensions/function-001.binjs | Bin 4077 -> 0 bytes .../ecma_2/extensions/function-001.js | 41 --- .../ecma_2/extensions/instanceof-001.binjs | Bin 32035 -> 0 bytes .../ecma_2/extensions/instanceof-001.js | 111 ------- .../ecma_2/extensions/instanceof-002.binjs | Bin 28509 -> 0 bytes .../ecma_2/extensions/instanceof-002.js | 127 -------- .../ecma_2/extensions/instanceof-003-n.binjs | Bin 24487 -> 0 bytes .../ecma_2/extensions/instanceof-003-n.js | 88 ------ .../ecma_2/extensions/instanceof-004-n.binjs | Bin 24653 -> 0 bytes .../ecma_2/extensions/instanceof-004-n.js | 88 ------ .../ecma_2/extensions/instanceof-005-n.binjs | Bin 24643 -> 0 bytes .../ecma_2/extensions/instanceof-005-n.js | 89 ------ .../ecma_2/extensions/instanceof-006.binjs | Bin 23991 -> 0 bytes .../ecma_2/extensions/instanceof-006.js | 86 ----- .../ecma_2/extensions/shell.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/extensions/shell.js | 0 .../ecma_2/instanceof/browser.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/instanceof/browser.js | 0 .../ecma_2/instanceof/instanceof-001.binjs | Bin 4818 -> 0 bytes .../ecma_2/instanceof/instanceof-001.js | 34 -- .../ecma_2/instanceof/instanceof-002.binjs | Bin 7059 -> 0 bytes .../ecma_2/instanceof/instanceof-002.js | 51 --- .../ecma_2/instanceof/instanceof-003.binjs | Bin 7425 -> 0 bytes .../ecma_2/instanceof/instanceof-003.js | 65 ---- .../ecma_2/instanceof/regress-7635.binjs | Bin 6372 -> 0 bytes .../ecma_2/instanceof/regress-7635.js | 55 ---- .../ecma_2/instanceof/shell.binjs | Bin 205 -> 0 bytes .../spidermonkey/ecma_2/instanceof/shell.js | 0 .../tester/spidermonkey/ecma_2/shell.binjs | Bin 205 -> 0 bytes .../tester/spidermonkey/ecma_2/shell.js | 0 .../tester/spidermonkey/ecma_2/template.binjs | Bin 2538 -> 0 bytes .../tester/spidermonkey/ecma_2/template.js | 26 -- .../binast/parser/unit/catch_explicit.binjs | Bin 1354 -> 0 bytes .../binast/parser/unit/catch_explicit.js | 6 - .../binast/parser/unit/catch_implicit.binjs | Bin 945 -> 0 bytes .../binast/parser/unit/catch_implicit.js | 6 - .../binast/parser/unit/let_in_fun.binjs | Bin 1459 -> 0 bytes .../binast/parser/unit/let_in_fun.js | 3 - .../binast/parser/unit/toplevel_var.binjs | Bin 1200 -> 0 bytes .../binast/parser/unit/toplevel_var.js | 1 - .../binast/parser/unit/var_in_fun.binjs | Bin 1445 -> 0 bytes .../binast/parser/unit/var_in_fun.js | 3 - .../parser/unit/var_in_fun_plus_arg.binjs | Bin 1639 -> 0 bytes .../binast/parser/unit/var_in_fun_plus_arg.js | 3 - .../tokenizer/tester/test-empty-list.binjs | Bin 17 -> 0 bytes .../tester/test-empty-untagged-tuple.binjs | 1 - .../tokenizer/tester/test-nested-lists.binjs | Bin 82 -> 0 bytes .../tokenizer/tester/test-simple-string.binjs | Bin 34 -> 0 bytes .../tester/test-simple-tagged-tuple.binjs | Bin 94 -> 0 bytes .../tester/test-string-with-escapes.binjs | Bin 44 -> 0 bytes .../tokenizer/tester/test-trivial-list.binjs | Bin 65 -> 0 bytes .../tester/test-trivial-untagged-tuple.binjs | Bin 63 -> 0 bytes 396 files changed, 10849 deletions(-) delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-005.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-005.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-006.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-006.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-008.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-008.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-009.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-009.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-008.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-008.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-009.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-009.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-012.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-012.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-013.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-013.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-014.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-014.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-015.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-015.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-019.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-019.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/function-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/function-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-005.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-005.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-013.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-013.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-014.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-014.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-016.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-016.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-017.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-017.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-020.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-020.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-021.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-021.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-023.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-023.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-024.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-024.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-025.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-025.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-026.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-026.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-027.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-027.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-028.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-028.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-029.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-029.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-030.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-030.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-031.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-031.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-034.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-034.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-035.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-035.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-036.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-036.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-037.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-037.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-038.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-038.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-048.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-048.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-049.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-049.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-050.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-050.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-051.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-051.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-052.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-052.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-053.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-053.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-054.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-054.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-005.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-005.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-006.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-006.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/apply-001-n.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/apply-001-n.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/keywords-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/keywords-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/exec-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/exec-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-005.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-005.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-006.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-006.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-007.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-007.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/if-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/if-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-008.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-008.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-009.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-009.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/constructor-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/constructor-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/function-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/function-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-003-n.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-003-n.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-004-n.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-004-n.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-006.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-006.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/browser.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/browser.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-002.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-002.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-003.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-003.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/regress-7635.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/regress-7635.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/shell.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/shell.js delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/template.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/template.js delete mode 100644 js/src/jsapi-tests/binast/parser/unit/catch_explicit.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/unit/catch_explicit.js delete mode 100644 js/src/jsapi-tests/binast/parser/unit/catch_implicit.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/unit/catch_implicit.js delete mode 100644 js/src/jsapi-tests/binast/parser/unit/let_in_fun.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/unit/let_in_fun.js delete mode 100644 js/src/jsapi-tests/binast/parser/unit/toplevel_var.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/unit/toplevel_var.js delete mode 100644 js/src/jsapi-tests/binast/parser/unit/var_in_fun.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/unit/var_in_fun.js delete mode 100644 js/src/jsapi-tests/binast/parser/unit/var_in_fun_plus_arg.binjs delete mode 100644 js/src/jsapi-tests/binast/parser/unit/var_in_fun_plus_arg.js delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-empty-list.binjs delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-empty-untagged-tuple.binjs delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-nested-lists.binjs delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-simple-string.binjs delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-simple-tagged-tuple.binjs delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-string-with-escapes.binjs delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-trivial-list.binjs delete mode 100644 js/src/jsapi-tests/binast/tokenizer/tester/test-trivial-untagged-tuple.binjs diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-001.binjs deleted file mode 100644 index 780cc2ce6512169cac6ac2210b079353afb0ff1e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8496 zcmds6TW=Fb6kb|dK&VxvzVcw+s1ONAedvP~sWAppr3PV(S2W%o?19aWH8W1|zvrB} z+k1(}A>{J3+V$>t=G?yX&A6|Yi;^Dn=adu&<6N+X%6`tWOy+z+vw{hlD|Sj{CKXZi zgjPys{eAs*KmPPzDXCDjFc7axJ|*Q?WBdeY1 z@Ny&W%LqX)umY&;3#*EZ$pKlYCBSefvhvED26$Kytr(birP>fes;s39& z072!lR99jB4p^57hWB;*g(fh!0Ma+V^!0;>_#p0&4@59BEve}bg0ar9;dNu0t|y9% zz!@#wXW((so$y>}^eMDG^moQ8rh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.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-002.js deleted file mode 100644 index 8dd55ed6b432..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-002.js +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: boolean-001.js - Description: Corresponds to ecma/Boolean/15.6.4.3-4-n.js - - 15.6.4.3 Boolean.prototype.valueOf() - Returns this boolean value. - - The valueOf function is not generic; it generates - a runtime error if its this value is not a Boolean - object. Therefore it cannot be transferred to other - kinds of objects for use as a method. - - Author: christine@netscape.com - Date: 09 september 1998 -*/ -var SECTION = "boolean-002.js"; -var VERSION = "JS1_4"; -var TITLE = "Boolean.prototype.valueOf()"; -startTest(); -writeHeaderToLog( SECTION +" "+ TITLE ); - - -var exception = "No exception thrown"; -var result = "Failed"; - -var VALUE_OF = Boolean.prototype.valueOf; - -try { - var s = new String("Not a Boolean"); - s.valueOf = VALUE_0F; - s.valueOf(); -} catch ( e ) { - result = "Passed!"; - exception = e.toString(); -} - -new TestCase( - SECTION, - "Assigning Boolean.prototype.valueOf to a String object "+ - "(threw " +exception +")", - "Passed!", - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.binjs deleted file mode 100644 index cbafbb8b74a1a914db38f3caa05043c630862675..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10036 zcmd^FOK;mo5N7%=&_jVwJAuY~(zWsKVUA>s+{IEOaEIS;gQp|Pod6Fb5E$2MRgyg9fms}-EGtFnb z&?@Qfn_qY7t4B(4sd;8ayvfTk%ZEnBXCN)(Y0f0i25bhRrc9j}!Tn2?2Wh!b`tTe0 zajo1FBEc9~fT-l7D6&MT9-He0h!3)qmZF#(eg)Fb|2{by^}GA-QP*A3$4e%|b9mLc zQ|Hz0+LtE~wxH!6wSNr`4*R{)>D$3WsQ(hwk4{Ht4-$Fw{eA!4@PT~)7S!|Wl+U#& zi-!n4);+(TL+d`2cFENuZ=-$Rw14bEdkcPa?O(d)!FTw8Ht2gM1smtwHYme@CkQwO z7%b{AUCM}A4ef8mzqmaCUJ~;R_mVp-?t|qRv;P)(Iy9NW^ zahk5yu|;(IYxv7Qzx_W0TLbR564oCfthipjn#)p`dO7E>6xSm$<9jc6igfIgp{FmV zVE`O`|M-5S_0VH^9$z&rpTZ-~6DB8%W)c+poxI)D`M62|sgioc6+ucL$Ta};fACjo za8&pB{QMsLypn)ke*(qia#Ws`ll5d8ch~S2aFoeq^v*CpAf^&QJ<0h8ok%g6Mi6$` zhk|~JN@%F=KxC`5-yPti)1BzFuM>ZzL1<<1hHm$=-5MQkoi3{K$*(3zs#a-@cbGcb zdND!4ubIes)||YR08@QWKClgR`Bq~41H^Vvb^;sk=&3BP2r2hk!u1*Rp}K8>_nTJK zP8EE?U;?mP1&`#i$84Xgjcg1$CP#g?Vj< z@dTLVHzaU%hM0;$i=Wrd1gm9rc;a2ADH!l8vOr@TZl5a|TUJIX-j*AQ(gy5|hR52& zWt4B`hcN6ClLC2Q6j0e1ZvFlU2qo8XId0r1Vg$BXeRid;=)XwM`E1PPic{tIUzj8$ zz{!Dl>1Ehw(jtf+ke4x%b$i}Tl|{D2j{2`JiuGL4q1FKSxfJP&8I>I}m}UNj4qmAc zUs>VWye1gja`=QJMK>9+(Bf_^lGW`q{Lu8cToiUT8Zl`co^6_!Vu&lSvnJBirO86` zoYa(jh;u|X8<%)bGY&i&XCN{0jiput zpueXHjiMiW*jlj9r+}>u%|>Q|x*VDrV(9nKkvFfTKI2tD^abFrw@?W8K`L-SinEs< zQ{;rkJ7HY>VijInHP6;t{X3XRJPnbpcN%+;5KBrse{>3d)j2n;aPQ^s9s4*83=e81 zhO{tStHyHa?7{vKw66D#FB__&Rk7TFLv`|7yMW+O6P7yJt!&@4O6(kvO^mmJuu)w* zu0XqDe5-gNtms>q`mza^uNMWJ(3b^00mIM3fDKha063A19M(X^pqa$r)8n( z!Tt)R+@9&7UfYms4T7a-582>9z$onsLKEg4c`MJko|ak9TZQvSp+-}}U*}B1@jo1h zS-xy;mEqZrdE@NBG46VPd{LEv+}%hS)O?{J)KJXeD~a&V8GNeX#W$QBdLDjJDuL-? zd3YODm_ar$Xnt*XNW?d9HipS9+ZX|}g9%{;?JjnXqrV6bDlskPjA&M7GXSIbnZnKF zO+IX&_;mw=IW?IEZ?FXHMf`?a%9#Qy diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.js deleted file mode 100644 index 0f379b541276..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.js +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: date-002.js - Corresponds To: 15.9.5.23-3-n.js - ECMA Section: 15.9.5.23 - Description: Date.prototype.setTime - - 1. If the this value is not a Date object, generate a runtime error. - 2. Call ToNumber(time). - 3. Call TimeClip(Result(1)). - 4. Set the [[Value]] property of the this value to Result(2). - 5. Return the value of the [[Value]] property of the this value. - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "date-002"; -var VERSION = "JS1_4"; -var TITLE = "Date.prototype.setTime()"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var MYDATE = new MyDate(); - result = MYDATE.setTime(0); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "MYDATE = new MyDate(); MYDATE.setTime(0)" + - " (threw " + exception +")", - expect, - result ); - -test(); - -function MyDate(value) { - this.value = value; - this.setTime = Date.prototype.setTime; - return this; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.binjs deleted file mode 100644 index 294fe9a44e7e1d1777e7539b0ed1c483b4fd19b7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10201 zcmd^FOK;mo5N4Xb0`yRzK+ihbC>pzHZ&eM%vXeTnrj1j7XXQWdC}2_AJedJpve&)I+WaPP#Cb;LrWwj@00w z?(zBgBlvkE0lWSNe#zx9KhMYI#We1g&=*jY$wlza&^}ce3pc?N6;Ps`AP2B~_%xIZPdGyp^Ef zw@jowsb9R608@QWKCm@p`CelC6U4TkcRUyG=!wj42qkw~{P7vHp{l09`AsvbRR(`x z(Ehi};Gtafn2sl5??M7U%9BMDuazJxoR1;t8KDn z)dvD8MNGnm8~0KJ2j}L`r`QVoub$c!S-DKtDQF8thHCkGA`BxvG0u?i1_4X`@5av$ zfjM&>ct>qJyy-UEmZPKpBEI0$5tl1YM`AP-|Ct6KZo5+bdC zZF^&q2-CpLKU~I_j^<9EE7V#8s}?@d7(2Eokk6hJKwH%YxqA{#eC2e2UUwy*P7C*wCAM_TvH8B)c)!~Oj~J8*}aYVPfq z^PB=zV+$~AI(yLNg8s5-R|-@`qnx<|j;iE0b^$S>A}m$18`-{YvuGWVb#!%wk5@U+ zawBRB^^M|%=%VjoHqFLdzMW_A5ka2Ow{#dfq28!P7Q^u!&+J&&u)&mPV?Ci?AH;d4 z>9+?f(6>3^TiZ`!@)fTF;U7=EX?i$UF69N+lRW7;yKqh_)Nn$G?2JkHMgd;i6~x(` zDnqy}1;-hOrQXX(?uhb-WeG^)jg)@HXB0vW#1uZ|@XwsX_Y_Wi&HGKSCszU&h^78% zRAC10K&AO@(clo@oY@#AyMJQ@Oh4n12ejMRS+f4ZUs#H1E~iAZGF<_@GMFlSk9?O8 zn=gIYKyQvMR%#V^gDFsa>EivcchDPM5MdM>I;7&=^9CQh6j};)IepJwNcn|z>x{o z&LLhe*KHg}->!))z%aF?Wx6B@}e5TpE)`rGqj62d$edO>xTGl9QHmDG% KsfJoCU;YoXu{k&Z diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.js deleted file mode 100644 index f8f48c6992f2..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.js +++ /dev/null @@ -1,56 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: date-003.js - Corresponds To 15.9.5.3-1.js - ECMA Section: 15.9.5.3-1 Date.prototype.valueOf - Description: - - The valueOf function returns a number, which is this time value. - - The valueOf function is not generic; it generates a runtime error if - its this value is not a Date object. Therefore it cannot be transferred - to other kinds of objects for use as a method. - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "date-003"; -var VERSION = "JS1_4"; -var TITLE = "Date.prototype.valueOf"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var OBJ = new MyObject( new Date(0) ); - result = OBJ.valueOf(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "OBJ = new MyObject( new Date(0)); OBJ.valueOf()" + - " (threw " + exception +")", - expect, - result ); - -test(); - -function MyObject( value ) { - this.value = value; - this.valueOf = Date.prototype.valueOf; -// The following line causes an infinte loop -// this.toString = new Function( "return this+\"\";"); - return this; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.binjs deleted file mode 100644 index 703b703cbddbae48ba3fa1a5f1c5b09535292651..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9856 zcmd^FOK;mo5N7%=&_jU&J?j<+MdK9ct*QZAwo@0jV^l(bo{AN@k+z|@!tTnp{(Wcm zIg&_ORQ&FVCN0iuXTJSrmR&QOmVB=}=B(K3=SoaX_IZ|NI+s(P6+-dch)b?BZJ6N` zUKyQrckQpc^woW>xiY+PBHosA$jZKz@fk=fcwREai*q&sQDdeLt>B|eRz_*1&}Q!& z_;Ib=Ln6T%Sb?bQqo|5Z=pLJz8HkUvv{9lO?R^E(&i+2!9~^ae{iCkGqK}tM#pm#< zcc;#)?X}MjA#730J!=0N9PA(U1}E>%A42_?pnh;NIDL@FqwnvJ{^~!F@85!Yex38F z5wd!S;A7tN>nW7(LuprB&&oF1cWwEnDs;EtN7wzQYae`v4`_kDXG*YP$z6dm40wis z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#Z2?RS{s@mF<#wn5pP3cEj<1Y&XLFF diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.js deleted file mode 100644 index fd8733cbddcc..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.js +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: date-004.js - Corresponds To: 15.9.5.4-2-n.js - ECMA Section: 15.9.5.4-1 Date.prototype.getTime - Description: - - 1. If the this value is not an object whose [[Class]] property is "Date", - generate a runtime error. - 2. Return this time value. - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "date-004"; -var VERSION = "JS1_4"; -var TITLE = "Date.prototype.getTime"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var MYDATE = new MyDate(); - result = MYDATE.getTime(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "MYDATE = new MyDate(); MYDATE.getTime()" + - " (threw " + exception +")", - expect, - result ); - -test(); - -function MyDate( value ) { - this.value = value; - this.getTime = Date.prototype.getTime; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-001.binjs deleted file mode 100644 index dd891947615280122a1dd91e955bc7ad041ddd4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7414 zcmds6-*4MC5N7v#4+Hiz4A_evS8PLCpihMnpmm)tLy``&(U)N;Xz6UTl|_T3l6rrA zkCe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/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-001.js deleted file mode 100644 index 987ba0af888b..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-001.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: exception-001 - * ECMA Section: - * Description: Tests for JavaScript Standard Exceptions - * - * Call error. - * - * Author: christine@netscape.com - * Date: 31 August 1998 - */ -var SECTION = "exception-001"; -var VERSION = "js1_4"; -var TITLE = "Tests for JavaScript Standard Exceptions: CallError"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -Call_1(); - -test(); - -function Call_1() { - result = "failed: no exception thrown"; - exception = null; - - try { - Math(); - } catch ( e ) { - result = "passed: threw exception", - exception = e.toString(); - } finally { - new TestCase( - SECTION, - "Math() [ exception is " + exception +" ]", - "passed: threw exception", - result ); - } -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.binjs deleted file mode 100644 index 92a94cc663738474d76550c67a3407a9ccdcc000..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7599 zcmd^E-*4MC5N7v#7zXTdSYPzGp)1l3dl(8MK^BK~h3IOZk+hV}tPpq9qWgR6ue;mk70>@~HtHUDDK{rA(^h zukhnm+@}G8*={P+h%8}ba_idemVI5?`t2h~#>dP#*F z$N7~_ZKmzCg>P|*@n|?XeR1KI>018I{+It6m!F(Y&PE#-KalOOM*obrvE46!WQgG3 z%U85xQ2u9N2ENk+;VHeMg3)OTQnB*ZnL+{U7@?J)q%c!Nu=&C(btRA*=$>CB zbkzYMdma1XvVt}`@l+A4NOMN^8ii2}WIxt3Buq zor5?jGHfMy78YpVAU>0iH)~ zY-7VdLuXnuvBcb=XDnAKW6ouJ^Q!$++tH4yg8O6hOeb;=P%Ho8`U1hvpI}7*%Ij%o zH=rW}Jzb8>m0pIu<;@fzN*1Sh|3#wLR^>jMo|U zoT^2Wf*Xql%d)lVDLnpRz$-(x^7f%hGu2&1m~Lw7=*Yv1th}o844S&J>#pw_BxyjJ zqc-V1NRXEJK{*c2K^PX5iKXHGJ+yrL+;2GQ&>eUU?6w8nO}d!hy{|$aeF6>NHjaDe z#Gf%JbBfZ5IZ@|9xbk_?TkmLCx#1Igqen*D^@2hRJB!a@IR&w%jC}eAe;FXT(CxKy zG4W@{2^Pc}T!TbFo0Mt0N3r0=JO zRC)n-5^IjB@e5BcmTY|;audb-cvnHamFgEAJt$AQg!uKh=wGi>5tC6fGD1f8a`Xmu gX^WWN#^|4CqW_wk-V1m?P2bs1*X5)RmAT3A2OARNzyJUM diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.js deleted file mode 100644 index 74ce79a96b2d..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: exception-002 - * ECMA Section: - * Description: Tests for JavaScript Standard Exceptions - * - * Construct error. - * - * Author: christine@netscape.com - * Date: 31 August 1998 - */ -var SECTION = "exception-002"; -var VERSION = "js1_4"; -var TITLE = "Tests for JavaScript Standard Exceptions: ConstructError"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -Construct_1(); - -test(); - -function Construct_1() { - result = "failed: no exception thrown"; - exception = null; - - try { - result = new Math(); - } catch ( e ) { - result = "passed: threw exception", - exception = e.toString(); - } finally { - new TestCase( - SECTION, - "new Math() [ exception is " + exception +" ]", - "passed: threw exception", - result ); - } -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-003.binjs deleted file mode 100644 index eae0e9aa4c3eb5a05f626dac65c835bb2503b8e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9041 zcmeHM-*4MC5N6l?=pF{_aoAq8KDAiawAl92c>x;N=`y70FdKathJu!8i>)jgB%Rdz z>vtr@ABrePa@;J<_M}LbKHeSgzWa_D$knnS`-7a|Y=4|`x|HZPLP(@+Nl->PNhLic z0ttyFS&&i+G}zN`55iBM3PHFenSpp-uqiIa8sj5C%Sc*aPO=lc0H_>`XBv2PiVKHU zP$Bm}hL@wb&jJK(UH< z+&#ZF*sJ`BxwX~upTH86qsj5eEz-6)7{2Sp@2JHwpA-4|@xQUYiv6q6ALA~u_wMiM zEb#Z{7N7>^mw|que5+;2E6gdL7Q}25mXwu9<(3_V>xk5CE-w7I>ATpmYfKoyj8$ZO)KII zsgS>bAIQ6uELBjxfAr`Fp9~h?U3GAysdys-+(<|3cv$hh1FWk2jd=X}$Ny$vBP6$z zu>J&Loe&{KGGjdX4WDAuT9UEEWrlf{jBHkmCy8OY5$DV^x=UnhPemd2Hr#bzNdRy9 zoGvNiE6i4G_}LH_h5uBOLJE%vLBPDL_HOAJA^5tD8$O3fK=*=uO9 zU+(((`6c*y#)02{1ua7OgdMYai@Obm2ByV)?Y+|y0Tc{Zw2ulhlZexK?rFMWM+Nkq zUnC6Gdw}e~ke(ABRi&O}u_78W&a8iyKpk zN`=cEkPV&_ez+=Of?#DR%{~QuDxQjUnZorsDXTiw%BUdaT;}2Ek+M>TgU31X*Ii|8 z+&-`g8U3gKsxm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+gKX&by?y4)hk%f zL0s7$H@7I)Sr;NZny$Ul)$VILEI8kajoY{ShGfyDmX}1w($>>xrT;9Z(>UU(!L?Tz zb=s;gKH~J%P+Lz%UKRG*FEDcM$2MIBwn*24G}JN9jS{X4q^P(D?_~_L+C-by!+UJ` z_N9d3yhr!o4Y2zb#5d`QehI#ceRKyoVOw1ooMV5)z%D6DG3HpESK%V$*y_jup3}+CC9mOX4T)zWM4=wceW& z>VA$-^xh@%Q@Dt7oW5t@|CN_MCVksArZNb)mssQU)_;ozv1IGZm76Hue|NDoSgC$O z2V)8H=FyyrM{koiL8lTXlXhgpj2`6ZYt*GHVg?(dIhed{Z+b7_!!&(oKW)lMJ(p%T G8U7bbd;K#2 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-004.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-004.js deleted file mode 100644 index 41b7ac3aa4ec..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-004.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: exception-004 - * ECMA Section: - * Description: Tests for JavaScript Standard Exceptions - * - * ToObject error. - * - * Author: christine@netscape.com - * Date: 31 August 1998 - */ -var SECTION = "exception-004"; -var VERSION = "js1_4"; -var TITLE = "Tests for JavaScript Standard Exceptions: ToObjectError"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -ToObject_1(); - -test(); - -function ToObject_1() { - result = "failed: no exception thrown"; - exception = null; - - try { - result = foo["bar"]; - } catch ( e ) { - result = "passed: threw exception", - exception = e.toString(); - } finally { - new TestCase( - SECTION, - "foo[\"bar\"] [ exception is " + exception +" ]", - "passed: threw exception", - result ); - } -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-005.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-005.binjs deleted file mode 100644 index c26291f34d4ff53fa476038e8b79bb1d53c7ce44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7675 zcmd^E-*4MC5N7v#0|xAI*j|LbZbMpN!+^pF(7H~SAx(za=u1%)v~;%F%A!D0Nxi>* zM^gNuNOG*iS&HmQ5iNe?9l!hTjv1+{%;9jf0-7C8Q^86_J|%?6l$SsknmRS55~q!O%H9)5{v)5&;te0DlIsK-Y2QyY0sg&%(~ zI;idGGV5B)e~wGcj%OzmzewNWxbb~2{*7LopUvOl0ls~F7dz12e>M4gx{LRN0}c!i z!n=J%sFD3;WCp&{1Mxw@JSFK+!E z-8uuQWU}BQ`IDYgn_QBqqD4kUmP{P0<&(r|-9!i;RNYhA?Wh(J_Zpvjh$URW<~kEp z5Ms>5Y&>mD^E^y7vXJ5s0HI=8^=HhW3DN96b@&>6ff-mR?T|LjS|aJ}bI*9gVY!db z&hOC93xNvv2i7AXX8eRNd(3TVG-@psn_!(O6R?UATKGv03q=H5u7Xh4`lx|^3X8<9 zx&_EV$KF}Mbe-v7&C*6E!Dxr+p0N`K?RbkAIP6Oy=!WAZ!y$fr6zwaloE`Tj7IiJI z_8>QO3F4?Ku#ezHT%LV__)I>Pno+L))fbc zyCSvjoImpITJ5It#~$eJJaN6a<+;(l9CE+RIp;R&5(JOWX`jV9ngQdf~{H6 zx{m6vCW7u;3`$oo#pIN&v7hsEPOzzR@GYZAch7Ug#hT_GLYkC@lDw7#Yt4SRMm?^5 z=NERN;hwQGotao)UZY>MtJsk9x!$~LKQ(rAO-;f5v1OstcmQbB{;<6~2=ixH4}c14 z+S>}~z(7w|c}J#?T{l?te?;H~WjSO|l7c6`DM-{x@Qb299dsRBaK|8x4*m!Lx9m?{ zJb7E&Ms~RLv})9JI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_8l^=F`#?!3fM!Fo}0w?4}K?B$#SFS@sKKmZ-5dr3Z)oS23QTSt56*T z>pcxis>F;5)~tx$unao3xs?v@Z(S#~$m_cviz8@2>`pVsHp0iYhq!mlH{%mj)#k;#t zCarszBa9x9C-+}ZzWY9ToUGjVGl*BhRZ|S$hbd%fv0GMrb`v3p{ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-006.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-006.js deleted file mode 100644 index cf9df729c827..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-006.js +++ /dev/null @@ -1,56 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: exception-006 - * ECMA Section: - * Description: Tests for JavaScript Standard Exceptions - * - * ToPrimitive error. - * - * Author: christine@netscape.com - * Date: 31 August 1998 - */ -var SECTION = "exception-006"; -var VERSION = "js1_4"; -var TITLE = "Tests for JavaScript Standard Exceptions: TypeError"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -ToPrimitive_1(); - -test(); - - -/** - * Getting the [[DefaultValue]] of any instances of MyObject - * should result in a runtime error in ToPrimitive. - */ - -function MyObject() { - this.toString = void 0; - this.valueOf = void 0; -} - -function ToPrimitive_1() { - result = "failed: no exception thrown"; - exception = null; - - try { - result = new MyObject() + new MyObject(); - } catch ( e ) { - result = "passed: threw exception", - exception = e.toString(); - } finally { - new TestCase( - SECTION, - "new MyObject() + new MyObject() [ exception is " + exception +" ]", - "passed: threw exception", - result ); - } -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.binjs deleted file mode 100644 index 61291adfb13df53514938f1983868e1c4c2dfb29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10062 zcmeHN-EZ4A5Lfrv4cM^90e#Wqif%}z>GHC7SuUr1q*HTiUXq-VDCwxGXp2qkH&|(@TM9{cPCIB@i@=ybJu1I3h z5+>FDXYg?)?xBaE1xx`dc+b)}V6si7Y6kEYODe(A(f${Jc5rdry*NAQylL&^qpkdj zYF-gx$6D5xgW4GWaJq!E>R}2M~l1Z2?P}0s+h1aFBg)5(9g% zA)_KdXdS@j^IVWhPpOK^Q>Lf@hS71}`7jk!O4JsCfmCMH3X&s#1%IF)B05E*{II+G zi*p8pZ=c$@m0|EG3|w+Yqqy%%jSY-Z_D=4-efi%sYz4_|#H=sDtbHn#42N8VzmqGH zW!SK%NE#CnhaKb9@>Ll2=Tq7dg1f9{{n&_;Gl+ThH~qo8_mYHPrE6mc$I|4dy=%Gok57jr|rk;;Hf* z+=c48ei>WcaOK+vG6h+It$*eI>iefrt|rK~d)WJj0smanpHp3cy<70>#vGQsB2; zQeQSE@=^L?egti6lFXf}p+D-PFd`}%w-YjxG#KJn>~A=kH3`{=IY@Z)UZ*svZ*-(N zz;Fl2{^ur=^t6rET&1S`;p~0gSh|BVf%{10D?6StLsvQL7K>@bEj@LOVv9^a2-;qB z>5$9rK=P(6zcKNfvqFxrA;f2Cc4_M3Xkf=yU8I&mr39%1T6e-;J88n-JG`Qnsel}E z6|<7dz5ANiZMlifYkuKcGZE? z-nwD#D!#`!ZCr9_(vG?Lwd^j+-CS6 D;*JvL diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.js deleted file mode 100644 index bae0027b5ce7..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.js +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: exception-007 - * ECMA Section: - * Description: Tests for JavaScript Standard Exceptions - * - * DefaultValue error. - * - * Author: christine@netscape.com - * Date: 31 August 1998 - */ -var SECTION = "exception-007"; -var VERSION = "js1_4"; -var TITLE = "Tests for JavaScript Standard Exceptions: TypeError"; -var BUGNUMBER="318250"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -DefaultValue_1(); - -test(); - - -/** - * Getting the [[DefaultValue]] of any instances of MyObject - * should result in a runtime error in ToPrimitive. - */ - -function MyObject() { - this.toString = void 0; - this.valueOf = new Object(); -} - -function DefaultValue_1() { - result = "failed: no exception thrown"; - exception = null; - - try { - result = new MyObject() + new MyObject(); - } catch ( e ) { - result = "passed: threw exception", - exception = e.toString(); - } finally { - new TestCase( - SECTION, - "new MyObject() + new MyObject() [ exception is " + exception +" ]", - "passed: threw exception", - result ); - } -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-008.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-008.binjs deleted file mode 100644 index df519739a5d845c99d2b50d283965ecba08b0cc5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7686 zcmd^E-*4MC5N7s!4+Hi%U@tiCtm{Ecr=`xK0hBESMLVZ6^*>$ zI=nv`99QW-?}d4~=7+WKd;ZU1{>ka&Y;=gp(f2P#e~)+ZJ=uQj zSU`K>9svoyaJK{Z7adz;$qTL}pXQ?6CT^uF81l~Xqa+`oX@!Q+as(e;t+X%(twmsnrnLwQ zsgS>ce~7D8tk5aH+`aodk-_7KYw2SD7+dmDIJiN_HcNXu7^Cc!x%cwd|EFVHL}o8; z{SDkY5yqNirgZWrzu;wRNye5J8P{1d@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JJj>PH(L^IDXq(~0ymo`B1U3lUu({|(-Tc&hFExUJrNKZQ60%uqV0@xerZpu1lv=#4-yeZE z5fwt)*zsvm1yq>ts%(iv)>^Iq0N@3Nc`$pLB#bA%`AgJH@Jm)*&N0PZ;aL|Jamw(~{AeI#qFJ z7+t<(_NXFg#n|85bbL`MT@^@^)Mfx{KDID=;j;vkr!a9{fnv+IpY+P;9=rs0SLC(g z&yX>Pq6T~DL|QBMZ=l!{OmnT+pwZ;Arh$n0(MrJ@_~uFN$nCBs|2-|;WAXBLruy%S zo&$0jh`pylLyNASF?v`MuPxrq#_8X|Bc*1hRh;+N(*6SbVz70RB}%NSn~%BCYRlWU zK&?TW+JLpv<;dM|JGLwEqm}U8NnUNy z7Vtd-PF8KlVSY+86&1aUo{x&2rJSR#!}za^pt~P~GN}3FLgkRo;j@o_=N!Jh zIQWWD=z*7sl6hRraqc0c(JdJ8=Mn+^o8d|dqkZQW_UTY86R+mXgmbdcl-YyzEj}yR zRcvSJjWItf5`JhC>cJZr#ny*5X3pWv1lX58NSVUK-OU66-Gj$&yfaN#UA&z)?%jsh fDu2BH!{P0Cue=TD|MPaIrEycDt?}07U-|ZDmmXOj diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-009.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-009.js deleted file mode 100644 index 1229bf561444..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-009.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: exception-009 - * ECMA Section: - * Description: Tests for JavaScript Standard Exceptions - * - * Regression test for nested try blocks. - * - * http://scopus.mcom.com/bugsplat/show_bug.cgi?id=312964 - * - * Author: christine@netscape.com - * Date: 31 August 1998 - */ -var SECTION = "exception-009"; -var VERSION = "JS1_4"; -var TITLE = "Tests for JavaScript Standard Exceptions: SyntaxError"; -var BUGNUMBER= "312964"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -try { - expect = "passed: no exception thrown"; - result = expect; - Nested_1(); -} catch ( e ) { - result = "failed: threw " + e; -} finally { - new TestCase( - SECTION, - "nested try", - expect, - result ); -} - - -test(); - -function Nested_1() { - try { - try { - } catch (a) { - } finally { - } - } catch (b) { - } finally { - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.binjs deleted file mode 100644 index 57c5ca8370f5c6bb375760b43b9333477e0bc05f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5191 zcmeHLT~FIE6gB()l=ix}>}e0v#)l?NOjRXlGghf|h!(WB$uyV7T1YC}Y1zNuwG+oK zN$A3$f@v>=xb?B`Imh>2wd8TGymTI=~(D}Sn$W|SA>I5&@{Dy%Cl z{}7iL^+tWaSY(BZtJshI!(p@7*R=|31sD1ik&qqzZ%hAup$1%_S=N(j$O{?N;?4Q?2ayNPN(JrNpbe&Zx+FB(@g>K=U|+DN8FrVn zBHliWstBjpztv^Dk}n%;qYl9UPj`0KJ&D=%Lxog}<@i617h4-eKm6=% zZGPI`UL}oq=U|gq)mm%kg~kvruiHY45Aa^*cguEhV`@yGN*%y?Vy|_@O~wdhp6)s}^hVim z0CPL@hFU;Hmg@dGR6v<5ouMA!R~Bw#*2m8FRMuSW&1adLT?MXFX%}}TZMqTw@bXuq z&)?UpWlUZy_;w!!SvszzgXNJUGYZ aKk(*EhF%(vX^IUy4(2~l{COL+sK9RyNxr`T diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.js deleted file mode 100644 index 46fe72fddb23..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.js +++ /dev/null @@ -1,25 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 4 -*- - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -var SECTION = "exception-010"; -var VERSION = "ECMA_2"; -startTest(); -var TITLE = "Don't Crash throwing null"; - -writeHeaderToLog( SECTION + " "+ TITLE); -print("Null throw test."); -print("BUGNUMBER: 21799"); - -DESCRIPTION = "throw null"; -EXPECTED = "error"; - -new TestCase( SECTION, "throw null", "error", eval("throw null" )); - -test(); - -print("FAILED!: Should have exited with uncaught exception."); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.binjs deleted file mode 100644 index de5341c5a2357ccc32a02e21200be9f1f19a0b0c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4888 zcmds4U2oGc6!rKsUuQFsD`U>o8IRh32>pi&vrQYPMzm)tehvZS(|cKmy;oj7)v zbSz`71~2oH#^?H;b9{Z>lf^WJelGzU_rr*@sU$ZEAtK7BKw`!rl57To2uUTJKqdw0 zZR)Rk?$jM2fJ=x=h|g($NYhYb+(5J#qLgxocj*a2B~%PFa4@53jg~SY`zmxR?!ZCN z3(OFT9J4GYO!#yv3xuz+gybxn^zR~C82IDix82@m^{!WqD$Enxo>I}Hfk>PBO)O?`rn@Z`#`;LX*!^s(ZduBDpKBTZEssM82oxHDK?L8CjSM&4Li1F z+L_=xNO0hP-TC?MQp{QnLsQ|jm|(RvUU3ESX`0%p+Kv&v0w9!6isg0EdeND^%$4^s zHLSZ_jzP#~c8$$x_%x%t;D6phE!DIw&(8jNh9nR2?1l7vPDSF$gy(ZCD_)VsaKti* zo6MWQRZ%pLF5gz(>*uQ{nDU%sCHsP>KJalq$|ubvwY?g(7;7r!zif8;Fvebis{&6_ zIFf|3Nn#6fRRgj`o3z0+qf0`k6`!*g4E7mon%8bf zE8_LDsLF7PP294w*YIU$ZJuI;?`DgayWW#nXWzEywRkXJA(z-Tvq`3o3oFJ#Zv*Ea zLw5cc&mEA~MN3;9)w~UY(BB{KEjGq&X?14xF{0}VdZF@Jx$z22X^B`Hk@qmw;Kv@` zFM>hSGj2|uSyb)^&U1S`sXKC`k{R7NHuX*$dKcz)=89SwMV9Jfd@7(xmfl~t@RNmG zg*CIYJhk!H+reMR(yk0wDYuKemY!3o0COKX_r17isJzbOs)r cVj~-Sb0!l!b0S(`^NBC38~4Re^F`172K^*kKL7v# diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.js deleted file mode 100644 index 17f19723db73..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.js +++ /dev/null @@ -1,26 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 4 -*- - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -var SECTION = "exception-011"; -var VERSION = "ECMA_2"; -startTest(); -var TITLE = "Don't Crash throwing undefined"; - -writeHeaderToLog( SECTION + " "+ TITLE); - -print("Undefined throw test."); - -DESCRIPTION = "throw undefined"; -EXPECTED = "error"; - -new TestCase( SECTION, "throw undefined", "error", eval("throw (void 0)") ); - -test(); - -print("FAILED!: Should have exited with uncaught exception."); - - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.binjs deleted file mode 100644 index 29154ca6608f9f9378c678825afd61911f47f38d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6801 zcmd^DOK;mo5MHNg+U8L7)=LhAPcD+yagtM^s<36XabY`wB^b#mSdkNHYl;+>D=Yr@ zomp}pGD+Dh*m0d)MDelT>^#1CY)8#!DRes%;7NB7OEFXI8^%}>=QCi5kPs_z4h1U| zS1^T46|A$ZzwY=;cZ&j~f~17_JIzNt9cYXPh?YQ{atX;XpCZ(R7yBBxf6h~jmWo1k zzr~LmarZq0y}=Bj*qO)@CW;=PsX4-1tU^hVjl16=+MwSX9=tj3Y*)`Z)s>Vy=h8mM zwUs_iYON)nlo=ij5BpZgXB1AlpY~4%ccl9dC>}n=FjFGW?n3`ZxB&^pJXHbGw{;M1 z*ig{72!z3*|9156V|w66$tjnDk5VY3gp5ws?bq3|lAH1Xk3D3Hi(&9DBa8Ctj?Z3!63JO{gx z3i(HT0rtCJpFiJm?l1!EwY0Ih^;P*IEL@{wlcvEIrY!T%VCTcDuhXy%N%ls}`UK6| z%aLKkW}Ze^4keK|+KT>+evf`x%i4}H15-{lbsR%1fBfk0@icWyHTh$F1i-i)&)bW# zW4^b#EeBA>#v(7(5DG768e`T{p?P7h{)U~n|DT>ep`HtgdF(Z|JRpbpVLq-qQ>$Cc z#F$aJyl~p-PQ*k8OW~tpQj8}q9amY9fSx)bzNu~jGRWwgl6L1^GO#c2-W#^1b-fYW{*1Og z&Li6yM+;s=Y9jN6*CZQB_S)VT4dq3Tt9atlEcKnEJh@;oJ@2J_Ubv>r_tRdQ$7i~h zl(Qb@{_6~Qdf6J29c~M2TbWju`|Dbkb@|n)MIV9fBk!(CKBRqMr(35+bHxZ|-)|`3 zoXhCw{fE=tljx5~$vI%lvDtt3_GD-CS^4M1CiWou(aX*HRxYvg8gZn9s0tREjH}tA z^mBDnhLxEd{7^E(|6V@N${F7U$jClhHTTzIpa!WURnIQ%^S%xeYYq&OYLlfs+`Yed ztiLoxxeC-eBrT&`@FlQ2KbOg z)w=eU<2lu;x>kA9cdFAoC>=S~9l$M{E}(L)J5rDdM0^C(5y(q=<)eS`u#n9pHN@(o zF-JT9dy9!!O{WqqgsXb$?{SsN%aaJpdCN-80{jAZq5s+!HYZdrzT))_1i~>aJY|WQ zH$S|QF=%e<@d8?mL6vJMB?S56+GD~k%ro}`GPu$|qe#f7Q;zMRIY^5{7V#+d&K+!9 z7S;Xg2WPN&^5_<}p0H>@HZ1Wa1jWl0si+A*SOdxrE6!p3y$54c6>2LMK5&pxR+YAv aJmkxAStO_st()qDRHN*o);l;_*8D$wip|CV diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.js deleted file mode 100644 index 90b44839ffc6..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.js +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-001.js - Corresponds to: ecma/Expressions/11.12-2-n.js - ECMA Section: 11.12 - Description: - - The grammar for a ConditionalExpression in ECMAScript is a little bit - different from that in C and Java, which each allow the second - subexpression to be an Expression but restrict the third expression to - be a ConditionalExpression. The motivation for this difference in - ECMAScript is to allow an assignment expression to be governed by either - arm of a conditional and to eliminate the confusing and fairly useless - case of a comma expression as the center expression. - - Author: christine@netscape.com - Date: 09 september 1998 -*/ -var SECTION = "expression-001"; -var VERSION = "JS1_4"; -var TITLE = "Conditional operator ( ? : )" - startTest(); -writeHeaderToLog( SECTION + " " + TITLE ); - -// the following expression should be an error in JS. - -var result = "Failed" - var exception = "No exception was thrown"; - -try { - eval("var MY_VAR = true ? \"EXPR1\", \"EXPR2\" : \"EXPR3\""); -} catch ( e ) { - result = "Passed"; - exception = e.toString(); -} - -new TestCase( - SECTION, - "comma expression in a conditional statement "+ - "(threw "+ exception +")", - "Passed", - result ); - - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.binjs deleted file mode 100644 index 80c6282dddbadd09e5298119ce601516939a7690..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12716 zcmeHOOK;mo5N7)BsYUw-bWBmSPKz7`1GXZ&2^`z7)BrsdD{3umLXpDm%8vhiXO{aI zkxNCCEh$c#3r&ig*?E2Q?U3o}#XRGO-6?0|!$B&=Tqj>9NuttX&Xci_Jk{cct3+w0 z`HbgUCEWvacb7hTq!gE$k4q7!SutYSz{vOlq>Xu+G0Dg0YzCsHOuaCI`!_7}(lVj+ z;rDQJRPGBR!7MNbQOP@zj}xJKY_1m|-pf*2ihOeT9Z0*py149L4gcvL*o$3zL@RHY z^w;5GYf#Lt&Gk!gq||p_&kpr}3nmWwz2VD?^L?oQ8q^P84$u1gP>#00>0b@@WIHA@ zf1mQX7Dc`f`@b;@m_zyQL;DlZKHrC8G+T1D$l92FV6Z0uKzRz1y5%ojbKwWPK(XNs zlY)&hUSb2oNGFJP29-+4W4e$5FdLAk6pt=jDZY?K`Uo%&z%3EE&>ryUvX09eUXB5* z#kJrvLD2>;9dg@+MDZbpf@eZ=34m^3wf}w&9#&{A3I+^caK8{M`6u{+`}@>y&z}AH z`&$(f!YT1bw3|Bqnit%S<{3%DPb z!{V%%)QvQSS;Hp47$)zC5@b_IbP({8j9=?Sipewpl*I)U^lMN;ZQg>&R_@py7^2ag zV6@9occe~ewc-`|?_}HlOq>gJG#;0GpBh3ALRqqq)8)<{2*t6vdN9I3x{ zk{NK9}{)-R2H{nTI96&qroBH45;!)?`TXk zXfaFkDrYw}w6&K}@Fj!sG{HqD*dLo6JCt`lrqgL?rU=EOVtkjRc)gdgg$nZzy42&W zNZ*+rT29k}$*wa(H;-*FJBMXKM<~gc&k=Kq(7DvP0;~qJ@TRqUd=Rh$j!>QFxu{WJ zZ@Obf`$hVi&qiEUj4DQNAsdsqWd*+5QnmMdyj7#aL~f!>c6*Ja+z`k*xv+QOF4x>~ zab3Ts%pJJH%{`r`Yscn#F~wqw0$Z~kSC;u~Ps;Lf?1lQ%y+%4NfG3%^MWGNz{@SWH zNVQzAi8L8&m_+lNBU23CLEsO&$ZC1fwZi}d2eTojjl_3Zx);7A>|?yadNdp>0f9#Okg7WMMbz23jq1Y@Q;=WH8i8vG$C03&Y^YA+j~SeGUnH$~EjAc*ivMPI28~d8cGAo!e=l+z&!^ z{Pdwyk1s{5*2}=iK85`Yzl}(C$%}2}tCP6hp}?^joNbn88P6{+ToQlFNxNzip^>4X>wA z0t3V{|1_#FUw8qX=I=`mMr?D-h84LlsW74?-1+ha_11aRhxgWs7~!seo7 zJ-qi67zy12NUVg#OSDaZW@A7-5H9p}iwUk)qmt#(A zD6nB0g7w|&RTUlD1X<;4E0dt>Onwk>!}_DXB{f@tC+`>P_EueTRl>WNx+7H*mb}w# z=pI~Nfyt=LcS2||R0H$noJUW;7*iLftI!~|%7hg_)xZQl@4RS2Od5cl86ivIxGm4r0_ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.js deleted file mode 100644 index 0110f23b774d..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.js +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expressions-002.js - Corresponds to: ecma/Expressions/11.2.1-3-n.js - ECMA Section: 11.2.1 Property Accessors - Description: - - Try to access properties of an object whose value is undefined. - - Author: christine@netscape.com - Date: 09 september 1998 -*/ -var SECTION = "expressions-002.js"; -var VERSION = "JS1_4"; -var TITLE = "Property Accessors"; -writeHeaderToLog( SECTION + " "+TITLE ); - -startTest(); - -// go through all Native Function objects, methods, and properties and get their typeof. - -var PROPERTY = new Array(); -var p = 0; - -// try to access properties of primitive types - -OBJECT = new Property( "undefined", void 0, "undefined", NaN ); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = OBJECT.value.valueOf(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - - -new TestCase( - SECTION, - "Get the value of an object whose value is undefined "+ - "(threw " + exception +")", - expect, - result ); - -test(); - -function Property( object, value, string, number ) { - this.object = object; - this.string = String(value); - this.number = Number(value); - this.valueOf = value; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-003.binjs deleted file mode 100644 index 96e96f6ca96268e226426b6844e75d5c95c603f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11731 zcmeHNS#R4$5N3M!p+M380X?QDTBm3qRRgwSyAB-NsMNd`D{3umLX*Po%E!O&%yN$r zxs*j&hvU>QG%0ds=lbTGCA)ey&G>$I!r5rQpGq;+$>&LusI-{!WF#a{wYcFbQJQIf z&2z1i?w+~3OCLQ@ic8H$rHGTP7_zKyWPAqFMm)`!m z8E~Va088;N9ui+jBYg;^4>g{MTxehSbXkYx4W}c(EO8~cOi;9e4F_O$A<;68fx(&3 zTmr5cbUC`4f`=7ai-G~lX525tO8xkcV$w;Vq@^n-6e-CEfN~r9=fC6zjD9(y;-AGfIHEaTmVe+0RK~jNy z0|76|_?1qi7*7H~SzJItKL;h$<_(B!<&MpPAs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KYe zU}C^#Z~(=Troi;G7)cYQ~~hQH!6Id=~gt zsQC+iEt?4(?H`Mh^^+?S0#SL^r&xFImINcNdjg6Tw>XNX2!zoOP6U^lb6+++>@|GQ zrU|UZ{RFO$VXSfdOLNg!=ERBjj~kXDkZ-G9RJghEwDev|1?W2K9|T-4f7G@?&Q{>b z*(Ef4t17uF;H^*XHDuyN-s>oO0Fzf>GHUX@G&Ja{fjaQx(9;Q{@9Wr?L~b6 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-004.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-004.js deleted file mode 100644 index 5bf19d9e5f21..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-004.js +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-004.js - Corresponds To: 11.2.1-4-n.js - ECMA Section: 11.2.1 Property Accessors - Description: - - Author: christine@netscape.com - Date: 09 september 1998 -*/ -var SECTION = "expression-004"; -var VERSION = "JS1_4"; -var TITLE = "Property Accessors"; -writeHeaderToLog( SECTION + " "+TITLE ); -startTest(); - -var OBJECT = new Property( "null", null, "null", 0 ); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = OBJECT.value.toString(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "Get the toString value of an object whose value is null "+ - "(threw " + exception +")", - expect, - result ); - -test(); - -function Property( object, value, string, number ) { - this.object = object; - this.string = String(value); - this.number = Number(value); - this.value = value; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.binjs deleted file mode 100644 index b9c4fd90e73f4c904b8c5232f0b6adcb836e9bbc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7082 zcmd^DOK;Oa5MJIOB!t9`Q;w|=YLVb(BGEKJQ5z7kdPN(1nk;o~YrScjf6wgN`*3Wh zag;u2PnKWb?0h@l?96y#nnuv|CP2gPFyJf|p{%i7C7I0!LkuoDKHNN6Qnoj{h!v`&qOOaRBcqSW2LNRi=8dMkl3l}y1bq(FX! zFE9v-@80k3ezL)!4VbH9w>Ash35F}lKs)YkT5E=7j{7nE@aNiPdq~o)K79 zaN$Gd4*tWW=^l8t(a?bf$8&kkBVSo&n{WOkCJds0{Ofb(P?I@TQ~Ukq9iy~ z2Xx-Dc9VNxp-B1gC+i7cY zq^;Y;NeWnS1ZN}QmKY_>Wb_xgB`KFJh?t|)s-xgm8`dDUqKkQs;VqJU-edG`6uE9f zTnvZ}1j2Qk43Z4lDfegw4P?l}qm&L>?ZwKC*%fq~<^9cPHF%N7@YZ%` z3ky3O!&E7EYD4YTdloruD%h_rp|JqnyIs8lT@qhy>5PN O#g~+%SZ}^n_WU1Xt1Vmr diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.js deleted file mode 100644 index c1e76b7c63fa..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-005.js - Corresponds To: 11.2.2-10-n.js - ECMA Section: 11.2.2. The new operator - Description: - - Author: christine@netscape.com - Date: 12 november 1997 -*/ - -var SECTION = "expression-005"; -var VERSION = "JS1_4"; -var TITLE = "The new operator"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var expect = "Passed"; -var exception = "No exception thrown"; - -try { - result = new Math(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "result= new Math() (threw " + exception + ")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.binjs deleted file mode 100644 index b28ce289d66d28ba276dce4488f7dfda088becbe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8309 zcmd^ES#Q%o5MFMOcmVMS^2i}*xgQ9XNC;5Wrl?7IMH_oa7F;`8Z+iTDX4c*#iJit) z+qC7$vSWXg;YKfzVyxH=##kC8V_>0>5GZi~DN7Ysun)0HS#wRl z-Sj{Gl%^mRgc-!wC>ijmr!lT0S_nbJC4^nRk5D6?e%8R910GqlNTh1xF1}od``JU# z2aFMl{S|S@MB3(KH9>fbl`1LX;l@2gYwdmQ?rpa^yUn%yX*0i)ng?9k=lFH5QITS` z4saVq?6kgj+I=hK9Hrku={=Oaxzk;R_**ExzuDjFtU@^H{x`T&^+DTawyC`&v3v0B*+n;}xB_$@#(g4V2M_%lC9VVV|E z(UwpkkybUib&kep;gqx`U}Vw>*n{NA5Ag>Kg8aSb>+A1c{7GFr7#a4e4P3~ASHj41 zd|(v!{Z`q?M04MJFMqxHKMh;J@~2|f2WZy*2pTaQHn0_ul*9k0g-g1aQ?W9YiPx{* zzkm0(mTesg^-O!H*~pQOr6fPc+B}Nfr2$fE}fI$s*-T>L#T$V5L(pPAr zqS>C&DC{d*xj+-}7cL?Q%bho4U|-&)H*Co)aw@icgtqM_4Lj;I)JP_W-o#_1*y|PU zF^gs{qqiSXwIcWj#|=xp2=2?{Hdn#O)h?Qk21$6#0(#z#_#}11gMZXklmvfufzB2} zSWuVQ0_o3ctbg!W*f3X7no``|`)9}Il(sfY#KSbY1)l=Du-xdf=BlKf^O)0ZVJ;&> z6tbC(lH8NNLml)*H(Q04uI{W&CJ@0k><>UX!|23JbfsWpNt2>FE~M~E4l7BveAuM_ zgjAAkJ#D_*jI2wDXAlVIQ5(n@w9sht6iSS76JMEXl`8pS>G}B#2K~zcS-E|GiVn#- zy~anq&)m@o^r4Y89Oj{}_>Z5=d)4Qt%EBpN8jo=-!#(Oew8;WrM5S;!fr*OnE2}{C rP+*oK>`G@}c3!ItTGmL;^khW}II68wgX*$;CDn*nRJ~>DwC4W+@h7|Z diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.js deleted file mode 100644 index 2ab13479a1f0..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.js +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-006.js - Corresponds to: 11.2.2-1-n.js - ECMA Section: 11.2.2. The new operator - Description: - - http://scopus/bugsplat/show_bug.cgi?id=327765 - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-006.js"; -var VERSION = "JS1_4"; -var TITLE = "The new operator"; -var BUGNUMBER="327765"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var OBJECT = new Object(); - result = new OBJECT(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "OBJECT = new Object; result = new OBJECT()" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.binjs deleted file mode 100644 index f93bec69b0c5948778a01927c3aad32106fb171a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7677 zcmeHLS#Q%o5MFK&5<=n+_^}93i-g1jAregk6qSHT+E=u(r^!;+j@FwV|DKt(_lRSM z*rK!r`r_KLzu7syxjJe-i=o?@0*|`GP>Pviw-{qtn9hJjLPDs-31lo&T){CUDr22Z z{dULy^j(&LR1oD5AL4Y(_rClpA`E1KQ?vl&`ABW(#7Q^_3cK?>wY z_yYz(@!pHAt=BFXi~xJp)~(C}e}#pYl7Ug&cUof$Q;z#IeEI#=ziHTt6#rYy`WVeR znnIAkX@G@T5`kM;*s)}23b>|=V}<369|t`i$L>>2_z)ifFfJ$a`ZmC^-TS(Z_f#XW zt&nO2nU^Px0hiLB`N3TM13Ph7Pfv2@sl?p%5t}TKqjWEwEIU)HyOez~i*kAHw9~zh zi3k?Mp<+@@rY;2+nU8>;IU&BOE&#HT+bg@WDxWq^Mx=D$ls1^=>KmcaiC3`PU>6nI z-WIZak=MS8P)k*AYK+3ZqK*AV!0)+;A*y#?$-ut6Yj4<^X8E_+_6gc{kOsCF57bnq zr(R2Lq}c0U+y_++1x9Z_qFP1pSB^7qy9gf1^Bz~>)YUF(;Kyln&O& z!vQQz9BY3+!d?ZG%k;Ga2=Q-!u+x9PJLvB$ry$?l`=xSBTHA80|G|w!X}-CQ@0_H< z3k@H!h_wNBRZ@hW&Sa~FsRr-$pS8OQ-SX9kcYs&j3+tAb0h~IeF0eIS5fOR(qchB8 zUiN^!uTQ3$@CC7H8C49_IVX#oJO!9=^4)6oZQJQQ$=7O*%wzj()vArcYk{vzklMC- zV6R`XX+m4dpgoF1mQ#d(c5Fatb+8687tt;F0@(lj*DbrT$e(NHzjc}CJmwLQd{nj7 zSygLoloX!y9qOR3dctbZwzZw7$pj+&498=T&M=yo>G%gOH`z>5)luiR==ip57WWm;(AfIUQ0qxrC3mZ?D{pvHTv3LrZU;~FQl(GzMc;Jg@6fnQYMOFBX uRiFe>VU{ZFMrU7DDOww3RZT1H5~>t%$+l4yYMbX9*^5$(YPT|7)chyQ_VB>~ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.js deleted file mode 100644 index 3e01e0d8c90a..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-007.js - Corresponds To: 11.2.2-2-n.js - ECMA Section: 11.2.2. The new operator - Description: - - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-007"; -var VERSION = "JS1_4"; -var TITLE = "The new operator"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - UNDEFINED = void 0; - result = new UNDEFINED(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "UNDEFINED = void 0; result = new UNDEFINED()" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-008.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-008.binjs deleted file mode 100644 index fe733c876d6f95400f81cbb66f5f821774355c32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7702 zcmd^E+iuf95MAydA%w&a_^}9~7KsNWLM568C<+0Q&{w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Bg@}H@o=2LOo<{t3;oIUa6H50IVd~v7^z_DU+VC^v3zveAGpI6zlffCKyiUz3@3|_ZV~vjdtKcvF z3cipUeT<2Z8O}s5l+AkoSUc4Vdnq!O_$ELyg4U#A=xY^8v~j_{P#}@jG`9?nXK3M) zv?X99vN_m;)W~=60R}<+-jk`-+sZ)~!om$QFpB$53$`$E-22h9uh0Ka z!?sZTshIUHnl+w6l*3VkWq_mv-pIl(OGc)A(COl`!sd)02YsGp?o*xc32p%}E+_Nu zBE)68_jOm^(;b0DjZ`s|9#0wrHt5ehFspxHC+_^|NzOcy$X)NS!~+=@`^BW`Os#H% zeUU}EJaO9T%F9Fq%ix=0QcR|ff@|g@pvO*#Z>m248RT}VOd2&|n@@wuh?I_;(gxG4 zz7c{>ydujDc6~$JpS3Js9PBeP^ ziUymMeD#Kl4ATG8upRx!so3@&+ICn(w!MkeR2D~Gmt&;Z^#YfcZGD!}`?n+b6UU*( zW)U3AlRj6;)RhC&6OD`XgeA1!&-lD_4TFEwovcWH=$faR!C;ND&frCVw!y>&kA>`4 zRXdja+N%Lq2ROCp(gWM$v{rLC8WNM7sx}9((8R6%eT?NFD0g{w_H+~$>k!)zj+V}J z`gP{2d#f_L^MG}LiDA2T=dg~mI-Y2#Rky}fDAYfy$TN+vA8lrCw^PjXYCPv+Xl(aZ zjqDmlV*^qswnf}?al%yfR8u74*ZowD8&P&=6Q7lYYT!dbf zv~wPFx~ZFyzgB;e8Y;}Qs6T@2-BRxd3`EE0EQ$k!0h*JoJzi~H^F=+hI=OuI)j^ zZubwg<^Kj`aBp)T9a8g56mS$9boXq^?m?;%p{UJ9o{O6Q E1T=yIyZ`_I diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-009.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-009.js deleted file mode 100644 index 9a997d7fbb25..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-009.js +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-009 - Corresponds to: ecma/Expressions/11.2.2-4-n.js - ECMA Section: 11.2.2. The new operator - Description: - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-009"; -var VERSION = "JS1_4"; -var TITLE = "The new operator"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var STRING = ""; - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = new STRING(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "STRING = ''; result = new STRING()" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.binjs deleted file mode 100644 index 5dbe3a9f08839036583dd9589b0a380900b36474..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7724 zcmd^EZEw>s5H{~1A%w&apdUeiwn=>KCb6!-&?tx&z9KidwPsmTIqtgsd+r>+wN1LF z?6vHR6*qb8JKyv8?$%V}Q35;7A@F#o8%Z%z>>gt*kFpW4SV)MJIDwqyiYqvVROPI> zq2F$XpMJ=5kP6}g;!~3KdD7JwcM&ayDB%*~4nIbyAI;(GJ0(u@4k7!4;_@${Qp3+1}kzZU2-cO*Q2q%X#qP(VN!F#SU=~bhGfCc=W z^WZb7(fdezWH=M4P>%KCwswmb_G45maVS7Cg4Uv8<;!fOl%{23a3B;&R5h(F?b8u@ zI45ff7=>&MZX*Wy8UBDlVBUMTxwYwo!7kuN?cGulS_==)iGejdJha*#CXM^j-TM9h z|8#7L#9xS8pQBrQLujNhXLkRoJ@~qc_jE^KQX^Fl@<1o81Lx$={$R&&!+yD&XD1!zM51_Q7+HCbvpC15y28TR7{G&&`YpUJ_35<7YSW;36Qmp{qp3VjBa?NZJgLKbV98i zFJQUFHaE0;G;4)R-uhdlESa|khlZL3lwNkw9F{fpvClMa^*`zI}nd?PLvC(lpdiW|N?@v8%Xojnm1p+REDf z&k_8cVTN)FfUoA*`hyN zq02(5XR10J%|^;I0I#3kED}<1bxmmohwUISNGVhE08@qA(%<(m%e4YPZytCF1oAEO)Tw!ED%c_XC|JglV!@`A{5L+5qY-Q4WrHW>UOhnTD0VR4E5dI zqBb2xz*HAt4pJYsF1M@Ob2^UPW#J>SFx)?fd&l&V3jZbIVH(|q`4reqp&bduls|oh zt_$t_iFw-=av2q3s(t2YVNTFKhX?ARZ@SxRWDBcS!{h=HeTCybNbeX;%&h+heal9Y zYB_aQD&e&btb%N&9DI!7t+JwV=J@UyxvC)A0I=f)1j1F^4de`JIkb2V70$RnD+jgC zV(AL^5=!yg0a?4Yd5H&7{3B_5^KGNZG8)^uKUPe?dOd%XVLaAek)ovW3e$XS!OcUL zg?z0TIY)lV@N1huno#1FGVEG=UpD`*4O*2w&Lm=G26%m~b@8k!?X^rJHBqbeIHxWD E3;BZk`Tzg` diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.js deleted file mode 100644 index f8ad983cc480..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.js +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-010.js - Corresponds To: 11.2.2-5-n.js - ECMA Section: 11.2.2. The new operator - Description: - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-010"; -var VERSION = "JS1_4"; -var TITLE = "The new operator"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var NUMBER = 0; - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = new NUMBER(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "NUMBER=0, result = new NUMBER()" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.binjs deleted file mode 100644 index 189c2b61fadc315511e161dee77e49b8448e00fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7883 zcmd^EZExE)5N5Y_>wuytus@(rMTcTY1MJ(}0JZCODY9gkjeZ?y>1uOTB!i;!^6z&? z@y!kTAt30g@54<}Aye0Y^2` zG)6@yLV-k5)zmh;nxlm)(w2acM;G7@VvwKW4;TdIyI)@&9{OOg0^CzuH%ftfVc`ZD zSj9u9b+#~Z+=tQOKfnDy4I82OTQTc1H0yW6;3YRls z91M7#`>i_RQ(OXITuvA5HIUEtV0T;I(;a~|l~iM>0-m%6Y|x+m!9K$SdvW(qPjcp^ zMDF?nD@>5%@}!(LovGDrurIPGm)Bl9UHI9EU^#qJOp58uQ?Ow^0($9%gr>R!$WCsL zR%J1tb|xcII`K+dO#2Lt(CNf$vfN^u8``}ZS)s_ixJ4Shgw;6I)HtqRmO1bu2wrl~ z(nbBi-M1EJ#gHNFH*Y|yNmr{vt9Phq=fEf6cU36W7cn zY9`Cepr^4?+;fi$$yirq_5R`r{)^)TWxEI-%j*GG>C9jL)B#P(?3$&tKFIl^^6f!* z)P7#3pLK;(4}7p9*<{M2w{0=r!DC^?Ro6C-{Ni{2Uhv)O^d}ZAr*Iiu66CqtFE*ot zFngHV9o{p}G4_KM@?3ch!%2ss2{#(BnLfFW6!TICrtN~m-FAl9FBe5UD)b>Xack?w zhm8ud0jXnM_u=hhLqY*}mteq}L#_sHcy_ESX(He&tJa2p8Qp;|f!&v^q-b0kxA;i) zWTO>wbB1U~g>Dejf;uM;urx@4P4|zn1p~E#nKvyrJXCNrQYkj9S$6}tC^4Q49qOU) zyV*Jv6Wg}QWCD@?3Fi}#-Y_~G%E`Ytvt)BgO`f`r#!@GTwIrMA6Y1XuRn`+Vm+vkk zZ{|hg;uS)?gFyHicLW)OW)TBkdGcE}#=})Q=;VuyTi-kA(Z3DI&aKaLbckt6lh=uo z3-~>$dn|mV@tOJY#V^h94*99GU<#Jx1vUdHqX}&@AQaIlRBm9Q7=C9Jh#DehiD7p- k`?@<~YlE!2&06Rul;vr*)BUq8!*{Y5k&4=G2D+^If5$Q`>;M1& diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.js deleted file mode 100644 index 8337b9b76b95..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.js +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-011.js - Corresponds To: ecma/Expressions/11.2.2-6-n.js - ECMA Section: 11.2.2. The new operator - Description: - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-011"; -var VERSION = "JS1_4"; -var TITLE = "The new operator"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var BOOLEAN = true; - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var OBJECT = new BOOLEAN(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "BOOLEAN = true; result = new BOOLEAN()" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-012.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-012.binjs deleted file mode 100644 index 466323b22b5ee256ca856d8a637c5976a3f61946..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8397 zcmd^ES#R4$5N4b7dPq^Ae?Z8SgQ9Sf9(ky0pi)%Fg`*Z0lhm6Ay~ zhg_CX|4_Z%_dorkEI~*}HN*QVO2Wj=n*(!JFgpo7aQUS^u!Q+pn&q<^>b> zK7L(k)TCIa1AK)dCZl0|^7q(^xkK?^lKA-SWPH2}>0hAq_#{3Z?Ls(N{_W^&vLnk= zDV_2}y-eRbmz-S89iEfbtgGtddj z$lwuij^YMQJWLkC(N;_PYxvJT1YZb+K1Jq1iivp6rKKJJSOfjSNs5%o-*FHTK`YiW z{8=5OktCX^=#)zkNUMt6Mpp~8a7o${Ff!>9>_IBzZ}9;JLG|8`PoF(^!C(Z~tFmq* z1@47~Yh+*)_nj7OVdA*ICeQx;`O`FP1I2H}tlyzo<2m$lxa?scA}E1BO$)cQFk7)Q z)rg;-zj*QMFP&`b7-(X8Lq$c7aV#JCIW}Zj<~~(qn&2&fh>6*V4hDsbn_n zScQzC^lFeXTdlO12j=P@*onJ;dQzfX3aksSuzv>;7pKLn?o6d_t+HW-V&d9qr`l?h zZBYjAWF+`(?#f$LRS4(@C&V|^EkFjj{q{;JDcy5Qn>aC7-v~h`zJWmvcGdmZpOq|M zbu&?MCF1>)IHgEgfq0XXuth&FOGby-jpo7nO9lpiYYqx!a?1ksoM};QO z2iut3_$T8Tqz!hiOt{a6Z5ctgV%zW0w&S8_C)}Q#i{jE7bd3~y-Q($k0u9ziZKJoJ zs+}VEABKyyZV?=d>mifL+;uHPJJTY)M$*Ll!;CFUH#7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zG1`&ANo0wV0Ld+*n42n3|s&@6cY7t*${W^i@||iE5#0%T6lb{#T${ z+A2l`X59acy7fka8cunZJ1Hn-u!3OAdRF?sl8n>Isfl+JkyQzC)*+VQ2$zu?NEtL2 zX|V(flyQ5O4ocZ#;WqpN<^}%;Wa-Lq6AhC7C$aWUjYYB9#HiZXe)_hS)*O0YCH;-3 z^M-Z3v-J7oGqnvY`f(yV53K{iJ))Gy{DX}0@Jow843VRjJnT|;U$h%24O&!7&h)T( Y0$8>!m4>PkeJRn1TV%Dd?6l;60fhY0#{d8T diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-013.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-013.js deleted file mode 100644 index f4986a5c02b5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-013.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-013.js - Corresponds To: ecma/Expressions/11.2.2-8-n.js - ECMA Section: 11.2.2. The new operator - Description: - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-013"; -var VERSION = "JS1_4"; -var TITLE = "The new operator"; -var BUGNUMBER= "327765"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var NUMBER = new Number(1); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = new NUMBER(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "NUMBER = new Number(1); result = new NUMBER()" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-014.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-014.binjs deleted file mode 100644 index a94b0562138dc24e733aeb36928068df1e1c69c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8319 zcmd^ENpI6Y6gE2?kU;!_9E%W?vK|PPnh>B;o1!LgMHBmx47heQo^<*5yf^kNiS0HM zLQ}%Y^2GDayzP5SnsPFZVY@j37H#)J!N)SV5d=XNreg>qE+CZr7_uOfOu`W)G7FlU z>g%SvbtlU}NQiQXPjNb6aZh1fN3;mSm8~zUo(#9|AX@9-V6U^&ZEhB8&EiQy9y4Lqac?0{l~@ZM ze~*s;`l&1XCy5FBb83TT%TC)*tj4=BX51NrY>mzEoC>%QcRp#=~Qj4qb-QxhYSQC zj%J#sBl zbg5m_61$Ri;l%M+s`Zvn9;$at(-@djzU#|eNF6igaxeeSn~5^UY;CU<;|l5>UIhG+ z@ff1|7+Yt>*7S@^(d{GDZ8vS0mb4*9B0Z^aZGGB0E1Db)PN#cgE%zUL@E3-ou*E#M zFV5Obh9g^I5VsA|=nM%C*V{3hWVXq3uiA>!@RzEi^2r_6J@bs~)V2lYba*YS>v9@2 z{bF^6VVT;BMTry*p!-+d54!^4K#>mX9Jh-q{KJ_UAF;*OYNYAj~MW?kaWTFlCJZZIQ7 zOwB)ycW5suo~}VH^i@}zN4c17z)S}}QMbWZP_rn{Fx1L_3V9i< zCfJI8ll~ZzX+HTh@opk=Q9_(`h$T3}Wh4hu2F*0uEQ1J!Bw^MpOPx~8>%cgbx)B6VGHH{6d`*EIHhSs6r9^vIP z7tm1^zPAX(5fy5w!uGoRybXajXkDK?Q%81k|*&d^v6hI*CPnuO-UCl9Y;RWcNGP; zOdzUTPy<3!{cWn>C-}gP(K9MI?MEz&QHlm9NIFH1jCoWh!t%C)0U7+(GWbL&^gd7z zI7WEPrQw~st%K}?;}CKNKj%ykgjTfG31ksX%h-6rB@>WW6uaBkBd~Ca+9EKdk})$I z$&sJJ3kZVzyH{`a-rHc%0?akDvA%Ux`6nz~NCst^dRrKC+}G~j&v*Z)VM|i{jhGb! z_h=kL?M>oFi$+me%f6N)U0uEvSu7_EW88R0fp)2)djO9ZBUB8=)lGoqy0f~9^;jXG zsSvWqQYTAl^A(bxexa}KhOM~2PtRwd=R`o}`T{K$6TRdl85EtV)Gg#*$e~nBt#+#O zfyPW=LMIVBmqhTv&?ewK?;+4jE5tR`8X&#gUfPqD`P4fVq0$Yjw8qp|*9cxaUchmU zo!4h`o6B-V-ufDX4b^;0qZM`)_4XSAA5k8$u-bWZ26pA$dc#(<$~R)$=V04T(lDKP zLk>kUaT;v0eF0RuxZ z-;|eO?|^s#0=i56UiW28Cn~ul1$F9#+tmH9)rx^Jpmbo*($)ZQk zS?+3mP;-!swD1VGr5A9SM3Qbl(RMT zQQ2|8qBL!yB=@B2Pz&vqaje=FV9jRpsQ7h9F*E@WzOlP@S@w?*z-omh-hp>Th1npBD7|KE5a)tmZX|8 sd~X$y|2u2g`=UZn+aQZdRz;3+W!VhjRb=X>aW7wE=8*Lc(`GgQ4f-TbbpQYW diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-015.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-015.js deleted file mode 100644 index 4febd4c3c935..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-015.js +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-015.js - Corresponds To: ecma/Expressions/11.2.3-2-n.js - ECMA Section: 11.2.3. Function Calls - Description: - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-015"; -var VERSION = "JS1_4"; -var TITLE = "Function Calls"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("result = 3.valueOf();"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "3.valueOf()" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.binjs deleted file mode 100644 index 5d9f3b638e5686dedd185e9cd61d7fe705eebeeb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7432 zcmd^D+invv5H)uY5<>6;c`QOukPuH%C7K2(DglweD{^+HiDA1Nd7WPVo*D1@lD(98 z)zS-nad)#m;~Aeho^f9-7YS_j=fLBwaU{h;v0IF>JjxcpVj&??;t+C{E3V)GQkAp* zrvAF`Pkoo?AQi*~#D^rC@?@+rZX#L?QNks}BYuETbDr;L;Nc-pELtLRwRIOiZp7X3 z5cC35gkrx%8Z(g(_(Cla-eToSigdPh57EZM!DRQ#sJ~gh>z5-rdB~-Gk8?|Zn%wGS z{tlX$>`wNE*2q6JPQL#bej8tq?+?&C97nKFB1J)H9 zEFRI1e(_6Rzj#P5e2)I$Qt)X41xGmroKe#0I{B=VSEqNTPCm#1aeSB-_ho_081o*0dKjl*<$6ovwVa zFq0(cEP;K+q?pZ}0GGN)K+l~KKUC)c8MN(uDX@b6ge{48_rGE9K^+%N<(IEmCN(<#=Q1f%gbvmQsn~ z09N{qwdYT;RsrRdzP0^WSJ=8%MdZJTKEuHjWW}j$`U@LWwvcqDtCPlve6N%M#0^^l z=zs7Iq|#B{#%~TY;nC42P08;OR&r8A-jZm4R{AJ>)_-=dO}coUo1XAxzpmW{O>n+x zU(Mv&*seJ`FG~K?jZN8g7St^ticB#P@EtXmQrp=wE$*Hi=co4FY4=eSk(Fk<2C2!Z zyV~}9D9w8tAdE-3$Z96}YsWf``s+3LyNYhXSHLcdOb~fj;_29TU1Y-TnDgya?SaZI zm1T!vNjdr(>Yy)s*aE7X3li9%4QolZQV;JVy;U~W_ft0CZANw##3~`qfCwWvauhnJ z2A_gKz5Rga&=L$fr&i=3XfM`oCC{Pfy&90gmFyGTkPWIFdas_nEKl~0XZ79lDHv>o zh|$}?P6Up6b!fwO-$W2C{-QWd_`xoa3^atL2|H-*>$WJtplzLdrLk^uzzIdrS<_X` PgIps4QQhtjS3Um&d0L=j diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.js deleted file mode 100644 index 9d0bfcef4e3b..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.js +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-016.js - Corresponds To: ecma/Expressions/11.2.3-3-n.js - ECMA Section: 11.2.3. Function Calls - Description: - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-016"; -var VERSION = "JS1_4"; -var TITLE = "Function Calls"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = (void 0).valueOf(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "(void 0).valueOf()" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.binjs deleted file mode 100644 index 741ee58a969e3316c0e923092af61908ae78f4d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7258 zcmd^DZEw>s5H{~1B!t8t=*J-hV-gZyqDicDFf=+ut9?ao;9fX2UC3!>$$-;EXNW=vTB|m2w$t0ERj3qK7 z!M1uka6kQ$WlTsG6%gOzbVTEU!gvU15es7~Sk$Ly05zf6R|VWVr?Ekcc_w$C!ppU| zUmXOs!33blDNiE8vo4*=9N-OBCIwH%yUze^(CZElj{3oN`79_`bn=`E^Ble{{i$=S zmH8)NVt6n->=`51XdHb%?)@Izknbr3ICBv>|zS^y(#O0WqIsleOsk~ zC1UXt{0NGF0`=e}K5#jDOa-T-m=zqQ7;u6~r;?+{JStOR^R^)a3itx@mWkB& z{XBu%nlboo}vVspY|jLQNvXg^iy9>OEW2o>YJxe2hj?tI;p^;jXG zsSt9=GDjtK_$uP3|In+uVQcR8`S}|BoC#2_@6ci~F-#BBarH2jyA|yP4W(jky;GeJ zG-d(?oy6=!62Zq4E5N1hA<#Q(#0}LIKzbc}ZBJHrrruJ7PIs)+8dI-s5WIH0BF8m$ zS)a|%(w1xT&esrZsFqtA?Xc^p_qiePKIJisnh$R&z^=VJAJ~Rgc_XoX1F`L=9n*<- zl(r8XXeBO;|p4r~k z-RfSPhNr4P7Xv#K)ODtG^;wJY9JU1wLs6Pdr(9pUY|*lAp+Ym$j@PyxaF4*p3APv( zU}4@^`}-mEDok3XZyZ0?6}D^Xig3D1@;FxG%+X0z5sTp4b1=uCnQYePOjc|wS%vo? zKQG zJbH$M!>L1FgzV)_x zaxVS64In8xThQCHS*HrEneLkKqQoU?Q-|;E0!lzlSn9C7_P%b@?+w~C3onhTbq-jO U@TxOymE6lU6c5?%MsCsbe@D4!X8-^I diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.js deleted file mode 100644 index 1e357ead7670..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.js +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: expression-07.js - Corresponds To: ecma/Expressions/11.2.3-4-n.js - ECMA Section: 11.2.3. Function Calls - Description: - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "expression-017"; -var VERSION = "JS1_4"; -var TITLE = "Function Calls"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = nullvalueOf(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "null.valueOf()" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-019.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-019.binjs deleted file mode 100644 index b81b2ae141d051d5cab7bb005a177dd164d2ef5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8402 zcmd^ES#R4$5Z*RTn*c#kAb)_!lZ_&9+%^e zvSXIYob-0o+dco&w|UNlWU&^ppJWr7jFpTZL0ZhBgbEgq=rM?z(fpkfJUpR^m6q^a z?md8)YvsQ4Bq#$@5JkT6G$uSB(79ZIcq=QHf~V8Hhaj#0X@B(TV}E$m+bQn$iYvN# zLWR8#Ul$(LIo8R5UqHopI0z5^8Cf;gsQzbEA08cy_BWyZK4=dQ!o%Svlq2$=hezWL zA&-&A<FKJWDs>KOQ|hn?v?)O1ohBB59+2M=^lQLj4o`=;k7<@Dubi6`W2I zrW2GR-~>5Gaf2ovDl_3|t0Dch_#ZA4p9v*>0?Y#xLwL%ir5)d_zJB2#2Fm1LI1>a# zE7mgnSr}4F5_ME`$R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naOQ2qFLd^)@f<%IqH@a^c1u#@lMa{`6t zBEJj#6v`6RBGVnT?->@{bCGD4C88AME-1l|KRyY<^5qbxMyi(y9}{>6DF?l zu?cBs6H}Tw8GSf7{5}oakY#VhtS3R_syG)qR!}gBWjKu|OI)1uL}VgYF_zXCq(p+p zJdZCx5+&k;!~K}$X*}n%IruW?a*I7=m09fan+p1t4xkC^Mqz)jfB53%Mq%%B*T{BO zCW(R1X*NfO9vQGK^IJ_CPVf~##N=$z-k;e3QRFC|u#zp(oSIToj4R(Ga>TdRp!+n8K>bfziAo*DUxmUz0e`_I2_HKSEsaZ8$8dmXyogiIA0bQMxfbEQ|SMHxg*eTcp9>5D~P zUhDX9n7DUWUG>yFUK45J(oBo(S3D*poH;PKDu^X;zYdXOou#?eSDMzbbXB?&z9Q_- z805j3s3Xp=TncQ+Aanzt<AB0b4d)hYGdn;6Nte$s0JIfLy~RCLi&3I4UHyy?Tl9Sicwc-VZhtt(tCuTIg1F z&JS^y7Uj*4W4z;};Q)Str&z6&>z=;m=UWJbGq?=E5-)FmL?dI+bT(iLT8u$eY9%3b z^2LpZfh|leo$KXOgh~Z@=dr7k4OR2;ZoGqS7F@=4i-m6QWT$H=XrnKb-x*$e8y<@7 gbnL5AZVN*~T|T}$rN~W_P$y_)Exp;r#VYdu03pr(GXMYp diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/function-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/function-001.js deleted file mode 100644 index ab8b9fa71c2d..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/function-001.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: boolean-001.js - * Description: - * - * http://scopus.mcom.com/bugsplat/show_bug.cgi?id=99232 - * - * eval("function f(){}function g(){}") at top level is an error for JS1.2 - * and above (missing ; between named function expressions), but declares f - * and g as functions below 1.2. - * - * Fails to produce error regardless of version: - * js> version(100) - * 120 - * js> eval("function f(){}function g(){}") - * js> version(120); - * 100 - * js> eval("function f(){}function g(){}") - * js> - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "function-001.js"; -var VERSION = "JS_12"; -var TITLE = "functions not separated by semicolons are errors in version 120 and higher"; -var BUGNUMBER="10278"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "pass"; -var exception = "no exception thrown"; - -try { - eval("function f(){}function g(){}"); -} catch ( e ) { - result = "fail"; - exception = e.toString(); -} - -new TestCase( - SECTION, - "eval(\"function f(){}function g(){}\") (threw "+exception, - "pass", - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-001.binjs deleted file mode 100644 index 0c42ef5205e6d951552fce9790fc175970bcde6c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7219 zcmd^D$!^;)5M}r6(xN}$V~V0kdUp*ZuG3d&LNY6bhq{2 zU4QDX5WpoQ1;qC>AJKHEF&-mY0&z+?BuDfdp(a#()xd)bnp(7!3E6v&KiA@Z^$_#| zGlU{%EK3LzeL9shgtu5ia+ZyIFA!}w=tujwqvoyr|wx)nf#NrYC z=oVkP`o$ad!q3qY${8J{P~<380Vj%dnj8i5sLZ+JZ36=e_(#{l=Uk(Ykb1~5!ZIc; z@BC%$6+i4Js2S{(0VfJt)7A*cDw@`@@qkI-s4JS?gUcyKSSW85FiOb`>_ST9*Z5(q zwdm8%&S#eh2HcK1vb75EAfj6l0^_*9VZqT=6dUvpcYptXjB7N3PH~EM zjz@nMRLt10V{`I4jttH5t;vGIXt-mz=x0Korm35%=^o=N07Ch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2TAom+QvQz~9cka{0=|5txwqf^A511`x{TjM1X zY}{xrquVGifn66yDGgX^^IZk`_-n*kYI^gYK7$@`(!M=YzE*m_;wI$wx_ zEvT$$ZDGX@^Hv$!q`Ge+C@0R5n=1TZ7nBB6gry2QXziPp^1+~W9qvj4TIGOKiJ*g~ Rsgwt~rqn|=yJuVW{4Z;bSXlr7 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-002.js deleted file mode 100644 index 1639a34bb783..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-002.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: global-002 - Corresponds To: ecma/GlobalObject/15.1-2-n.js - ECMA Section: The global object - Description: - - The global object does not have a [[Construct]] property; it is not - possible to use the global object as a constructor with the new operator. - - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "global-002"; -var VERSION = "JS1_4"; -var TITLE = "The Global Object"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = this(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "result = this()" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-001.binjs deleted file mode 100644 index db27cfc045d2f503253db6c7b55054e3d06614b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7058 zcmd^D+fLg+5H-DDRH;&bz>l<51xS5sic~_{f+$o?#A~&&hh$r0N9zrNzwgZ2dvR<- zHsanFj5pphJG1A^&TL0cCkbqJ#=zpuekAxr1`mTE$fIlmLCgh2lAk~xlq{0XqyHC3FJJPHmPxsOAwe>l)8JT6O3?9-V!jTk|~&l zl*kmT1WtLxk`L?a8sQy0dlBARCTQ~1JG_+OcKaK@KmMPAZOHGJ64uuk z);*p=H~?|XQzhP|B5Wnn*QdAA3g$&E9W6zd@m-cAcB)c43Mc^xm>5mlYXB>CXLg(D z>43nRLdXH+PLk9CtmQuagMPXTw&rf1pR}1Xfr;xoR#+eg*Dm$mU=OTGI3_T zQ-u%KWr8SyiS0-Rf{(^F|CVWwfZkgpZm6yR(reorOR}at^-f0QbZDK{nEL4k!E43m zs9a;0$Fq4YZMi1z{3$~9)OU~KoZ z&=lgK9E)t`)Z^NUdEVnXsHr2+e!GlXiorh_Ho(giqGE8#RJvLz+rxrn>Qf0^Dd5R1gt?S8macP{lZ8w z)WjaSUUA&MyPji3MUC(ROsk?B@Cw+C3EDc>%rvXV+b(F219e$VQwVtU1CECvY+w|_ zvf&?;RxlA%r^_=8YyGm+a>bcU>}a|jX<XV*jR@{gf;u>nHt;8>I71e{?5W7Nf zGjIN9m!fvbUPRc3nVqR3b@@Fd1%ukjF3X`M7?fZuw`X2^v2gct1#Q;dfb>3)-r \n - \u000D carriage return \r - - this test uses onerror to capture line numbers. because - we use on error, we can only have one test case per file. - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "lexical-001"; -var VERSION = "JS1_4"; -var TITLE = "Line Terminators"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = eval("\r\n\expect"); -} catch ( e ) { - exception = e.toString(); -} - -new TestCase( - SECTION, - "OBJECT = new Object; result = new OBJECT()" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-002.binjs deleted file mode 100644 index 646742dd1fa59d4dd671b489f4e65763c5edd2e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7039 zcmd^DOK;Oa5O#S#goMO_Yt&N_LM@16s6^8MMIj&(^@=w3G+FA}(R$Og|DKt(_u<%X zvr*q%>U!h-W@q;MW@ol7XVVzA+Y?~X_8=5|Dueq$5M*IGg&^VrLdlOI3o^+h96=(p zpuMTSZo5-IXBh|yQ4aAnPDd;rD2#iE7C{&@0a2eFA=HFry9&5_%wmHU^Gt3(!jEfl zcO3+^zyzU!L!Lwd&pK=>X9#bwGAVd6-hPZ|gKlTI_p{&LEXLZ!lbk$e!i?kG!k;>~ zRxfg5d`Ocj|F%#XRqD9aPs5Xun-Xt;FD83>)Cp7(5iG9VWwxJ-euSAEnW05Yl)j zX0yzew(e4Q;xs%|2Xx-AvC)#>sS!&<#8wOnx~6Fcf|M;cgDl=`G+ndUblhPZ}WYAf*zTt)d{H^eRx z+{|12*`=smvKJBhFt;;Rq%OXvq+n1x*GsTPFP83JE}_l39gyA!(ret1 zys!8~2j9lJKAqOzRJYLOp|>SsM{5HsV3@b6(3BtSf%@$sHX4RDL \n - \u000D carriage return \r - - this test uses onerror to capture line numbers. because - we use on error, we can only have one test case per file. - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "lexical-002"; -var VERSION = "JS1_4"; -var TITLE = "Line Terminators"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - result = eval("\r\n\expect"); -} catch ( e ) { - exception = e.toString(); -} - -new TestCase( - SECTION, - "result=eval(\"\r\nexpect\")" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.binjs deleted file mode 100644 index cdad113a92e8981b29e3fb088657b6a278a7d683..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7201 zcmd^DNpI6Y6n5Du5<=p@flH1M1O~w|szlQOMWrAT^@=9;Bbnmb(RkA3-}Bzsvn00D zj@8lysjA~;zBh0A-ZDKopCz!-n*xhBhLPYi8QcznAdj*c1Thy7Nqz`< zmH4|TVzfQl85kk|P&nznH~2ZcB;6mPcsPz=CV7@#hW->ua6H5Cy)5Yh@_FJTJyaA} zGl8gXQ4I`D^|Pn`KcWY2jP5bP**JkBMj07AAkryv6wG5X6PC9P3@G5&PJ_>cLLVdb zkYfQ)xiq|Ux3yV(upML0;J-PDfS?s^bplyM(>gZpa0vqQiemTRc!n0vNm~NOR5Ay% zkrMeazDVGhM=W{$_U-#O`?(DUEx=q08|zzFl^bE3x^bI-7r!y0KdRpEcPGEo<8OEIRwHk94%Su{6}9h22H(v zmP3Ovs6;KK1212kdC0neY4CbLdYANP=#a1*b{7kJH^h=&b)g%F-jXOfIxnzMhoepv zS~J2G;T0RFq@6l^ZxtvPyu5(DuPO?y4YI0yHRKytmdzGk1*dIF_wqGm5!vo|ZBg^T DjXzKy diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.js deleted file mode 100644 index 46d60cb7fbc8..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.js +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-003.js - Corresponds To: 7.3-13-n.js - ECMA Section: 7.3 Comments - Description: - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-003.js"; -var VERSION = "JS1_4"; -var TITLE = "Comments"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("/*\n/* nested comment */\n*/\n"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "/*/*nested comment*/ */" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-004.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-004.binjs deleted file mode 100644 index e45347a3ee461d407198a848546297809e9b8cf9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7179 zcmd^DTW{Mo6js+=I_zNs_6Pj9Vkpu9dz%+vaoja)>JGEf*MXK!Y%YvsP*fcM`<+9H z7wcl1LcBEDOBB)KcX%$}xp1h8m4MUX5?FFNjU`{H=y?=Hd7P~vO1Okr@mt8FTrmYV zkg7Zyp6IWK{?^~}9HfGzg!o-#b0(%5<1<7{AQntQGGR9ewPg9Z1|HusVbKK7)#;b` zaVze*hoBFbB2;wE(9`0gTDW0Vdp+7|u+^sNtA4jDBR2v$=pWMj07ABGPGcl+0r)la99?3@G8B?Ss#x zMxP_~kYf=~xw5?Tk9AglaFJln;8z@EM9`YHCV}jtX&W0axdMrKMYDT+w?Yf&q%8qs zDk;Doq(UZJ3Ap1i6R%#s{@F!>LATG+z~ z7qh-Vv%Z7PI+ID>D`Xutrlx9Zj$l4Clra?aBYnh#a9cIYkvIY%VscS**M3KFZ+92j zsW4zKA=M0WFF6{+HFBQ$!94u~J8_?$p5LLKYl#W#Ep}EQXW3=8XgX7?+eo>XI+@%! z?R3L~{g|XYjtT8bMUpR;F7H<9j(~o2LVQyl0W!$#t*uy_PlJ;XDLrsX8%*=`jSzI= z9qcyPRav&Ll`LQ6qpu#+N7XwSqp+`Nu-^#y4dVimZs*ku?8|%fhVAH(@5Q#?qirYI zz&79mwUpV~>%)x{`+UOvPunD5^!6jFR|NmbaPaLH!85rTF%>Ue?V_%Io+XaECp7a- zdl?Q62&(zFOb*gQh{3M|B@6haDXf;%OeofteRu0HsltKoEvnh8^knr?22NXBXRc<> zvLY>SU|a~y?b@zenTD4ekUAFiY}b7oqr`0g1Imnt`+58{82a8scW(c*xXl!2K205&Q zY}FV-^Q+3rTN=xE%Sg=t`~pw0-E`DFz31n92!si&YnHnId6$eqqwa|1&|wU!OIzt6 z$QK7sR!0~C9|vS`9sd>`Qmf-l*ZJ`mEP-L&Bct3Wy6 nJ?%(_01{b9J9TX48DaBG19jT1+KV2 zG_R-zhNk(qYyRG)g)m0HGs)RVKoO&i44x3_3^@wsF`Y}#+Xe;{@K;WP&!s^hA@z`B z37>N9co!aPr}$tu!<@knILL&c4Q*`#*+kPiHtul^67z~-cmH^X7FMJ!0b?qegF8rx zOtunm%u^li$z8thdpu zpJ2JjWu{tL)>C6(tG3|?=0i&vOTjSGdrSzw)vz3iBLEU6$Mfde?t_xI`f0QFo*OjsYVvjREH_wsSonMU18%Ei>l4IT2C*!CgXc0cd92E3yu zGG7FJxRv6b|8W0PHwjq1!-#4X!Cx5;zU?A-D3?8^(}}NL)U}WDY?-9A-V}QpG}X{~l_NJqwMPzG^p4kgMnpdnDC3ng zVMZihncrJd2Hn8NQ|ih+z{+HP0_FVvA-4CRPhsZM_5vO%I2!q=Zu;Mpo?Vobo(vu8 zp`$X5SK9-ev)LjlecKU?Ou*C6a5w_FrdK}tiI-r>Ows_Mml%!J+uJCIHIS{GL1=i@ zd2vPK`0f~K7=T~kDONj4 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-005.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-005.js deleted file mode 100644 index 2f3d3bdd8226..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-005.js +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-005.js - Corresponds To: 7.4.1-2.js - ECMA Section: 7.4.1 - - Description: - - Reserved words cannot be used as identifiers. - - ReservedWord :: - Keyword - FutureReservedWord - NullLiteral - BooleanLiteral - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-005"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("true = false;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "true = false" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.binjs deleted file mode 100644 index c20f1d153837e1786b1d57c0314b9ace0c2c47d1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7189 zcmd^DOK;Oa5O#SZE=a&V$5sfnNQeue5={dXN{dL;E85u8WT|UM>rIpVduG<&M`Ane zS}lEWsq2mRo1Mouk8R7zIEL-^2w1e;3k4s`;C>JUS(uI?h`4}I@-xVSOfm_lkjN}( zZ>q1`?$%FP20}uVLwt$T0gHPI;~t_#5XMYEbihs#YQ(Z#1>8Mju|bP@Cbu8q$CbFd z4uU#hf>6N;PojWl9X6H|gg0236g(MjKSs1(x6|J{JZNtgYwhAmN}e%c)^Ts4PnBAY z#6Lt4{k{Hv*9iHC!b$g|?yuf8>HZYO!z_fceT1UD5?)lh{Z4rlP=_ z2}JdZYG7!pf7|NsGg@$C^oR-01~KF@%E;gWkxr2#XC9NOu)M8dKn}ll9(*bk`T(hi z91D2DrQw}>teyOWy$Ev#Kjt6;f>yNE31k&btJt{DB?!zbirwAW7%iNUwgil+WCG?O z1v1$xh8Yi8{AO$Gy^REoZl1Y;^{cDLoiJ}H6I5yHZC*-n-+FI>PgiZl5zL30GMa*Jq<2^x+pUV_NSqiTU}89_ul<(d&h9$0Q(?ef zLdZU3PIAgMPXPw&HG{p3hOwslbHw6+0^s{d7MamYu28Eu~ycolMNFcB!0O{rS%2uq(r`}13lx|t2HKu;LM({fE3U+Jk zqAZ)&LY6D?)>jYeqn0}vt+1=8x8Df(GvhHt_0C%|uq*G@8@8rHz7*TOK-(UqEz^Lv ztic{Y3p$C2j|cAjSppsOPNi_;F@WXnEMD^Hsp{?Y z{mf1}N%CtL8wUfkw(4r8RWb_3f(8jW$7n3y;(9r( zhHS+wLPM-f^Q#)ecf&}<0Q>?^vDkSmd-|N8FCh>PV7g?f%O85l7&Py8SOzu5pyITU z4!nGE;qmGU=D^zl>0QiUqC={RdD(w%5PFND&}gk=e~$e^8Cui972y>a=j5C!d~X#f o5o}z+*;iGB#s*ncyK0h+E6b(|uWHjYpL_Y5QiyDJtG1~5Umsmg4gdfE diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.js deleted file mode 100644 index b37fe0d529a9..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.js +++ /dev/null @@ -1,58 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-006.js - Corresponds To: 7.4.2-1.js - ECMA Section: 7.4.2 - - Description: - The following tokens are ECMAScript keywords and may not be used as - identifiers in ECMAScript programs. - - Syntax - - Keyword :: one of - break for new var - continue function return void - delete if this while - else in typeof with - - This test verifies that the keyword cannot be used as an identifier. - Functioinal tests of the keyword may be found in the section corresponding - to the function of the keyword. - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-006"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("break = new Object();"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "break = new Object()" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.binjs deleted file mode 100644 index 65017f38140bb352a7cbbf071dd1390deac0eeb3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7173 zcmd^DTW`}a6b^R~AR+Mw`Upa3Ai)!55-SA;V<1}birnO^HF!;ByX*SzImd}FZIW(| zHpbv(S={(LK9}!Y+|~1$fbH%CShhV#C7J?%(_01{b9J9TX48DaBG19jT1+KV2 zG_R-zhNk(qYyRG)g)m0HGs)RVKoO&i44x3_3^@wsF`Y}#+Xe;{@K;WP&!s^hA@z`B z37>N9co!aPr}$tu!<@knILL&c4Q*`#*+kPiHtul^67z~-cmH^X7FMJ!0b?qegF8rx zOtunm%u^li$z8thdpu zpJ2JjWu{tL)>C6(tG3|?=0i&vOTjSGdrSzw)vz3iBLEU6$Mfde?t_xI`f0QFo*OjsYVvjREH_wsSonMU18%Ei>l4IT2C*!CgXc0cd92E3yu zGG7FJxRv6b|8W0PHwjq1!-#4X!Cx5;zU?A-D3?8^(}}NL)U}WDY?-9A-V}QpG}X{~l_NJqwMPzG^p4kgMnpdnDC3ng zVMZihncrJd2Hn8NQ|ih+z{+HP0_FVvA-4CRPhsZM_5vO%I2!q=Zu;Mpo?Vobo(vu8 zp`$X5SK9-ev)LjlecKU?Ou*C6a5w_FrdK}tiI-r>Ows_Mml%!J+uJCIHIS{GL1=i@ zd2vPK`0f~K7=T~kDONj4 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.js deleted file mode 100644 index 255a8b859fb1..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.js +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-005.js - Corresponds To: 7.4.1-3-n.js - ECMA Section: 7.4.1 - - Description: - - Reserved words cannot be used as identifiers. - - ReservedWord :: - Keyword - FutureReservedWord - NullLiteral - BooleanLiteral - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-005"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("false = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "false = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.binjs deleted file mode 100644 index 96e2a2d76d0c5ec4972ba76fc1a3939075792f20..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7187 zcmd^DS#Q%o5O%o{2q7Wf{Rl$PBJqGks6^8gib_FER36dBo+jJ6akO6d`1j1Ly+>j@ z?OH88c&Y1+_nV#Ln`1jNpC+){83T(~`;p*N8QcwmAdAu|1Thy7Nqz)bkVz)t5GFDU zI?L+oj=S|smVuBE7Z6{QbjXsv!nlKIF+>Ry5O1?Xgc`GKT>#PObR|3tv*Dwey=;&{JGs(F4sEclaxGS!mQ)oQlC1t zT8Y1pA_kj-t)3C`4~3KNyS<(M73uyM#luMiQ_0iGRp?KV1SeAr->Z@?Aj=aU>C1`& zOC}K2E2@E^ss8P#zfWkvjnQ2uI2$HV#3&nOQl+n}xZ(`vM@=D3NjL1fEJ^HE#d;)C0uV4U z%A0!uOL=E^6Zxr7U~eJh05T_8YAaT9p#DKW-2+>3*H6#qsOPc31ojO(Ef9lrD;-ri zqtvaWU`(Y1mb4r%^BF0cjFD) z&@o?#ZC{{mx6{xxSDP*~$^*5xQBX#f^>OyJ4ha0Dgg|m~A-bJ$=T{7Z3>Ba6D(Ji=TDL7&PW~ zu_iPagKE-DI`Hzvxu>d282@etq<0Oc>sF_RSKa2uo;Ny0MEDB3aX1dE(3%CV2(NfJ wBh}R5d#gbFe|-sOUsMQM8)Q+*YRECJESn*`icH%y?&WLB9J1XV+N|b(0n@NfRR910 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.js deleted file mode 100644 index b24b85875856..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-008.js - Corresponds To: 7.4.3-1-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-008.js"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("case = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "case = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.binjs deleted file mode 100644 index 8cdeeb9785a8f8ee95a30c5b0d9359ec51f593cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7193 zcmd^DNpI6Y6n5DW2aphVA3+GU91)>Xo2F2yEvSjg5l!sZWWbH1@wm&s=e@CKiI=ov zwRGW9*Avh8<}Ke_rYG}x0_(jguy}nK2|ky>!ypK12u0O$#8*#TB z1a-g}LIr>LEDm_qXLFe&yur$(;Iqm4Q$!mM`lFri`@Pk2tyext$rC2bI_@p?X;Q0` z_{S(>v@_Zr7$N^qIO%>kI2hiL?$1#?oJBB~Je}Qy{uD`YHplS2Dd_^TJn@mfswl8x z0#Uu98W@`D-=6yWf)?BuJ!FEjaRNn*GBS8Tq*LT5n8#!)EN@#FP{6NT1fL3pK1S*x z#{xd%((ukb)@Jd+PK-H&A8`-?K`Ywo1hR~#O>Erd5(MTI#qPn`94(xYwgil+BnNYl z5}9n3z!{HN@?mZ5lZ^z8Zk~mK^{cDLy)bVr6Etb+ZC>Kopue~A>*N1v*@gsvC3by- zcHPdYq=g57b@c?|@MkLGtdp57QHHvPE5=}U)CAImbmP9ylEiLRoJSfZ009$|yuA~! zgm-qgQJ=~Lb{0a8Aahcswqh*<>L2veJ+Kvb`}BN;dY%eQU*E9L0x?Q=(@EW#O5Iul z#ze}*xz$d!KiHiK%IcWjj$|PCWNNc;nfwUoy%pk`>KY)u+}_xjHTl##C6UshRa#@} zr)vbS6EC5<#x9Grc`aqRBJX@Hp^RVcYqY|yqTYTZ;BCeeh})f4F|aG|&KtI+U%nFC zzDC>br=e-bLpc@csneBfDdu^PyP>AJK4~H=tJF%DEm~GB`Uq}8>+y)r zfm1_0-!zwD?|`71AHz7GOhANRLMd|iTo+bJYC04v%dWdsn3Ul_w;1IlR(P^}DFUad zt1M9m;(c!3Kq!G^-2KtVyK{xQpj2d$burR7$z&g8sgdIM}OPKkx?SO@Hjz&Ie zx(-;Dp-q&Oo^%~*p}mrgRoenwv)Md~eb*_BOu(Z(I39zj=#`FtaQ7c@i2bBxCN zb*`7gTF6$8AUiCCZv1&mpr{DnVpk5QVI5jC!4=^Z6BneL tCVX!dCv diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.js deleted file mode 100644 index d5dc0ed44303..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-009 - Corresponds To: 7.4.3-2-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-009"; -var VERSION = "ECMA_1"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("debugger = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "debugger = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.binjs deleted file mode 100644 index a7e292d87869cb9700ff791438b4485c9851f252..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9838 zcmeHM-EZSW5clzo_z)7}-MoPiS1R##ArhC%K~X8F3CAPa*wbY1Ts!QpllH%7X6^lO zY$vfvX?omCT|4&7&d2Y!GqVGgFB2FJ7Qo`+Boch7g13VpkWsdTAm#!h#aAE$shEOm zNR00_B7RD;8A~Qw##<;YhA3eI;tO_-q83a((}Kq=lksSJ_S?naqb(CV=5C4w=D=L#6Q|4 zJ`-B{455b@3wX+v#ht&br^O3rF>(gK;vfPNtzl~jWE)JI(0I-j2;>!w?(xkMJuJyu z5{y)mgI!1|`6K)xfg2vNGoPU*xdSdycX`QF+r21o!v_W_sit;ukZh# zj&0!ggShnzbnEk+cC_#ka9dqL9R8V!SoU(W!^y;K;TkYVjs`ylkAB*ZSdzF;HRKUR z2|&QaJZ~=q9NxXJ+mKJY1Qr%TO+k80X}nk?K=XsS`U`gIj?d1|(9X3$_WBviED+P| zJe${psm-nNFY+i8x6V3U{a|q>h}4nYu2dlSeBnsAJCJ93VUN+))dpu zj6_C<&S)dkTzw~WTJaXB8`f74*u7FY#@)SDvLb*54InMJU!Tb>DKCt>r1I*0*`)$>lp}_LYk7Z z*-NZ&F>tgRb!!)M2(_I6LXa-w=8QKHY31?KXOw%_Oht>9Pup_u66WZS4VNsLqL>C( z37gkyUg`>pv~sG-Mc^;!zVgP_;CrC@X_7^+bTo>lS(%2 z%;v4bdB&lDd(uEz^s_^4gbYAq!SPOa^34n zI%^OjbJHd>2r5$Q4e1n68xO; z<`S}$yd?q;-mxvC*n{}?bM);+7TQT~s1_nydjnsi#a^oj@B{nc9ZiXbrB!9*Z0z<8 z?Ulj5Gdy8wYJzrW@KoH6sJeDVAT=_xEWQmQdOk{6E}J```>Sm?#^5zxKIYo?9ZCco zNY~qm<~qG|LVSV>WR5Lg_(P~f4o~WuHWEp?8Rxj?;gIpHr_l=7y?8q@On zU)#1O%hTeV&-FGl`)u3UUoFHnk-Ev!CkX9lek28~JFs4_;KSYfYsYyQon^S%v-PN= zD%}dN2s@T`kU(BJDC!9r3ZWw-PJhFN9BFu>y7 zB2p7AzJY+RRvep=-tqGR65#^Y8yRr;gA{TGouQ1FbmUic25m|eI_MOOy+`)Qr4Qh^ z;tp2Xc@zH_1LAMu^(6L_ud{eciSR3|$6+1TMH?9SDmo>^4z6jE-`NBrfUoah?b~*O k-VWKeXSI-wugg(Hr(LEmk9UeSQ3suz)I+hGW-ILb58jo+D*ylh diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.js deleted file mode 100644 index b6703284269d..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-011.js - Corresponds To: 7.4.3-4-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-011"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -print("This test requires option javascript.options.strict enabled"); - -if (!options().match(/strict/)) -{ - options('strict'); -} -if (!options().match(/werror/)) -{ - options('werror'); -} - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("super = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "super = true" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.binjs deleted file mode 100644 index 6e658e50f8b3eb70870938902e42a6dc2f637a95..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7186 zcmd^DS#Q%o5O%o{AR!^%{Rl#+6!Au=MAH8Gki9t(vCf6U}$F;bd z4uU%11fhaMK8XXKb=g$r2yd`5Dfncx{t(gnz3yQ9$8Kk}T-3g$7H3d`FD1{ClsXThgJp%0OI z$gzM=xHP!;^))N>{&@Ds?OQ z7xO3+r&c@F{a|w@D5+z1JCK3kqp?lGW$q)OH&%#is!M?Ma(iuGR_9aij6_O@R%wl? zpRN(SPP~Nb8oR8~=CzdNioEfqgqo_wwni)LD(dYw0^VXgfwB-uo3K2y{jGb{jU&sb}Xppnbg&`79%x~9 z95^&o^G$sj_6~?=C_uR`{1i%&!^f(mg^Z@-aADc?wTh847U%|}oWcq>mM=xr)b(`w zl4c{#C&gWi_5aYUExVtoxVQqT0#QwQ&G#}Y28=l{no1Q5#qGPRIrc0xZ`!KeI8M%^ z8}K=>E2E56PK6nfd~TR;Nf~qlA5Ew$w*Yfv`Wck7`v=(GgFJ_s&)W-FDCcP8qq?hr zW$D>ON$E+~p%&UJ(^$1Fz$Kf_qtdq>!N>$W`VL1!5DR*x!#{W<7EA>V5b_kGv3iy3 z<*){_l{3gAbhAv0`x?V{!$`#d`~pug-*GH@`i!41AP{z8wqU7?A9l$YH0O3%1`Wob zqBNHdynJ!)vFZ}$zncN+UBsWFL);=>^_v@f-tZI>;VbONVHQ@QH4R)5UIB4NuBpTK rR)G@0>q|KMvP#g}Aj@i2Ly~c2*%aYbW!mO(FJDvYknL{K<~9EdyIf8Z diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.js deleted file mode 100644 index bed3322dde22..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-012.js - Corresponds To: 7.4.3-5-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-012"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("catch = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "catch = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-013.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-013.binjs deleted file mode 100644 index fb06fd029a2f2568d81a53e71ffa3a9131462e96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7190 zcmd^DS#Q%o5O%o{5+EVo{Rl#+RPaWqMAH8Gki9t(vCf6U}$F;bd z4uU%11fhaMK8XXKb=g$r2yd`5Dfncx{t(gnz3yQ9$8Kk}T-3g$7H3d`FD1{ClsXThgJp%0OI z$gzM=xHP!;^))N>{&@Ds?OQ z7xO3+r&c@F{a|w@D5+z1JCK3kqp?lGW$q)OH&%#is!M?Ma(iuGR_9aij6_O@R%wl? zpRN(SPP~Nb8oR8~=CzdNioEfqgqo_wwni)LD(dYw0^VXgfwB-uo3K2y{jGb{jU&sb}Xppnbg&`79%x~9 z95^&o^G$sj_6~?=C?JLdhBILJDU>3Ik5yRcoOhZT-2Uy8V? z>+1A1%|@C}irW|)0YkI4?1rY|MjG8C1?{Rr6*m7T4=9aW7W0*muxnVTHkgEBNOoGI~)x`Ea;UE|KOciFcmaH$Wx5Q z>SeB%!y3p|P9cxb%`z=+Yz*HGBNYSi3p~Yq&#~y~Gk(5+K-h)Zf~78g+$Cesq}yc~ zG#G=*(p)<5^2NCat4o*wZw91y8GninnJ?p2&$;2}Er5a|e1$zZ%)%Xpd-IMM^ zmSkJPAx`N_6v@)=?Z@wTyL&ygm?zNh&49)IQ6%_W1s?`MAfs#!LCgh2iZ4M1QZWTL zkSZDUPW9V8|I=Tj1fd|#Mf{p%6PAp$j1N#+3{k=a#24%aMa`Iet_2U5EV0rOE>-^% ze7RQcb5DX^V2YxG*F22_E(dI`7AW4zl1lJ&+W!=#jfR8q*&i3Z)8bjLxRQ}eChT+k zwy>wptWN4bMit|;@%hjy`45$o?XQNHqkFRbb5sxO23!HwnFQ-Ortf`e7a$i& z8||kW0*`DW>RU7eQ&a!j(|^C92Y!yeVuG_t0(p)ya(FG<4=#DoLozn3`T*y<~}yJzA5j7hbv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2ZfmjEckR%~1^;3i)hb{OU@Q8i&oIm?%f|s0 z?-r4oYVi#Oe7WY>jP#D550D5Ku-eFg!yl!PGw2j$z@#I;vNLE~D$zl!SnNHtM=pH; z2Nrj*%GTRBolwKt-^QzH?5AIA1(X!wcUY6dDy)h&K=4(xN{Jn8QzyT*2}A+k-@)3q m?FF43vTfIDpc!A6BZ*e~Ojjmv6>B07Iz6d|VmHy2`1dVT)5O>S diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-014.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-014.js deleted file mode 100644 index 05f0c3cf9107..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-014.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-014.js - Corresponds To: 7.4.3-7-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-014.js"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -print("This test requires option javascript.options.strict enabled"); - -if (!options().match(/strict/)) -{ - options('strict'); -} -if (!options().match(/werror/)) -{ - options('werror'); -} - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("extends = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "extends = true" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.binjs deleted file mode 100644 index 91ce5ffe7fe2c653073e0ffb03692069e42e4202..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7188 zcmd^DTW`}a6wbIK1VTc*=MjX^K!PXABvuLxje*t*9+8_IT0_=UwzF>ko^zb|(kAKV zXk!dsmc@;~<8%4W#XVKbGuY})fu&o+MDV$au0~NLlY9ukWkZc|1<_JSGA1D1V+RN|W%8{C9vrgFqGepFtsD4pBko%d zK_762P|+_wOCv7(Y_1A~w^&jMKAUXaM6}_cKic`c*W0YtdexJZJY>SIE}_+AcrXNik>e9~?wP(3-X;fvlrx6B~EA0)cr&vwLtfM+-~RmVhyp6krch zA(O2#IN}M*o<4j2(nW$nx6jhR=GE8ZpD=GN6EtZWY+g!mABWGszxY25+mPSS#H13PhlpPu(o&xOG3^#R)~5TkrIpVXbH)ve`U z%%e;kJMDD$gUy+sq>kC`hl&KBOkEPLavuRbaYB4kodaZ$+Z+3`CZ7gpBvLwdN*he` z^od zM+vR>Gge5~-}*=0&hq4!F3{!Bjs^8Jle*s4VMNDcnSo?wRH>CNSG1g3^b!08t;aPw z2M!JOeA8Tpg9G9o3XltqzKdVSN)+&_E@~yEnLu1w_MNSRqzVSQ!l=fu(vQ_k88%H# zow=pi&Wl-j8RG(AY}eLZ(A0cfgVd3z$GrB7865=H92icOilyT2-PatO78*ER*>0UD zm(eZw64-@t#wn-cj99)j&3EJsx`9t-)RsGdr8)fs&bj>~?C(LH!px^_1{{=kH1bi? zUBJ5hY@?*|r0-A%9h7RE+795H%@$DVyUt)_0-k(=gE5E|z4Gx-yb_D%f+h%cjL}%X z%MEf^3)!k6iHq<-291W&nPHr&w+|Ry}>f&u0(_d$3rs)Y(tFWDFW~`%FTM zF{mmnrGp?}oO-T0hXL?%Kn7RwyXcUmDqeS-AAQ026ch0y?8spe*P#s$d=WtraYC|b t!Vgw~GQi_=IQzO%(AgmCidIXO@nyLj5maWnCh{O(Q|?gR?$MSt{|&i)Pc;Al diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.js deleted file mode 100644 index 7d8c8e80bafc..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-015.js - Corresponds To: 7.4.3-8-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-015"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("switch = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "switch = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-016.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-016.binjs deleted file mode 100644 index 45e1bd716325f393bd48a2275ceca2abc1e8ec31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9838 zcmeHM-EZSW5clzo_z)7}-MoPiS588_TrLuq%Rx~os0qg-+St=%?_4|Vu9Nn^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-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-017.js deleted file mode 100644 index d7d33b4f0182..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-017.js +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-017.js - Corresponds To: 7.4.3-10-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-017"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("do = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "do = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.binjs deleted file mode 100644 index 0459a8d16d2ee4e82eb8ca2d63645c03ce74ad5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7190 zcmd^DTW`}a6b^R~5+EVo^9Vv{An|}inZ&vRLt`LX!6R~$v)14>mE&ydzvmn$zO+fY zIocS5mt}F|@AzE4b8$}lyV7);)jq&xnc?qV5ah@ zx1qo8`CH%SIY1|A$TVbKK7)#gq7xDj{T zL(m7DAyo8>&(etJeKuDG!dt9dNj{rw-a@qDpg-FAyw}^P)_T>Glssh8uH)WHpC+|B ziNAp&MmwY3ffe!xg_G{z249C4r28Ed5621270+fDp+7|u9M3U)FG{+EybvMMH#7yV z*g({;s0N0n{f zkYf>_abY5YBtY2L}qjweG?!Zl$qIU4>LKKfzbXF|BGn)1jZ0T3}cDcTzW z$9Hdc8}q43U}GWG2y!n|8Y|Wkp!vZ({R2C3f1jQYP|qWY+3N$gSs+K*ZZ@eqQ>$Cc zznDjvTsZA?_k+!uq@<47ZC^!_Po^#jSGkXXo;o4Esm=j1$nA}NS(8tLGZHBsJEaY# zdHO~OI`JB+8|2c20@8Nptr*yscj*n=(k`Eg zZ6Bg-_p;b_{=#qy?iRr#x#%;MOkM4w7Ji(i zizuP>zFlC2?O0GxGpXxs9Y%CKmKjJ^MwMFWaz)FjMIXUm(0W{_ zbKuZW&o|9wI5;5gqkw&^-9jwlH?fihyspby$!R7MSC)Nm>nN$Bf$lJ>IjnSK^-{)7 zQ&(rMX|}RrR^G9|5xO?|C$F7AYPFJ^E z2g+r13%&$)VWe@&=|CfzFOBmZNrP_SlNt5p4q$0eKY?^^{|Fm=P^U2SX}bXjF z>zBDf4r?J>HHF+pH><3?v9Wx&jMNOkFYpx0J;$o2Px$!^0$~r1RxEY)<1QJ4Cfz>E zp~VSe?TJcsU@0%lJKX$Z{F4d(IEPU;z{q@nh`C;V7;{8zT53fLB6Ksp}O6qEo=T84wg^! diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.js deleted file mode 100644 index 4d151e67bd14..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-018 - Corresponds To: 7.4.3-11-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-018"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("finally = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "finally = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.binjs deleted file mode 100644 index 63246a07f86449ec9ac734a0457d2da153c7cc79..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7186 zcmd^DS#Q%o5O%o{AR!^%{Rl#+RN@5@D$z8BqEb*3l}EI(r^!+`j@Ij@{rAkQy+>j@ z?OH88c&Y1+_nV#Ln`1jNpC+*083T*g`;p*N8QcwmAdAu|1Thy7Nq!7jkVz)t2qrQM zI;-mIj=S}9mVuBE7Z6{PbjXsv!nlKIF+>Ry5bv@hgc`GKQvvsmSz^!#PObR|3tv^Jxey=;&{;}IxE!R5blaxGW!mQ)oQlC1t zT8Y1pA_m)oot_c$4~3KN`@OyX73uyM#luMiQ_0iGRp?KV1SeAr->Z@?Aj=aU>8pwY zD<%-tE2@E^ss8P#zfWkvjnRE3I2$HV#3&pq41X#HrOzbwAjg2}ZfZ2uM;n!y2dVRw0SLMxgu|TDWRrnv8~YxyNY`IjexfpPatk~-hzQ$c{kp$4ej!U z*!Bh5b~g=8Hy+BdNM}w{uBDjgEpCSD#saOk8&Rzy_$R|DxLpJf#A%nwXl!d2weZ6< zJ`EyT?bt6fmLsg)Qp&bkAc_wwWt;L9r$I=7I!l+UyUAAahwdfCuDlV=-sz6jzUh}<-iUDH|jHXh>LUH@F^KUhy_zY1B5)qXsll4 zdO56tY~>8{h;m?B+}9Ys8%8Py;1_s``Ho}J(`WpA0fDd!vjt0C{IE;LpgFh8GH5Uc z6{Wd!;N^>Rk5!j2|J@8o?;`#b9pV=8s^8q;^M~$g-N%kYrq0Hbr<6mdCmU<`2bFP diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.js deleted file mode 100644 index 0280b77102cb..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-019.js - Corresponds To: 7.4.3-12-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-019"; -var VERSION = "JS1_4"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("throw = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "throw = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-020.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-020.binjs deleted file mode 100644 index 251a6ceb3c1bce134d93048e293fcb42c16ab861..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7186 zcmd^DTW`}a6b^R~AR!^%^9Vv{fOw-!Vx_>)7>HKzh}`7R8nUFaon8Jt=Q#1DP14QL z#u&UTiyME(=klG42dZ3TusN6mOE<@f;0qO9iK0j*#R8&~3rG~-2N_Al6zoB+WHi{& zUl07PucZW`Agv(YWyO?bV~uec(Nah-cdi?i&w5 zA23I#=oin^h|3{cs1o5VmQ;f0v&|cbHXaQp+n;s^8}-_tev*>=OxShYTkF%NRxk0_ zP{d?=vNN(m{-AKu{p;w<_?&dVh2r5bfra8lejfT$B*EbV!}q+T3y@_NB7H+s;F1kQ z{fcT}XzG6l`tNO8@MH8V6P!&msA80n!6PD_CP&3QrV8PB+rfYe{?c*qh0y3zq#klC z;yG8AcmA=qst>kP%o+R#2N4mprmaaJ>uB1>#vQIeU|!Me9vv>w!jiNlU`!jO0F z+mb3;`~|SA?n4@XD?}=Lnc4AVY)ZH$3?@gzAHzpK?1wDN+*VC_WKjkXF)=H<8v)06 zZ+92-sY+mDA=Ctj)b&a;KwJcxcg)b%4RIRo(MqyvkV80RYTgEd;yPdaUU|-&aH*80{d@8oR zkG9<{V%v?!YA%WcuPHZD?DHRPhT6sgqqiSXy(0KC!zs951W&}#kf~(uY8SQe(;_{J z5?UW-tdy?5^^dxh70EAMpsS%B3+hQGb-k^}h>piH1Ify$(kNZ7XgRg$BlrtikE?VJ z92%PWro9XY2gF?zkQBL8@vB&g5?(eXtzGYA7_jERXsT7L6nF2w=Ge2)yy>cT=Qz2H zZo!wp&W$ooIUQz1@}*(ECuPtLe3nyJ?f{m?^kXRJ_D`_A2Xz87pR^ZnP~OqVM{QRD z>(aB0lG>BLLmhNbrg3UJfHO8*K&9_Hf{_V$@)7o?AXfA$ra$pUELsQ}Ak+~?WAiFE z$YC91t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@Ue94a_c}|bj0nHSY8+N!U9>@gucA{vY@wPa`JGK5{QqzVYu~gH l?Cp?ETUHCl__`cJblPP0rSVR&Cgz}XlX@t&vuuTY-vWOJ!ioR@ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-021.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-021.js deleted file mode 100644 index a3b4422ccc75..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-021.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-021.js - Corresponds To: 7.4.3-14-n.js - ECMA Section: 7.4.3 - - Description: - The following words are used as keywords in proposed extensions and are - therefore reserved to allow for the possibility of future adoption of - those extensions. - - FutureReservedWord :: one of - case debugger export super - catch default extends switch - class do finally throw - const enum import try - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "lexical-021.js"; -var VERSION = "ECMA_1"; -var TITLE = "Future Reserved Words"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -print("This test requires option javascript.options.strict enabled"); - -if (!options().match(/strict/)) -{ - options('strict'); -} -if (!options().match(/werror/)) -{ - options('werror'); -} - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("enum = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "enum = true" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-023.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-023.binjs deleted file mode 100644 index 6d4ea145dc256d0d1797c9f5a3fbef3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}%a;EIH&;e2 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-025.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-025.js deleted file mode 100644 index 0dbb3ac63d5d..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-025.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-025.js - Corresponds To 7.4.2-2-n.js - ECMA Section: 7.4.2 - - Description: - The following tokens are ECMAScript keywords and may not be used as - identifiers in ECMAScript programs. - - Syntax - - Keyword :: one of - break for new var - continue function return void - delete if this while - else in typeof with - - This test verifies that the keyword cannot be used as an identifier. - Functioinal tests of the keyword may be found in the section corresponding - to the function of the keyword. - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-025"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("var for;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "var for" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-026.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-026.binjs deleted file mode 100644 index e01a288362a7c5ec39eea9630d71f09add21bb4f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7163 zcmd^D+iuf95OujDUXb{KJc1A^AjAt%C7K2(l!8dqSG2LG$x_#j)|=bkGqd(y65DCl zN=aK@>e{i-?p)59nQhC-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TL_pArwpu{e(X@(skeJc;J)_W{C@X;I<`XJFU75o z(5>HKF-t_0HS(;bMo(95#Szp)O&Lu=H`6;Tj_s$4YSN+%NwYn^I% zupbko<0xpSG7x+?vbtNy9Ra}TdfcOZ;G9s_o9Z&` zoe~b+EN=3IscPr+k<5NF8RsW2HuMAY zY~5*0DY_*{m4j-gt3QQN;WzHUL@G?o4Y&8M<=C#!bZHBA?eMsaZorqou8b|#IF(_< z@1@bbAzLsEd^o0t+yX2Ovr3QSW8_lh;ChHQ3rwru%dfT>0^ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-027.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-027.js deleted file mode 100644 index 0d8ddf079875..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-027.js +++ /dev/null @@ -1,61 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-027.js - Corresponds To: 7.4.2-4-n.js - ECMA Section: 7.4.2 - - Description: - The following tokens are ECMAScript keywords and may not be used as - identifiers in ECMAScript programs. - - Syntax - - var - - Keyword :: one of - break for new var - continue function return void - delete if this while - else in typeof with - - This test verifies that the keyword cannot be used as an identifier. - Functioinal tests of the keyword may be found in the section corresponding - to the function of the keyword. - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-027"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("var var;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "var var" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-028.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-028.binjs deleted file mode 100644 index 99488decd5c5b0a0b9edef2c400523addb289655..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7183 zcmd^DS#Q%o5O%o{FC2d$k068!hzBG>C7K2(l!8dqSG2LG$x_#j*6XDC_sp!lM`Ane zS}kqirLH&LZ+4Dvj_t~P8pBq10xa4Zgo00Ha5D&kEKH{mL|i~9`3$lklT5-fBr*%S zo9gSXyY)ksfshat5TD|7#NvU%xPfR9gfSBk?XzQqny_p~0rzJtHfS-={)Tz}< z{B0C5+#T-qjgY@6oOD0v{~TPB?)OnVoP;oyJWVb`e~KhHnPT`}mUIDG9{Wh&R20}S zfv8?l4Gc~7Z&&?&Knre+9x%b#D25_N85ukv(kXHj%wsYYmbVQIDBw3vgHMG*A0hRS zV*yXNG`w?r8wkE%yi&^iX zS--+!o{A`IWm!v&fv(z$BbX00Wi$odNbj*Ywp$g;kvK6xz{EIjuKkwc&h93%Q(?ef zLdYRxPIAZWgMPXPw&Jdyo)1yaxxj?=89OTw!*nklSDmTUt)yH`olGpOcBJ+WSLey%{OXjIc(^L>m81Y-^isZzy4ar^FSj*Sb=nYMH{j*-jg27C$Z z(s*N)Q?W)&UmD_D@&?_&#|gFO7GP;SKZSR8{}6k8kY_OSSsMZi_YjxL~t+l>4@G7@2^F-{5!zVnwfX^c!!&f~lY>LM|{Gt5>*Q4r?G= zIf&2%E7Rhh#_-)RQZWF(z*8)@9jl%`<>zwrH#^5S$982tjbW=h0TyiyLcympxE%yR7N%1OA}%15d+(NVn!k7t&_SrE)O<1<0fcrBR8?=~ba_b&`T#LKo zAgBW-2o)UhBno)eV^f(Uyur$(;K_LFKB5i!z2WYU{qAPD)-9i;eOl_ z{w|6b?hg0*M#w)DPP!lTe+@24_lGDRPC}SUo+g)}KSdIpOfh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k#j^VgP=Dr&w+~Ry}>j&*u;bJ(#ap>ij2OG6oI19hO0jF{m;vr2{Wt zY&=_Czz}#nAiXR36Ld(al9!$5MxeJ0ii_5B?95@_Dnn~7xFWow;*5k-h3~BbWq}tL laQ1cOps_*L6|S00>Qy+EIU-d-6@L=TFf)K{{TO(#65Hn z)BzKO3eI>E1w8Apv78{h!OEoI$#DN6qV>9+{?Yf7_HMD(E}o?1lnJwrdkcN4)M_OD zK8olc^^dzo$UhWLy8r6_>}^T+$0#1=A&ezYlWpivkp%NGhVQnd3&J`<%&{Y4n)!(PI;Kt}LCO8|!kjE$^g9k)9MUI?#Os2x}wuS*Y{LV%2sZi(xq#klC z;0c$8ckZzc@(+$8%o+TYg9r#((N-srbu_JF<1v>YFs~?fcjsfYa7Nk^Fs70Tn1d9^ zWUCnFJY@0fH*fcBBxrQ=%nhtxT|I7vc}tm~N>gw1QiA)^+xz|Q|1@kxe&2{$AE8;l z!eW++C~IU{OO2kc+KMBX4>e^p1>H#RusF6`70Z!0F+jk?a8h6UEybPPb!4Z)fW3r} zeaM{Ts0~-jdHM(abPsIBT|Ygap`J5=3F|Xj}@xtKbcSXk{;!-M^p zpgfKV?NkPW4@Wld7U_cPb*4RZ^ zHm`*&SLBVa9@Iyzb~0LFS5a@j5%5RGV~FaVw_;#d-i5K1`@5w*X6X`2~ct`}^43gS>>9FWU)NDCcP8qpI0|U2-;2Qh3sJsD<{* zGgfU2aK&cxsPjz+FfsuTzrpzc#EM?&;16Db1!F;`RF^S^ItNa6qh diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-031.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-031.js deleted file mode 100644 index 53f0c399c8b5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-031.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-031.js - Corresponds To: 7.4.2-8-n.js - ECMA Section: 7.4.2 - - Description: - The following tokens are ECMAScript keywords and may not be used as - identifiers in ECMAScript programs. - - Syntax - - Keyword :: one of - break for new var - continue function return void - delete if this while - else in typeof with - - This test verifies that the keyword cannot be used as an identifier. - Functioinal tests of the keyword may be found in the section corresponding - to the function of the keyword. - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-031"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("var return;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "var return" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.binjs deleted file mode 100644 index 3a4137299942d7d49295146c66dbd918a1f64aba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7175 zcmd^DTW`}a6wbIK1VZ8u^bv&6xV=#(v97>i3`DEFA~!i}&Ag^^+_nApoa4loHc2-} z8{6PzS={(LK9}!Y+*Z?xfUWijShCfNC7-D1W)wwPoK7H0xP(~o6Ud@WF$KpkR$0{E z)L*y#tsk-sq=F=e_$1N+6FrS_1JM$Q1(T5MvtxuBv1~^JcTbqGXo6>I>kfWgiM!(= z=mU-sDmvohB;r|zP1F?OEmo!^9}lF<8uZ*LZB?czyFo-k?Gac`kdm0FF& z-$oJr-Tq$J3i*q|N%w>9&)y~JejmldJcfzl>G(4Ar$~bN1jF~Tq)W)AB1HP8roe^` zME#0tU})-p+xqVVTJU4^fJx2<0`eGTWblYcr^%5skEv8T-qtW6hu=62K9w4MfYd{d zMSRSa<(+@5?fiq?1ak&IFEu4|I1dOR<3icoc zGTBPNoX1SOc=_hFiv)vipSgj}tFOmDVct?EsM0jpyp-U+^j`gX`+pj?BEO%DS?{4) zzrtdc$|P%KSx1eYsoI(&m=6tQ3Ks7_gU+ zst=i$9F5^hInVrHp8kQIxT~k?<1VHv<01xPYYIc`F9?84eDJ zM<^fx0Sa30TS`vhU0KvhN;84Dvg|us2T2hObZb#eUb!EOmpp8$nmThavz<=I`TdIv zfPr0GcPCTwaS2jKqMq#P?_zWiSaV=F6)NV6yLVr6Y+7i>bY;7Cgj`0q;7eea#u=xa zjx%EU(g5F(Gw23B98+8F0G3AcQ#j}L_p!eRbp|t^wHa_w-qFZMRpbA<{A{D7@TBih z2OX4ZoZ1fHg3T6C>YL7BWC9+4gX00n6}{5IZ@dMICXyxywZLdBU*85ftcGmG5JJeuYPqEx`ta|#CpU)u>_F=YSsq>$9$rv=~c31{A#-OUSln#P?apt+| z0tUeA0U2DyAEHB+s(9IPe)I+7Q%tm;Vn+_MRvFsxz!wn|5vL@ZD*Rv-C<8pZfU~bF h1&s}|u4vU{8DEym5kY09X(A8uHRTS~>>h1d^FN_QN;d!i diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.js deleted file mode 100644 index a4196950b8ba..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-032.js - Corresponds To: 7.4.2-9-n.js - ECMA Section: 7.4.2 - - Description: - The following tokens are ECMAScript keywords and may not be used as - identifiers in ECMAScript programs. - - Syntax - - Keyword :: one of - break for new var - continue function return void - delete if this while - else in typeof with - - This test verifies that the keyword cannot be used as an identifier. - Functioinal tests of the keyword may be found in the section corresponding - to the function of the keyword. - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-032"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("delete = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "delete = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.binjs deleted file mode 100644 index 86be82b175e586e6d5154e58aeca4aeb56274dec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7167 zcmd^DS#Q%o5O%qb7bN~b9zh5dRNe@cXd0kU0wPgg(Z-%8OWinHZ<^%aGqd&{@sV_` zmL9y+^~U?n&hgE$Z8@99u-hI3i+1~=;8Pjg4T2yIlPLrd7Z6H*25FE=CgBt&G7Z|> z>g%?<^<$cXkPu}MpW|f6;=aPTgJ=FM?N%y1ful^P3{usr>B7~{r$>b{Zr$~au6vOwbqzg!Av5)j^MS(37 zi0T#9z|d6xw$W4uBk2o(#!3Ytyq;$y^|0r-Lgt+O#O6?;C13P?AF+M zSvIe^ELY@>uO8G#6+0QNu&b!I-w5~<<1s|_&MO$$m3QL}Thk$5h;5&vZF@<}G~g{c z7RlV{!?hIiyv6-b)g++xb|b1$1pj0>_%@5+fmn8!49B*1QP)09qGb@$dM9SH)V8$l zQTO5`JW&NYo71tNo@Y2$+Zs&ecq~1G6sD6>>9R%3szo2cHE2EV(K&EVDCe8%GVC1? zPf!3qZhdG;F@yJIF@RZhhi zF??lsZ^##P10PMOCAR=8WBCTY+5H3T?LnTy%;#+cER=IJ@=?|3zb-eMD9JtPI@CgY zr5UTX1-N9hd6fC4^B0+bhu`6J2%?}@GW>%#V8K+-^dOfQjpeIbFNf8TEgwK=a+OJT zKV$fA7^xV5U*IWL+l`{9H~f47fzX3_!BQ7L>5?&M$nCHcYK%b@X(b(a`QqF&)g=sn zHv`hUf)iU!1ur|zjXZB`iig$o1YTv;|hc$Ju@N!-iVls9Cv`?FQe{{kPpM(6+l diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.js deleted file mode 100644 index f36daaff80d5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-033.js - Corresponds To: 7.4.2-10.js - ECMA Section: 7.4.2 - - Description: - The following tokens are ECMAScript keywords and may not be used as - identifiers in ECMAScript programs. - - Syntax - - Keyword :: one of - break for new var - continue function return void - delete if this while - else in typeof with - - This test verifies that the keyword cannot be used as an identifier. - Functioinal tests of the keyword may be found in the section corresponding - to the function of the keyword. - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-033"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("if = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "if = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-034.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-034.binjs deleted file mode 100644 index 71c194a4a4dff79c0b25e1a768e907ac51b47236..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7170 zcmd^DTaVH}6z+OAzL@w2c+?oP8hu0(7g1MNG(z^(4DDGMw@b;)u)x3foN4C*ZGkr6 zUVPbZht7BAT)uOerkYM-Xf;Q`qE;^ye4>K8K@i9=nLrS60ioiTAOoqGf(sZc88i>| z*G+%x2Pr`)h*F5paWY_WPh;FcvF7OBP$Sm`l}qfFBp)e)JIZ z0mldxobz!MaM@-PHAQ%fC6(agVe28H^*ZhT@sDovFk5S8Pg3%d3A>JaGkuEGswMtD zis&ErPdZk}KNL>7pLTxru1NRCC?4h^OcYPXSD`;e63izUzE>q(fSkrvq#tSu9N0kA zuc!uwrvA67|30AwKSocP;A{{>8l#L19uVm?Ia1~^l?cb%5(cF32b*!x z$6Q(7`Nuj+KRAvsXYex)A|Pl@Ta!T6(X@z-CtQKRyrS9NnNQHdlC&jYOeIsW2g#7h zRx!+Z$l_P8-@bE^V9@O|HL!X0^|%%0&1HfjO)Hz165Q9`o8SMbVGHv6PR#lU&H4=% zvqVI)R>(SP^i0*(9Kn2OC}Sw-M|zvZvD>Oyj>L%p0w#vj^4jkx?(HrkI~4}(C4}mO z^pc}7TrTICAI#G~uoHLv^n8kX&IBf`FW6au=qD%1Fz-yQZZ73w>SSW!w9^d__G5zb zI3~0+6$m~YxxAaDI|6#?g!rb~17sz)7q((WKCPUDNa==C+F+WeZ-h!GUc+vKot0(# zn#uA--uUW4ebj0vV-)rkt?V}f{=|3;QMvP04D8Fh@rEtwkauF+XK34Q(y$G9Lybf- z^ZIZj#XfIw|5G#x7`^?7sujUM84kYnBDgOWZKlGJt6kK!50YpRgtXp{*;Klg)<5b| zoP_7PK&Nv$7SwHqbG@y`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GOwJ0X9+>gae9yV1?oxYgaO{SCl z{>28s(5$VylPUSQ1gRoXO?LHnF)9d*IWU|G6?4VyyQ?`iEi_}=vRykuE~6XpC9q55 zj8#s>8L@n6fN#hdbORqvs4ceuOQZP)&e{C~?C(LI!OUlE1}v0wH1bi^_`fbcn(uYTQ7&zkgXU( zXnK`Nen(^YZWyT;fM4J#mRpWhPjC4790H*SvlUC7|FlcSph368GN>^IRi&kL;N^=m z&s7&N0A3GB?<)Qf9kNu#%Z_uS&l{g&qV*Iza+tNs(3%IX2(O6PkZh{(y;YzL@azK4 kzOEEBHpsf7Rg-00SvE&_m6@iA+{@RLJ7lwav}Miz02fk9g#Z8m diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-038.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-038.js deleted file mode 100644 index abcb85790bad..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-038.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-038.js - Corresponds To: 7.4.2-15-n.js - ECMA Section: 7.4.2 - - Description: - The following tokens are ECMAScript keywords and may not be used as - identifiers in ECMAScript programs. - - Syntax - - Keyword :: one of - break for new var - continue function return void - delete if this while - else in typeof with - - This test verifies that the keyword cannot be used as an identifier. - Functioinal tests of the keyword may be found in the section corresponding - to the function of the keyword. - - Author: christine@netscape.com - Date: 12 november 1997 - -*/ -var SECTION = "lexical-038"; -var VERSION = "JS1_4"; -var TITLE = "Keywords"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("typeof = true;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "typeof = true" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.binjs deleted file mode 100644 index bdda278753be1965cab33cb8e4742ad7a5d6f0b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7168 zcmd^DTW`}a6!y3yUXb_$eFP!2A$UPllUP?^XcR=Ny&@;^TC*&v9QXF`Imd}F&82Ok zmTu!^S={(LK9}!Y+?JDZ$d211MuX$NFZfuJ`-G6hkH?GzTrgkqDN9HqsbtqIk_l-a zs;}Gb)=x>ogk(Vq@gYCH9m@&88>~bM9u1El16se^8Jzv-wGXqkcJ@Rir&O4A*qiB7rdA{I z4?)D>Y;fK+LjIv})cvCStG_4RpMrQc_t{wTINFE)7)fkChVb2&bitBISV#JyqQHR( zMD+@4KxnFe+v@K#TySIbf(lN(kfkw7(clD0r^t~qkIGnB-c~Rmg+Eva9}9)<0rh}m zghyN&-nqv*Nk2FXAZPGP&ICbdMO&RfR?)PKjptl40eMBSyE`9)g%i{kfgzPlm^ny> zjJ68doclC#*r&Q$6avMyv#Di&5d)$>40CNPyl zPP>#u@Zrd&-YnxG&}%EiHPsFvYq`C&8!Pi^?L34^x2)0{Q$JlJ)H?ABf@|!oGMm>- zmMiks7Z7Zv^39A^*j2Q)-w^mSb|b1$1plNk`!-U;a>v0bfu)RQpw zuT+6fM|CKuo6P5GTZ6$Ij-|(t+<;OjUAAahweTZ$16q#6x>)5@h#|q3#`lJF z0XOhrgdMpBSQ^aN(9P~2Kx@zB24>#053o?q(a=X_!~d$(Y@#Idr0Y-%T`S92wJpGo z%~qqzHyyvw1l<45u01Aldd1!!xC0|&fy0AbKr|LFZ)-WMf^6CR@dVr~uE1(1cYO0}IkpI;iD~jYp~-%zn26vUUMS zpXmZ#^qCuYji6gEp$})XRuNiLz!gy|7}n&OGW^;qAo*YI;OwiaKx2cfs#g^W#+7B$ VL#+zaG>6ynHKq;O?DlL~^S}R&M{@uG diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.js deleted file mode 100644 index 01e4407b32ab..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.js +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-039 - Corresponds To: 7.5-2-n.js - ECMA Section: 7.5 Identifiers - Description: Identifiers are of unlimited length - - can contain letters, a decimal digit, _, or $ - - the first character cannot be a decimal digit - - identifiers are case sensitive - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "lexical-039"; -var VERSION = "JS1_4"; -var TITLE = "Identifiers"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("var 0abc;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "var 0abc" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.binjs deleted file mode 100644 index 788313b8831b0e259740fa4e1c5b75803d330bd4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7168 zcmd^DNpI6Y6n5DW7bN~bjv$2EO1%+9qG^Dl5)g@cMPqxK44vB1c(VO_-Wz+Ccu8U_ zp$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ym1WaI UtqRjLhu88orVZKb_H0%2zf^ulZ2$lO diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.js deleted file mode 100644 index 346345579623..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.js +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-040.js - Corresponds To: 7.5-2.js - ECMA Section: 7.5 Identifiers - Description: Identifiers are of unlimited length - - can contain letters, a decimal digit, _, or $ - - the first character cannot be a decimal digit - - identifiers are case sensitive - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "lexical-040"; -var VERSION = "JS1_4"; -var TITLE = "Identifiers"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("var 1abc;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "var 1abc" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.binjs deleted file mode 100644 index c806df27be86b9c5216a3d662903b4df02979edc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8076 zcmeHM+iuf95OujDgoMNo%CQIEoT5oQD&&=9;acrlt zm5{dd1!KoPyK^~bXQoX#8HaGt90Cgty1w9J={@v3FZQD`cmWsSOFo6zizSnA1tS@I z&3*ND)BW@?jzLHW5{PeM)MsH=VLU*z0Q`^%2s-Qvp@u9zR>18k3k_PxV|nldUoONw zb`aDCM+oIz@=@UNxW&eDg75|_mV%E42Tu{L+ivwvesr4q>9b~fB_pRynCJLyYEO|_ zwU&R3OY}~9r){&yKU|z_KX3o)?#TA%xID~#7)u_Fc40qd63oY#zPnmoKs*VntiG=( zuxAoc-J%(on(Dtz_3ul1;O6K#6P)!!NOF{s!#yIMB1ghJCL>{aTf%?@e(yT?NGS9^ zQV%)i@e!AXckZ^1k{3<_)C_*XL3jkMXsZQe6-|rSc*-RR)D^|<_I!*Uj>%dAMk$$q z*+`1~0)Gf$&V3fX|M2Of%><2Zu8D*7t!u}faBoftiY%?{UgB80b$0msKlN;Zz;DE_ zl(v>Pajmqq^yuo7Tk!-nQPW1#(9QN13q$*N=s)j#m&|W2Z;6 zxlPw{m$X5=c`15NMeGx@71uo#otE&9QSsInb5wFIHx^oZT+OK*Hv<03cnCqcjxK4P zyWXvLY)Qkq5#PQ>-*%#g>4zI~D59Cu7VA~a^$xcqMUA<(+s&w28T^ys9I9Rh_r#*b zq(8K0G&RxvC|GztJ#U3<659^b-Re;o`Io9zPR3?f+paS!Q=ioslHs=WNMLDLkUP3= za_R91%>ZoM^LkTU5m!zKqV$xB#uwK2Kj&9jQZt={OOM?+tNcjwfaZtk3?vC*dXr>K zQER0~q({+YluSZx?EB`~s_AGhyg5jfglfi8J{2VtFz&!iN=-}*xA(5)*gDX(#}?0} z!<;O-0ndQ#j4swVm10Ej%qXoUT`&xMFrwzz0%V3{u)68C-}kV~2Dyft*R2CAl(RL8 zQPCi7l{A|yNh9e7)IwYFRC%zj*%n~SZmV$0*PVor3%Gv?U3<=*AnY!(rCQLu(4SOH@jR wYjmavzp@EL{Io*wnJ8(S0w`Du4Uz+(g{;n!z;y_WJA^)WM?h^3w?rhmjD0& diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.js deleted file mode 100644 index 9687c7adc472..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.js +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-041.js - Corresponds To: 7.5-8-n.js - ECMA Section: 7.5 Identifiers - Description: Identifiers are of unlimited length - - can contain letters, a decimal digit, _, or $ - - the first character cannot be a decimal digit - - identifiers are case sensitive - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "lexical-041"; -var VERSION = "ECMA_1"; -var TITLE = "Identifiers"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("var @abc;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "var @abc" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.binjs deleted file mode 100644 index 67c50e9d1b979fb035e7da4336312f8304354294..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8073 zcmeHM+iuf95OujDgoMNo9ZAF1C zQ;6yo-N4dR|81*(pVI@kMo*aFY#2gXql^OX5$O~;Qsyxk3Cr6G2Bh#?7r{qDp%0OI z$T5#kxHPE z8S*pyA%q3@S@`zd-ma|#jc%@Kfc35G$DIgoK?%w{tsPzxxUc=4Uwi*%U`zD4A zYiW}-3a({GUvJ!sCMb!THJXKPv3FP)+D{eHkvk!P$HZt_z5UzeI$u}uo%RMiP6#=G z#L-6`yMpZLAN18-ur+t{{Ct6a&IM}L7d%{n7(~a>sF+OUZb5ZXJ(*Zq@6?$Gk7RpvBpj_{6A@z$T^sH<7+E422wno~P(1pJBd5Q1tQUC}z% z-mMR8MZbC}v3-fL?L{rq4!7i3M02Mr)>h2*4tFDEeYy7At*Ay7{Da{bs#ygO#InPr zKel@`_0Yp8Sb9D^?}Tic*ap*G>OmO!XX>n+PR;OayUD0beb!(`hRf0uft6W7Ve7id zM~?^S24L4-)SL1XaqWV5f(B+xw03sie<&JR5i?zaE05hYtMbUofToAp1SHL1c9RxN zS!bmOqzBP-lFmVG>WAjpy4h$Uy9G#9gKEN3JrgAqFyX*L%3MqxxA(5+*g4Rw$DW-l zM>%R;!TO%tem}q_8{`II-t-t?p`4{r zj>^Vx>y+74NtQ`Bp%&U|r>cWZ-L?Q%9JU&peA7V)g@F6t;Cu*T#jj}i8>i7;EU1l_ zORUD?pHXThtb%OWB!J{kM(M27@ZB&{F#zAdRpbvFtC_yw=SwJr9?VxFb@?MF3I#pDm5Yss8&@!exgC(T_iqYmwtpAv*R8wS$W#rjS9l7Cd8-Jm8Q_|z yRSOr$Oc{P{7l`|>uVC%#Hi5}rm2M2$~CEmY&OQud;SMAEOW2` diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.js deleted file mode 100644 index 0defe9708958..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.js +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-042.js - Corresponds To: 7.5-9-n.js - ECMA Section: 7.5 Identifiers - Description: Identifiers are of unlimited length - - can contain letters, a decimal digit, _, or $ - - the first character cannot be a decimal digit - - identifiers are case sensitive - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "lexical-042"; -var VERSION = "JS1_4"; -var TITLE = "Identifiers"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("var 123;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "var 123" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.binjs deleted file mode 100644 index ebb6cbbf56ea6d08261cd7d5c0cafae8689888dd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8590 zcmd^ETW{k;6!vo81tbK2U{qdqRiW-mDD4C?Z)4kbNkLEBelvBb~IWt8XwIf$ukvv7z9BciHrp?mn>5JlI20J zsA3l^Re3Nv(4QXpul|(hOez)^5WgfMq{&QUd;n-MixMhXJf#-^wWRqg4LrG|iA76z zu8uy14>#hz@(}a^Q-BK2c^U^iAJa^&0N!HdO7e7}(PoqJ{N%Uk=%9QyDzB*IC6)F$ zyj$wiq}CwuAA^Yb$^3L;g}g)IXvw#eKW6u&JBp9QDpkyx_#JBh7{s%yh-He4^ghi0 zi9SFE*>hjgCCgVyAL$1=10UHu(6^ulWQP88qo5BwB)OC_ga!ip53Xz&1YUgu_! z_*4n$Xrm+9KzKVSYo4cky&?!>Ifoo7OlM2IXOWLlRSGt)KbBw;RROb+^?KBh_HUe#$1 znUgRUP`OyO_Z}|Cy|>%49kqjAMyff>J$5vftC61hhq?L(cH-VYJ--4y*Af`(SLp1R zoQqSjs5?`uTjN~dPAadRcDmt$eo!Kj1EZa(K=Q@X5pT(N2(<5n_@>$dWG}a4KT>N2 zn|#`vg-~hYls1^=>Kmcgi96EUV3&2--j=d_kvm^Lu#u{^GDcxv(cXST;GZc^SlsTs zih+H3J8#&Q7WqzW`wiH3Dv0gCiCRjr_8M^`#aV0lbwO%6_o?aUTB zq}_n*&3j*i|8YQhO3FkbhvfN_dNlZq)mzAyAjH6r4#|rKe3M51NzNBe&i+1mwkY7BhPLWwHl-@y?U3`zWml~ZIi+y|6;_o z#lY7b2m`ljZcb@knr)&tgWX$`;FQ(6)|!NY#SPrR7b)%`9Kgmh@`mE*-k-xlgQ;7X z`L@%KgYu4sK5ANcb~U6nJ<71~qr*Y>>It0M4q(e>>oMC5T{@u&c=U!{giKcS65(I4 z_YX3OD-(4M(OCb!te3-DlC9jjdn(%w8fV}W*3uo^t5Q7cURmxhp$Cu@p VqgU}6O7FdVjf|p(eVwqW`M=+d8{_~0 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.js deleted file mode 100644 index 7fa084bd3fc9..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.js +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-047.js - Corresponds To: 7.8.1-7-n.js - ECMA Section: 7.8.1 - Description: - Author: christine@netscape.com - Date: 15 september 1997 -*/ - -var SECTION = "lexical-047"; -var VERSION = "JS1_4"; -var TITLE = "for loops"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var counter = 0; - eval("for ( counter = 0\n" - + "counter <= 1\n" - + "counter++ )\n" - + "{\n" - + "result += \": got to inner loop\";\n" - + "}\n"); - -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "line breaks within a for expression" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-048.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-048.binjs deleted file mode 100644 index 15b7b57e8fe5309d47d4cee390dc9e9710c66b4a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7752 zcmd^DO>f&q5M}z^^irUIV3Ays8if-ehoY4Y#ER0oaNQshaxGTmSlW8U6_zW@M*n2H{!mE5bOeTgi6juo+YB_^SN0dyvHhx7Wu@Y4F~Izv zZRJmsTRWNm5>1SbM<)YsFAd^?l302c8G^7TrK**gt#r_jmLlrpP<41s_W&DZ(k>331+Xvm`z@ zN(b3!Az%sr;5vAvE&3Rlj}%WtE{vyrysV@0h2sn*OPmSN2|-)caQd}LC7Q(GL|`_f ztXXjxT+T7V1$j%rsALQ93#pJPRuV2n%H>bbUi=&~!J+$W8DMuC`|(MHwFXcE=YPNWe+IUpyxd4wf5fnkroi4VBos`Yv6l;@W=QOm4PhoyB~{LjbE@|%;_8h1 zYkN`$@(f*DVOa!$RF0%E7y4Yv@Tt`Sq?QCoxSlN9o0A{{(bsKqK&1nl9c@NXMDppp zvQFVEUKQOx+%;ZsF!%BK`91ou)F^4cW9tWcq)ybNP9*DYO_WhwxxNbC*^UewMomhO zl6PhjEhf{T%#|P#&|WYShw2s}J8e5PEVW*-X-_-L6gka;(+<;J;~;ce@do}o?5c44 z+samK^4`}M>a^B-9p`ZDXy<(+;MZJ8$l5n=Ex@t8dmq@A9{NUN`vb=IR59P8Gc(m{ z8FlK;iodoOlY1ZNrn7?cJI<(`GWZS0llg8LJknQvZqjL}UDVf)Rd$u6^t>c!>qhd`3Y2~~^ z;iDga^mA|<LmopKTi7Q39;6tp;f|!Jfj~$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d&ZHO-d}X-rNEZwPpJddL zdw`X({Q|oA??>3$gT92DFWU!rs9N-3P!HWoWxUxQ;ELVWqRMw2 zzsLnV`3SQys5QIf_zRwpMRP^NgFeS>tRC&Q3RnZ#%K76VhFQzv{KoO!G14#q-@sk0 zb{p%FzToFAB*HPAt$AwugDyFPX52o@p}`qckXGcNRV*$&QeDC9cRL`rUBJW4YmH6$ z5I@029M0luK3EQfOSH;{3xuW)zqJX({+%n>`=&C`*&&+>R)fNXYk7TWRbsk|c&k{G MZs=~uXRDU~02P5z7XSbN diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-050.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-050.js deleted file mode 100644 index d0079468a916..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-050.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-050.js - Corresponds to: 7.8.2-1-n.js - ECMA Section: 7.8.2 Examples of Automatic Semicolon Insertion - Description: compare some specific examples of the automatic - insertion rules in the EMCA specification. - Author: christine@netscape.com - Date: 15 september 1997 -*/ - -var SECTION = "lexical-050"; -var VERSION = "JS1_4"; -var TITLE = "Examples of Automatic Semicolon Insertion"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("{ 1 2 } 3"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "{ 1 2 } 3" + - " (threw " + exception +")", - expect, - result ); - -test(); - - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-051.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-051.binjs deleted file mode 100644 index 3a6226e73b110c65df6e1d1eb9ae8b167ff60cba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7236 zcmd^DO>f&q5M|o5>Bpr&|G*-r7-``KXfKUwAXe1Yh3f{9kZZ9b$I><{F0owM^1tuQ zlKUZ%lug2pZ&J;R|&8l(_n z>|_1VQs9wKM0<;FU~1ZbNA~a6^dQdBcU%iTmr&&>r+_C!I!lg1Y&;bPH0p|F_heIGgiG?4 zfKf`;;1^OOQ>-LxM9Ss&Km7C}WP(HY*DAp7HumE`5#ELpw0YV)yd-dcOke!{+a?tXh8IJml{yzz-B|68I+NFIPr52avtCy|q_s+tc1EMNYHew8M1QI0(H~yode{yRO^*wzd_UeDLLk8m-+{ z$2lB3+I!y!_*X6@WZj#$6X4k1gAZ&+3w_41U9LG9H$}GkrDYCS8WwMQ#0DWmic`&&QIl%h2=2OFfnR&Hn=#h1(z&IW_G8U~96!hLPd>8Fv3*ZV=|1wh93%S{m(9 z+v&kR_4Zj(?_|880lJqE1-Aph9fz$)BQSJAqY#MnPgu=C@A#$W|KK57QfQhl%oS#1 z^YpjZhINpw9#Ou)Z8oYp;_-a0r^UDU>23tD1qc4^Td=_LO5ouT-W zCE1o?H*tH3B3b%|^ZI6n?CIr#(~I7WlKf(nNw(0*$4Qc?Oe|=UGf6Ye?x{+YCYsJ^ zp;gj5H*fdiPcN0CQq#PIc*Dhn@R7mz2+(qxaUy9xBy)h85%tOd5AF%~Xq+j1@j1NQ zi2Eu+FbgaID*3>QJYlL&7J3Qr9!qJ-is{8yfOfljy(~ZnQS{F3YgP8Rtn04?-=Fl3bRNSSPOD*P**I7EEbCwA%iuAg`ieIU# zPPV_c$8^Y@k!vhW648)TE=S{3=o8Mvr-lX~vpA&*k<(>+dlEPx`nrt`uyR1VBlVc7 zh&`QFMk#p3lcM{7@anDcBZ$XC#35@nTG=Ef%#f_NO^T?=M<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Zz*|+2KY_jR>gDy z@78ytL6z1JovX>el!@x5RHe3=!5$1=$W>mR|9O2$+_PP0g2bhogft+H5SWvN?z2Fn zF)kcI#u>-`eVB3B6Vn;To>~D8-KBF4?9n9IJ7;{QB2tUz>8Q@Wy{6wW?^~zN?<)U} z9@S2U8|tCocd_o#Ngk?}6at?94vPeo4~!wEO#Z=B*l4L}K-C+}#^%oly*8{)WkM1G1}tbtq0~%j-q2l5?o2_u6aH5q;Q^ZQb*K0Z}C? AE&u=k diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-053.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-053.js deleted file mode 100644 index 8739afbadada..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-053.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: lexical-053.js - Corresponds to: 7.8.2-7-n.js - ECMA Section: 7.8.2 Examples of Automatic Semicolon Insertion - Description: compare some specific examples of the automatic - insertion rules in the EMCA specification. - Author: christine@netscape.com - Date: 15 september 1997 -*/ - -var SECTION = "lexical-053"; -var VERSION = "JS1_4"; -var TITLE = "Examples of Automatic Semicolon Insertion"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - a = true - b = false - - eval('if (a > b)\nelse result += ": got to else statement"'); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "calling return indirectly" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-054.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-054.binjs deleted file mode 100644 index 70601ae4be29bd4532ac38fc401b3569dd506b18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8391 zcmd^EOK;mo5N7&J+e?9>cOGLDg;SutscK_IZC$uZ5DB>!OKL1_v*HTNl`a44{)Emf zxetn@EDBN_xjuM9n)}Vp?94Zh^z>>epx>JVoA$@4;!7QU97R!{$|Xcot{~O?2J$G^ zOv3^)okzWM^K~!W`XbLkX_yuezYCc#F*X<!y6_Xn&7$a ze}*47;=T+J%mFimir(>T8u5IZZQ z+*|6?q}E>IKSdFf%gNQy33-pgN%yzIH{%D={RlBun%j_ZaCr^U)65aQqq$|i* zqKou%69P}1BbrB416|YnvuA#PMK3}heajSQiGadK85umHpfkZyL>|*p`M7O~fCB!> zeehBl^aMi>V=Uqs*DmhDV_g&<3+;444pptDymmECCQPHCwe82c83h-EC|@nFEUrr6-UF>}j=*cujH&wP)6MvCnL8qb?3D+6%iI}iijQ=?^;KS&*q+( zOFkr^@4S%ER7Zg9bnT6`TGO3&W+_rS_DWk!yM{*SbmA@HZ?Vg~?H)^6p~#a@FH~r4 zmO579P|?o!M!>%@E@0Yzc^d`}<(<4?TT1AI*!CN=?MTM1LXY)a$=je%w^H2No=i^O z&`qs^)jRa4y*&6e!_Ig=51y#I0n_Q+=PoMi6FI$$QhGlSY?b?(H$3Wvkm);Nx z6Y4JAyVK4j+< z5!$GMB*UQS8f#CFYNPkk3Vni<0Z1ct=V@*WIwz=aQ2@V=pRu?fCud)R$RSSSpW}wB z*r>EDZEd^`FU;hwGDp$0wVW6g>7{%qvRPBFX$Q&|a+MWxW1p82_io!PnK-zTdTNj+ zftZO@`wZFSCU*gt8^=G^nPRhs^ b)\nelse c = d"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "if (a > b)\nelse c = d" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.binjs deleted file mode 100644 index 75c927ef12f7cbc1d9c4188d6dd5fe5d022b8311..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8293 zcmd^DNpIUm6rS$er9iJe@aUjuodCU6HBc)`>%x_bO3k$xkWRR{oXRt>pX>%(F%BSGK-bSHT#G$R>U#~mIwv07S~X)LURpQkm-Vr zj?KSE;itb81t<+k3Gr(x7d)LAj1LhlfjH#~k}1DJs1+|>8sNz_PaRq+3Vre^{<#tN zWq@D=%n*vb5m~}SG3L2mBfP^Zv=Z6!u*Fb%4n@G3)}S>iv@h%#3hb|YczS+~dfq7HvEQ)a0yUTCa#?q# zQMbm#$f#UxymqD!!ZuA2y|WZ9HB(}_@^oCWAOU^nF9}W6%SVmvRFeaGGs(9op$+m} zNiFpzhautKB+a8|aB5|Cn~5exdz+nrUvZH_;-kX?yYmT`#+D}4svagvZ`*!@ww=nz z^}vx{DR~pL!uA$-K4C*QHRD$Acd{}8|H*Oo92UWIwHb3AuY8@L#(5!=4U6gdIOXfY zca@>2r>TtJm||Ft%2>R*%*W=l0fRA$Wyb(KD?v=e&>*`t5BLJ%)uIvr`^!8|@M4)! zIrjitoqp%<=hzp3_NAq@@h9)e#lKrKn$<0|^%QP)WP1M%2+4BMB8#yzzPBE54zR-7 zGZflOd{8&gWg`9qXz1}SEnQ;VSsI*SnZ?dQZ`{Zf%IoLnCAU3Ic;4De z7_hUywRy06h7R@651kTwOdpSd6-cTW{{vl?&S?Mu diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.js deleted file mode 100644 index 37ba1b798bc5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: number-001 - Corresponds To: 15.7.4.2-2-n.js - ECMA Section: 15.7.4.2.2 Number.prototype.toString() - Description: - If the radix is the number 10 or not supplied, then this number value is - given as an argument to the ToString operator; the resulting string value - is returned. - - If the radix is supplied and is an integer from 2 to 36, but not 10, the - result is a string, the choice of which is implementation dependent. - - The toString function is not generic; it generates a runtime error if its - this value is not a Number object. Therefore it cannot be transferred to - other kinds of objects for use as a method. - - Author: christine@netscape.com - Date: 16 september 1997 -*/ -var SECTION = "number-001"; -var VERSION = "JS1_4"; -var TITLE = "Exceptions for Number.toString()"; - -startTest(); -writeHeaderToLog( SECTION + " Number.prototype.toString()"); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - object= new Object(); - object.toString = Number.prototype.toString; - result = object.toString(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "object = new Object(); object.toString = Number.prototype.toString; object.toString()" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-002.binjs deleted file mode 100644 index a6e76d75b9d7fb781b533d4d46810c042f63e1ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8287 zcmd^DNpIUm6lU6{>!m=BJ%mRGMeDTaEvkW7QCk%qtOajd^C$B&s6Yv5CnN7G6-TWAyWJj@*r1C!3Cr$ z4@QUj?UDcK%RC3EATA*OOvHjEGmY^XqQwv;OhPHcQ&dUi{?e}mVBE1d$DU#qi!|=VW+a=`dq|fb# zIt5%H7C%vsQSr}6KlqLw_%Zs1NzN7t6fw%k-~lC_PL3k;m=e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_p1(=RRHZ~ypq;Z$hTk%tK{-!LG;eQz3Jo{DfRIZ0iMN8KvNH)(zybdCI zK1|pucbd|7^&k<^XWa{ni!%1EZEnZg!lccFNDw+R_4$wIBwLn`|*@s90st#47cE%jdg9a92k^`mu8?s@@G zu8t4hrkX%f~JBx4W!rtwz6?ji&J8wI9yxXJ_AG$agzTc9zp4JhKAi_;0Az>0!unoV`F;UZp}Y4_R1L zeOTz#uzuiv)pquaYAJk-^By>FFl_+hZ_%lezCuz>_B)3_%(3Br4847)zSP!2zR75t cj;+YGrsVW&PkkFer?aNvj_UUhk;{>P0fW;`f&c&j diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-003.js deleted file mode 100644 index 8d0ad83db006..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-003.js +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: number-003.js - Corresponds To: 15.7.4.3-3.js - ECMA Section: 15.7.4.3.1 Number.prototype.valueOf() - Description: - Returns this number value. - - The valueOf function is not generic; it generates a runtime error if its - this value is not a Number object. Therefore it cannot be transferred to - other kinds of objects for use as a method. - - Author: christine@netscape.com - Date: 16 september 1997 -*/ -var SECTION = "number-003"; -var VERSION = "JS1_4"; -var TITLE = "Exceptions for Number.valueOf()"; - -startTest(); -writeHeaderToLog( SECTION + " Number.prototype.valueOf()"); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - VALUE_OF = Number.prototype.valueOf; - OBJECT = new String("Infinity"); - OBJECT.valueOf = VALUE_OF; - result = OBJECT.valueOf(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "Assigning Number.prototype.valueOf as the valueOf of a String object " + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/shell.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/shell.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.binjs deleted file mode 100644 index 6fd04c32838a2089f6790ba2a505e92492120678..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7183 zcmd^DSx?(Q5MFv8FRl6q@(8M0;5|ZukhVxbt0v;L+So&~VB%=K;ZW88-kG)cNNgvp z1?A`q#vAW9JI6Q2w$*f!z*c(%Jl^U>QcM(k${5R{bOJ0E5+WteA!C{13eI4xGS*(# zU$_0O+gS!uL7YQ;P0|5RdK%*iqQwv;Tta-v&k$oDhNIm2j z6Jwz)@BCx!rS z-{B87aedm@*!+Bwxo|Kd>@&BrdG(cf6gDoUgDOpfZA?V#b`G|GZT_E@t;q5>V%PU* z*Zv4v$Ej@D7;a=@$CREa;+is;9u0#GBmJ1~@Fa0tHR&T<0$^MYr}eFXW4yP!j{8(6 zP&=vmka@Y%Sg@1=%@5}3AJ~bze|l0Tx{#Q^zG0&UvY+m!!?H8Ax}^+^nUu>br=9M9 zusxHM)>#6_ib*jXxinm4KLYybg!rbq1;`+`S9WGqJ`GMsq;$(EZ7|K#H$u>f7tq{b z7ggH67P5Si55A62wx4fojKaR6!G0s)FI*%L*E?^{z`nc(Z`hiK`9^H}0d0GjwroG% zQX`pOcx}0nVxNz=6RH{vjNX1kHHzRL9OvL>5!{zo9j>C0t6kK@57PLGMYP^Y_%w4J zu7A{>B#lmWfzHQvEU4F+)%CUpLpmPIj3jfzN~v_YqUF@0kKi7(9?$3;I5w2?O?4R# z4hWjmsC!!#YpvgJ{*>j+I$Q=e3cvIuo|)z6UZxc zvr6;(8q0UfNX-EJ0#7m9Z_Imo$K3NIhXEN}!ilX|!gU3&DBynN1!Ge@v{tbdhl^G@9t;P35kb+gB+*pi2dhBrU%Q2~ jFDe6#4YH_U)npi7mdg)8C8lW-5ArqT4b|)dZC3NYJb6rH diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.js deleted file mode 100644 index 087f3f74d8cd..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.js +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: statement-001.js - Corresponds To: 12.6.2-9-n.js - ECMA Section: 12.6.2 The for Statement - - 1. first expression is not present. - 2. second expression is not present - 3. third expression is not present - - - Author: christine@netscape.com - Date: 15 september 1997 -*/ - -var SECTION = "statement-001.js"; -// var SECTION = "12.6.2-9-n"; -var VERSION = "ECMA_1"; -var TITLE = "The for statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("for (i) {\n}"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "for(i) {}" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.binjs deleted file mode 100644 index 4169569d26f20c0186910872b26f8066ad6d544c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7241 zcmd^D-EZ7P5Z_WhiVzYK;+cJHRoWE98%HE^JxWj-5O?YeLTJyP+->W#t@U0$RPnzv zv-W=6*}i10gf!(Pj`zI3+4=g-%#QTB%wT`C1d;Af6D3Q{?lZ=!q$q)H-9JU~aGpS^Ws%>8{uD`YUSjy(mUIQx zI*XCMXHwvv3q<0OD4(}I8BoLD zy9~Zi27QjHhdIV%F15?M@K^`+2Zt$ghCGp=7(tt~wFI&&O}n!3NNP~XD<-=q=OtRW zB5es6sbmfAAPw^8_=6*^C(oXJ=VQU*yJu};`xlPYU()sm!^H;X!8hnKHFS+@uWBqs<_jkzv@6MV9%kCg~Gg0$@Td z*8Q!3&-h?>U+z<#K<$*CK^1VNwPK3`?GN@D9@vX}_w@V%^*mF^U%z0Z1!`6t6^phr zjk+xcMkW>N!fR*xA8gMQ(K^fEL^CB9OHacM`w`G%FC;Y84M0Y@y|Xjx@@X_9k<#2N zZ87aLG(yygcci+-ZmP6wBLDK1`g%jdBgTJ z%-3SuFVVKg1$X^8*GpBL1#P*N;-2quGt@O0SiQrD8Wh353!H<8Mes~rjD=2?zIIU) zKQGb?meBe*6YI)%xZzO`vLbn73UocTV?n*jtZudq7}D`rb|l#vR$8UY7cH+AeFX17 z>+vC-1ILCo-*lJZ=z!Qm0o20rhx}A1F2CU=$7W71W%Y=^%6|N@ewk2YrF1nT0zi)G@)uH z!T!4&6D7_Z7;lY=wc`Fg)Ev7Snn`_KH*Id$$hnE`z&F5dEvdY6CJ>1RHU|EINri5Z zi=6s)53n)HUy_u5{|pBJ&{r_?Rl5Zb6&#Ix)aAQf1n#1w@nq;w4;{rtUTqI>!)A-< z1%?i3WCEGIgw-6>mR`mDHQt)BQqhQ^FEAS0*S%2=>q)j|N_l{8)joyoy8#(p=D$XV ztO^BK#zoGH9Qewl753Zqex>coFdm~NQk3wA*u=vbZ$sP62t`E2$R+gCg&(Z~al)e; lIQy>RFxViw%2*HYgt9zqL=~Q))E?z)ViP^=>TOf=e*wnUVI2Sf diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.js deleted file mode 100644 index 7ac633058bd5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.js +++ /dev/null @@ -1,69 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: statement-002.js - Corresponds To: 12.6.3-1.js - ECMA Section: 12.6.3 The for...in Statement - Description: - The production IterationStatement : for ( LeftHandSideExpression in Expression ) - Statement is evaluated as follows: - - 1. Evaluate the Expression. - 2. Call GetValue(Result(1)). - 3. Call ToObject(Result(2)). - 4. Let C be "normal completion". - 5. Get the name of the next property of Result(3) that doesn't have the - DontEnum attribute. If there is no such property, go to step 14. - 6. Evaluate the LeftHandSideExpression ( it may be evaluated repeatedly). - 7. Call PutValue(Result(6), Result(5)). PutValue( V, W ): - 1. If Type(V) is not Reference, generate a runtime error. - 2. Call GetBase(V). - 3. If Result(2) is null, go to step 6. - 4. Call the [[Put]] method of Result(2), passing GetPropertyName(V) - for the property name and W for the value. - 5. Return. - 6. Call the [[Put]] method for the global object, passing - GetPropertyName(V) for the property name and W for the value. - 7. Return. - 8. Evaluate Statement. - 9. If Result(8) is a value completion, change C to be "normal completion - after value V" where V is the value carried by Result(8). - 10. If Result(8) is a break completion, go to step 14. - 11. If Result(8) is a continue completion, go to step 5. - 12. If Result(8) is a return completion, return Result(8). - 13. Go to step 5. - 14. Return C. - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "statement-002"; -var VERSION = "JS1_4"; -var TITLE = "The for..in statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval(" for ( var i, p in this) { result += this[p]; }"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "more than one member expression" + - " (threw " + exception +")", - expect, - result ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-003.binjs deleted file mode 100644 index ff265e4b2ecb1ec4591978789c7e489a3d2ded7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10110 zcmd^FOK;mo5N7&r(E93ekz^NC z1VR!?mo$|k7#yg-9{8_56M}L{;{xJklFdjmQ5YWqT1=yaa2k)v5}+1DJXgS@3zAs0 zgb8{01^jU>?sE@8EieVB;4MqzfQcc=J4!-2k{mKTKE z=kT&ts7|k5@;?U=lhJT`d^WaX-lOAQ&Ll4a>W z^#4pPAm7u@y9d&X|6k(+KQ`YG&d4mGMQjrE zbbxH5SfQXCA~Ws?t0D3Wcr@8o_>3#`8E_7eOTbblE#dgfIx7C)I0mw0=Zx|Ip%q^l z=F|(R<%c>JI$@G>AXG(bqjx!2SfI8D3>>+h2v{`%?vY1o?7awBH_4$L}T(C|FtPoA(ew0pRhnO&qzO!cBd zhPntc5$SLHAxRSVstWoD9#I+)K3_H0KrZ6Fx0_-g6BKC2<&+AKD~%N^6li{7uKt3Z zxDQXy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b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-003.js deleted file mode 100644 index 7e257675c4ec..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-003.js +++ /dev/null @@ -1,80 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: statement-003 - Corresponds To: 12.6.3-7-n.js - ECMA Section: 12.6.3 The for...in Statement - Description: - The production IterationStatement : for ( LeftHandSideExpression in Expression ) - Statement is evaluated as follows: - - 1. Evaluate the Expression. - 2. Call GetValue(Result(1)). - 3. Call ToObject(Result(2)). - 4. Let C be "normal completion". - 5. Get the name of the next property of Result(3) that doesn't have the - DontEnum attribute. If there is no such property, go to step 14. - 6. Evaluate the LeftHandSideExpression ( it may be evaluated repeatedly). - 7. Call PutValue(Result(6), Result(5)). PutValue( V, W ): - 1. If Type(V) is not Reference, generate a runtime error. - 2. Call GetBase(V). - 3. If Result(2) is null, go to step 6. - 4. Call the [[Put]] method of Result(2), passing GetPropertyName(V) - for the property name and W for the value. - 5. Return. - 6. Call the [[Put]] method for the global object, passing - GetPropertyName(V) for the property name and W for the value. - 7. Return. - 8. Evaluate Statement. - 9. If Result(8) is a value completion, change C to be "normal completion - after value V" where V is the value carried by Result(8). - 10. If Result(8) is a break completion, go to step 14. - 11. If Result(8) is a continue completion, go to step 5. - 12. If Result(8) is a return completion, return Result(8). - 13. Go to step 5. - 14. Return C. - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "statement-003"; -var VERSION = "JS1_4"; -var TITLE = "The for..in statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var o = new MyObject(); - var result = 0; - - eval("for ( this in o) {\n" - + "result += this[p];\n" - + "}\n"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "bad left-hand side expression" + - " (threw " + exception +")", - expect, - result ); - -test(); - -function MyObject() { - this.value = 2; - this[0] = 4; - return this; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.binjs deleted file mode 100644 index ebb99360487978ecb568b565f616f2b17415fcc0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9781 zcmd^FTW{Mo6jpcNumQz}Jq{51)S_t90ehPltZ~yWL*f**(U)NuXo<18%A!EhNsVFu zedkcT$&wt)iR-${Lli64cP`}l&PD90d6Ch>-jtH`aF_^IsOaM;ie$nI8l_CoM6pXM zBdLg@Gny+I^$zs6d*P!`rKCd9w1jw(@iEDU8sj5COKFl3LDK=50o0VpXBznUl4K4o zV^SS{0bg#!eHI{S1#^Ik-mpB4nCz26%>mwFNhMf5(P(Fj^YPzcMDM`d?3pWCc}ax3 z4-XrIn(W$0{^uZKc-$YIoDZCscPRc-5I;H@ogVK(INJXD_|Dz=Bit&6G z_J5`oD0Z~-?tpZ@E3*Za^Q=q29q8D<;{s5B1PdS}^`AZc`)j-r#^!4x7#U}@j7@?o z9UkDfgF$?pY=@2;hb?Z?oP z55mDU5^A!vvxAXae;@w%*Zz&fEuR0dpWy;!3_`wx2!753uZ zKRfS&omT?*>o=${sTlE7KB+IJHn+yWz@$Vhymh+pgSu28tw$NXP?2Dhsi$GXehBo? z3khAd1;|dzzCFrEqhoKh-6!@MI-!%sD?;63n=I`<8d;&py-y`r&n*`=*5J_4&Y1*( zpA(kRw0-fG930Bqd&jm^>bK(C@4&YM9=k>$R#U;Rf_}hCan}#H7;5TBtli;`+Gq#A zBrpKjYzL3TqEA#Z^|=d+_%TlxQG)mT8JSC8;fAUnWjuMK6LdMRfP}ivkU~GU!E^%D zvMtF{vw|A0Y##QmH^FogbdXIOWk9cj+>9=`{W1v$LiG`j)#lnNX$5h5)&0gpqv?B4 z9Dag&Kx0?W2>VGFkvP&cSIOU~$QOvRF2T)!QO3W0sKTEK3szuf7xU@gIBT64_j zikE{-7w;}2ug~XZiQ9Pc_BO)1DsFK6(TNsP%2W01R;Rjfd zF-c>bK0TU}JdGtwDYTe&C|_U5kd`{j!+?qJL*GiT;ySctz)(b|9dZr%G~stP0U6=J z7Ia^g8a8&wswCFJI-xAjuAS1(ro`T9t&vOAEliuqgo@|$91aHXJbd?tu4D44T;vH{ zU(nnPYIR!AXg*QX@I*nva}}N^SR%Uh%e$35BIp#AFZlFdW(mV3v!AHOipjXati(HiP3C z?wM0KBVpldMn!%mQ8AB;8Oa=k)YS~k<7X1vo_4rO)&nE+)`eDG`i+nQ!e2a)Gv7J^ci~H zQ1Sp?P6?I-&`7k diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.js deleted file mode 100644 index 056e0452ede3..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.js +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: statement-004.js - Corresponds To: 12.6.3-1.js - ECMA Section: 12.6.3 The for...in Statement - Description: - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "statement-004"; -var VERSION = "JS1_4"; -var TITLE = "The for..in statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var o = new MyObject(); - - eval("for ( \"a\" in o) {\n" - + "result += this[p];\n" - + "}"); - -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "bad left-hand side expression" + - " (threw " + exception +")", - expect, - result ); - -test(); - - -function MyObject() { - this.value = 2; - this[0] = 4; - return this; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-005.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-005.binjs deleted file mode 100644 index 5a44eb31d79602b39ede539749775ebd9f748d77..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10075 zcmd^F-EZ4A5LfrTVZ(|IdmNz07DbyD*q-JEYh1U>kT^wc^konP(@1gJKpi`cOPO;E*BZy@69Ml_eTk53mJVJMUhB~1&vb1X(HJf z6_Joc(mBngh8FJEBT*;h|!=wK0Fy(F*hjwQxHEs93KsKAslsoJ$No*(swuLTJTT zhB@^@8u_7#g^rk{90*m>+TdaV78a;20t1IGsa=Rh{sw+w8T;Ym$3Ht?F!=Ubn%La> zntTuju8~larojeAZvA8Q267Saz1np64BGbVqkL34c1jyRF<0LRK`Y)6>IPe9X?v?>`66$9D#3bgy|6I~`-%o< z5(IuuSVq(K&090DFYneHwxv?P65DMdAN1G38oXTgKTn?AwBnUGj7_|mq|Dfs*iBYYA&skHV~&f!DrbqeJXEXFCc?e?XFG0VP;>Qz z%mD=%>PD*QPe2U{s?}5HZLTPT8TeZ;1GG%>y(cj=O~w8ApRei`@%J=X!gnB{EPvt$ zzd{;i;?Kojztn{^IZ&`Lq>_IdG%(<6QQh*`*HPzN2v?K?1AK%1~_=0Ov% z3Lj-HjeL$2=b6i$fpTESOsK+``57cu5EviK{mA{E!CNC ze8;XqX=htv4^j=eL|(y6o=ho!zRcnHM3MVnDA9CGJQb@vf$IyJ>v6WK{W6+Q<;*{K zkrcV~PhG4LUH9^CVLV!Ni7|8p_87*3a5$X- zpDfEVS=|a%Uh9GzXFEEDR(ac$#V@M}Sh6dWVZ#9uCPr)yh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tO~I70nF+4aLU%LGS0UPTG0`@lS|VX@oSM+bB`ok)xhJ7tYIt#;zcImNH`szE*)(xCK47x7tp) z9MQ&Em+N@T^v%=Zw`B=P)vXjux|ayH(0wt5k9xwIbNI5xi(gSHc@m0jNj<5iEDIvE zWijv;XR2`uUN5dhKGAkzV-E`cN_X>W!Z15_5XBq(4L%wwb}6cVP{!V(ok}O#GSTkJ z>nMYYvI=T!E$dp%Mjo|6qv>c8hM*nntimU?x`X7+2Sa}b>v|{pD;0Yn8<$)8CM)yi rvBm~=rs}q~B4mVH@2__e_jEI-yyNhN9GTNuo_%LKcm--oT>0^Tg?D52 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-006.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-006.js deleted file mode 100644 index 24839d847a9e..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-006.js +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: statement-006.js - Corresponds To: 12.6.3-9-n.js - ECMA Section: 12.6.3 The for...in Statement - Description: - - Author: christine@netscape.com - Date: 11 september 1997 -*/ -var SECTION = "statement-006"; -var VERSION = "JS1_4"; -var TITLE = "The for..in statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var o = new MyObject(); - var result = 0; - for ( var o in foo) { - result += this[o]; - } -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "object is not defined" + - " (threw " + exception +")", - expect, - result ); - -test(); - -function MyObject() { - this.value = 2; - this[0] = 4; - return this; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.binjs deleted file mode 100644 index d2eb783bca43b5efcb7fd80a442dbc159eb2db67..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7215 zcmd^DTW{Mo6lUAC+b|3$P@vCx>{bkEfdPG}5ukD0HA9*Xv(eXqmQHN8ifB+&F8{vg zP~ydw?kHW2Q$`X`@tcLh2mvf#^4aR*$%OK6Ug6xQ&Ak>nV`v!P&%5#U7i&F1C z!jC&~_X7lTzyhJzXHjHKlw-cq6~a5LQY%p`c7H^)>0~@R_;57ZY1T%~laxH=%B|zx zMxQRV28n-&B4!7(!-*5}KME(^KTiIg-jeP=qj)$^VWovEZbN^HBsgDT_}-Ru1!a}T zNZ&COxaR`VyrLQyn&#h;`TGkkgfaS&E5YYE)G^A*;EYIT$Wb$oYpFbMdl*o|-@6Q6 zDuX^p>LJIND1>&r3y-x|e{hgt&Jf1}6eDOuTbn?((X@+=heCtGykgirIbWfLOVXBr zF_l!{4$>h1ia)r-^~Z}BuY4?6eD|zPY+pl7z6k@jazU4-(FUdz_xJSWe}8_ThV97k z*J9SEXx7;hl2jshiV6}J#DnbYsWP=y+;9f-qot6gWEl5jp67n6VSS2A0F0|e)!z$v z$_Kmq$WMg=wNrWqWsoeb8CyBf{$QWsfxWn|PtV7w=b6F;_6|EOP&0Wb7j0)6bz3PI zQz=&$UOUqOVSlD5ud^JEHB(}-^m({Re+2a03kgki1CUW}?`+Mwd>WmSNa@5YZ87aL zG(yygw{YEJH)YzrHnKvIcfOWTU$xoUScOAHqy0v}Z@I`J>v!IUfkSzB-mpC#^R?La z3EK8ZCaxh*^is*Qpf9&l-18gmhPoyLt9KYtgCh7Jj)U;92%f2nG1uwR*DmVf=Q6us zDXoulUX{MZ4Uf8)%k;A;(DmGo1@$V!y4f~hO2=c_nPg*HX_YQtw7gpM5qt%$#}9N4 zoEzHtrn?MB2Lw^tws5c8QZ}-gjlqrO(9b45nmC{fjAjU{UD&+T5!2Pr**ls&SrzqF zjQ9QAt!=xWX}PxrX@bxUdHvTi#{bS77)gzawc`Fg)ExU28aI8#?wuyr(H;02*samU zD`!HC2);JU52OpaK`aXD$UVT?lzs`_{QeoX_Mop|=BxGr9x6B*`KaqAU|VW-QPOxa zbf|}p$}(PU4{*a~i>UHL$1gI0NZ-TB9Mpzha{dV~#MnyF@Sra+8rwIyQ4Z@NTQh(B zgl^WdzOHe6cZ@U)z%TF=>)pntr!V>W8Uo=6&NeJ{{evzUgJ#?@FQLa6RFKxvL6k49 zJW}1j>~}XHqYL=&=nz}L6Itm}WRS??gcpgqiln>NZFe(aXhsXCfJvTVrw(UHJ76qH zLJ?8na!DrY!jD#g(!*~zaQ1C=Vz5EBRkWTI6w2}mB&r4t&GJ#cro^I$-LI`{{sma$ BTIK)% diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.js deleted file mode 100644 index bb561b691a5e..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.js +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: statement-007.js - Corresponds To: 12.7-1-n.js - ECMA Section: 12.7 The continue statement - Description: - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "statement-007"; -var VERSION = "JS1_4"; -var TITLE = "The continue statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("continue;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "continue outside of an iteration statement" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.binjs deleted file mode 100644 index 2dc96d99a64362413578527e9f2fe0fb8a29fba2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7209 zcmd^DS#Q%o5Z-blgoK2|v)=$A)FSbKL{y2U0g6gMBHZkS!)XXpCDP<7^ruLI(Z419JF{b?~Xw=p&>a za*T;YD9bzlSUdR(dlBXgaVS7Cg4VP(31k&btJt_N6iCb~n%%wADOxxqZ3!4t$qej4 z3goBwgH2p-x3)gGSTOkZnw!|%`kLGd1DA3^m8OjiOeyZ$;N9={|EFOqGW>;@^#z)B zIDud!fgc4T32YFzva_Sgz*KR~8O)D{LWYul+;@2#yH7RiLwp3lxE#;wdjUsz@9R49 zQ=vfZq#8ozB}-$*QVujfn5%zaC+_;``3&`(OH5#2vC{%MO!w1q*_m41QVPaY%H^5U zPB%c?J9xl=!0ljfTd{bQlWFxm%wq{j6ZJd%w>A)#%FwNCBLZcI} z;JU#s%Cx;LWcea*d@Z5AYPqv93j2yS_8S3z<|2lu-g!#~_T}Ap!`5`n7h>DzXxn}o z*oHh%6PeDvzT8N$*IV2TRZRv)Z$F}1Met9KgK)bD9?G*WSK-9fF6!b(X>`Uydftus zEORZcf7G2g4Ucqz&gXV4sOK5h^=B=nbUc=sNtULSQt5I<%c(^#!8K?-?$J4LZYbxQ z>N4CaAao1&u`FUKm6-rsdh9z{2S*VEw7n=Mu-t#eO&%^)&74`#?4+|K-@`b^kLN#CIkx>1U8 zYCC{SHd})d-*)yQ6NvCT9FIUQ>6MQD;5Lj+B~1?M45P8U#%<)V8nP9`$0KyJO7mTf z<-291W&pl{r&w$?mOZ`Z=L-mgKFpUab@5X!8G{DgF3+IG7*vfG(m^9%oO_#D7cAD4|KQ?vxHut$e^P>vSE5MM;2SXq;X us_+}DK)K=dC7gX#k!Wp@RpqQE|M;?8_Gnaq+NStMzNW0A+HKYrHUA5&LRYu| diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.js deleted file mode 100644 index a71fc266da37..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.js +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: statement-008.js - Corresponds To: 12.8-1-n.js - ECMA Section: 12.8 The break statement - Description: - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "statement-008"; -var VERSION = "JS1_4"; -var TITLE = "The break in statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("break;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "break outside of an iteration statement" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.binjs deleted file mode 100644 index cb9bc83ed7a487559924235a09cddeaf94022fd3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7038 zcmd^EOK;Oa5MJIOE=a(QgO4BtRkb)XSRy3EN*qDK3dI#1LZ%AV zThmYX{8v8~1xN)+1@Sq}$2=WsjN6EoK%8<3$sRvMs3|YDH1Obvrxq<0h1$4}54YlO zc?f!g8A7oGktIwNeLhnq!dt9DNs&!99w6Fq&>wAo-RrH@_j>h}j6CAf-p6-qd)mxe zY59A&#Ati8Gq8*N#l^|?AA|41E3*9&E)OR$%#_HptFWJ#1Sd13?^UfXp(xXk)z`EH zZdoGgk7x!`Q~%r3e;?BgpQAsx6nvaQ#ZgWUXCyi;j!Jo4<<;{H4Uh9HoN5!e?l0G!o zs7EHlJbUd$RzK%L3u^7U>L+Cqo&sZ%#FZj zh|Rq}!tNQAYrr}u;`4R^4$9ja#i(t}UY3|GOX^7a0d>$pImVgo04~{W0X2Tr35Q%D z;$1i#gIusHAOFJBCN`7QpQ}@3WAm6aC}168^UgL@UY&(ly<0_U1t1Y{7xNi!G16yz zeE~$+gX0BHUHmLb2R$@K_IUvv&Y*HMmkxqraqdCr5+=5P12VXLzrcXhha7pS3XwpR z??*h^FEjkj!9O)Nob|~Vyc|&^dWoGm97j!xv@H=tkTY^m8-B0}ln`EB!rqrv2H)pF g4p~;iI+BjRmP;8yRcF<_9%LG&61Cc))x71u0aaHYn*aa+ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.js deleted file mode 100644 index 9be1de747d75..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: 12.9-1-n.js - ECMA Section: 12.9 The return statement - Description: - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "12.9-1-n"; -var VERSION = "ECMA_1"; -var TITLE = "The return statement"; - -startTest(); -writeHeaderToLog( SECTION + " The return statement"); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - eval("return;"); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "return outside of a function" + - " (threw " + exception +")", - expect, - result ); - -test(); - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-001.binjs deleted file mode 100644 index cc0c6d2525592eda3ae4c43a2c0d50f530299bbd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8688 zcmd^ENpsUm5FVDtdZFqS2W~n-Q4px&hF>UR41@{^g#rvRxyWL+J(x2ZZI462Gf8d`Lh>-p7>T%Gq2xy_C%L4O9kN8` zWU!^)9{8WW&2uIsi?oOjaXO{(Sjo5!(jpedRIq5D9)hSj&EF}(qazwyX)({`_APk1 zR_;4bf;wOVqR3C4M1`wMZR>?UkN87)RzK$=*_Pd~-orEltJWVdbe#|6xl0o`jly<@LMchUE zmMQ_4i24!i80cRHYU4g`_&NHG3Qngn(>Y4f;RK6L6^E`oDpTR=wxI&F_-m($Plb{` zh0=o>BRt{K)}4Q>9sR;?1en2pa3%v{1M)*0D&>w4_IgKBEEeZzx@8{?{sVpyl=#< zkHD=u#h+&)m8o22?72+!Rxek(QW={ru4)GG(Ug!WNk1WmG>+Y;s_H}7VvJBRTQqY4 zSMuK1O~sFm0=R{c6P9~mX*^lMK=XrH{R2C7m(R`zVCS&_0Q(3`i-}3Pm(HreROVJ7 z7@(AjrL#^EAmC>Lah=5Mha`f}<_?Do_(MTYof6+wXCSgu*lVd-T}(Tp5*i&iqm4|n z`cCL{;+AqZvWqrt9}8W+$}8VakXNlT8)L9@0;P;frENTwkii3T9SKhG=jCmuz z{TF<@p9YqY2XZdbV~>{`Eq48b2~pi-VC?oYs#gYop)d&d%ixJv4yg?1u6H4epQh20 zgt$M9=^}R&*FWk`oQ6MDgVu99G}Lv5b@f?~DIJbwW)fJ7gQ$$bsk$_rxTfXILWE}R z)B~;)_$)z+;RKY%jJyo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LWx@vDc9+d%5%d-l>MS9cIxpQDf5BYx{zI z?MwD=qxWZi-q~z@p{SPD!fdKO_Oj9VR;zPNB%0NCmUGaxMp!wjoYxv>5fmcZ^f!Gk zN7sGsP29CjxNqi^;*49kMU}LobWwFE#zwm86hCy4tGj~Y0jinyLAp%z=-QR5ncZs} zXICy$6-Y%jYAn?}##U@-)4~-!ZMggG$2?xKXh60_%&nu_in<1NTPi$NwzUd>|5DqX zn6s^wFQ7DLHVjx^{R4H-x1A9?Tukl)DK;cq!G{kqyk*){Ec+7T4g%pi`b}~Mjparx z2TOjIo|H4bEz?1#Ui%lGv2G&^I`R qr#sM{n&ze===;2rL)tp=Qo~v2oSp@?Zwc#U8nLGA_y3M{%Rd1%Azu9e diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-002.js deleted file mode 100644 index b68f2a156a95..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-002.js +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: string-002.js - Corresponds To: 15.5.4.3-3-n.js - ECMA Section: 15.5.4.3 String.prototype.valueOf() - - Description: Returns this string value. - - The valueOf function is not generic; it generates a - runtime error if its this value is not a String object. - Therefore it connot be transferred to the other kinds of - objects for use as a method. - - Author: christine@netscape.com - Date: 1 october 1997 -*/ -var SECTION = "string-002"; -var VERSION = "JS1_4"; -var TITLE = "String.prototype.valueOf"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var result = "Failed"; -var exception = "No exception thrown"; -var expect = "Passed"; - -try { - var OBJECT =new Object(); - OBJECT.valueOf = String.prototype.valueOf; - result = OBJECT.valueOf(); -} catch ( e ) { - result = expect; - exception = e.toString(); -} - -new TestCase( - SECTION, - "OBJECT = new Object; OBJECT.valueOf = String.prototype.valueOf;"+ - "result = OBJECT.valueOf();" + - " (threw " + exception +")", - expect, - result ); - -test(); - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.binjs deleted file mode 100644 index 0035366b48ef50defdb28ea669bddb3cfb6081fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9273 zcmeHN&u`l{6lT|T>n=m@z38yRhN4Zg!+-*cfz)-|0I6HdMy~@Su{JST@<=*O{`+$V&{q*yYNa={YCFPS7# zQN`t8{N^i)bF6iW@no2MDgF=r=s{SE9oowEp8ov4VFVKstWC2(s;zegu0C($3htnT*F#O6A^p_toW zcE9@M7}6|rpX!j1z$3;86|+@y#&q$(`?@JI`~r$Y1{P|{q^fII3y{{@_Ua4lmODH> zAAz2q1w^;EP>(P%EzXNsgSxf&3~`o zJGp&-2?3RkoYIyj_Uap+}7FIJbuqrLnNu&u5PH^&n%GAx;m z%nfm8A0)fABsmC=Hf56b)WsY)=XJtt_|@lf=k3w7MgX)$X1~i>gHH7%7ExpBweLcK zeD{cV8E36qX^kGPYxidUF&v-apua7NVOGGOVBWg(Vh1ml#=5D^_eO@>6kKr(qIS^f zp))34uW}gS6uI9O$6|}iQ+b^yaDBsa(>^mz>5SzwHTP#fNs%jm^0RTSZQtN-ady_H zW*ukDwl=2m(#g75L!|Jb0TP#n^}~;mE@vGugwGe4Pu9G z+OHqh?Lh0pIs%HPQ9`3EE+>2eTVSL#kJbQ%|u!1&~AZfei*bsq%tQa3PX-y4DjY*!(c6|=w3z|xpk%|Odm0QTy? zXc+|qp&lb&vx?dAl{orV``us26#|`lI3ORN<=BaL0BfT=Ae5b;S$+Lw-S<;y=`-b0 zoIX^CCV6OTfLvvcrj>3!bl(Ouh7p)_RC{2p&*Fkuq>?$KTV*s`YyY~?$!x7V{e2mOem>ACM+*veKDA>lpl5+~Z&|PT e)a&Fcly?iod*g14&o=^XibNZ25^I=NkG}x+=mHA> diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.js deleted file mode 100644 index c96d1be3ef1d..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.js +++ /dev/null @@ -1,73 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: StrictEquality-001.js - * ECMA Section: 11.9.6.js - * Description: - * - * Author: christine@netscape.com - * Date: 4 september 1998 - */ -var SECTION = "StrictEquality-001 - 11.9.6"; -var VERSION = "ECMA_2"; -var TITLE = "The strict equality operator ( === )"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - - -// 1. If Type(x) is different from Type(y) return false - -StrictEquality( true, new Boolean(true), false ); -StrictEquality( new Boolean(), false, false ); -StrictEquality( "", new String(), false ); -StrictEquality( new String("hi"), "hi", false ); - -// 2. If Type(x) is not Number go to step 9. - -// 3. If x is NaN, return false -StrictEquality( NaN, NaN, false ); -StrictEquality( NaN, 0, false ); - -// 4. If y is NaN, return false. -StrictEquality( 0, NaN, false ); - -// 5. if x is the same number value as y, return true - -// 6. If x is +0 and y is -0, return true - -// 7. If x is -0 and y is +0, return true - -// 8. Return false. - - -// 9. If Type(x) is String, then return true if x and y are exactly -// the same sequence of characters ( same length and same characters -// in corresponding positions.) Otherwise return false. - -// 10. If Type(x) is Boolean, return true if x and y are both true or -// both false. otherwise return false. - - -// Return true if x and y refer to the same object. Otherwise return -// false. - -// Return false. - - -test(); - -function StrictEquality( x, y, expect ) { - result = ( x === y ); - - new TestCase( - SECTION, - x +" === " + y, - expect, - result ); -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/shell.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/shell.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/apply-001-n.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/apply-001-n.binjs deleted file mode 100644 index c66c8ffa6ae42d6ce2ad06841b71bad1a409a9b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5655 zcmd^DOK%e~5O#SZIBESBUUAw&$K7>Lg}3?#b*L4>3d#t=$D z>f8G3x;?Zh1aJv{V&X7}`ZRF0jR$DWhe1F&_&qvCQzI(c+OTs;gWOucgls&*k1OrA zEem>rA(|pTS?CicS~QjuG@siNlCyBwc#76sr{#5yd-d(~T|K?3ATKG;-{aUco~p2x za{m}zcpb0nA@u|VA0digi=W_gh^Of7$m zJd_58jABW!_(I5ZNRA*)g%bH zRrZ@=nN1_R+Rzxk_Yu)oi0HxDVejndz&YKo?d^W~^m#cL=@9tWNr>thg^7AlbxWS0 z2PT?g8V>M!2q7-HjCjJJ0K%ah*|Ix`LTQWc3}p^b08!}-FE#tC*f^7r>C)q5NRnFm zF6D>Khb)F;egtw9`K@e1ir!3kBTIf`%2Ab(#EJ6jM?w0LKTTe!yNts{>SyKSq-a5j zw6;=JIGAwR7>idvri&FMGhYgd7;Pzp7x6I-auY&p0p{UY5EPdA<_d|cu*)51NtIn~ zZ&{etoIX=5*9K8s6DMeXK`gkuZnbGEq#F#)e5?~v$MMyRwR8o;~5RLecm3A{@7oYqnE$L>d90bBbK0cQ+aN47<7@ID z_i=N*Hqb28jANU@hN0TV7z2e$4A*au%y_Ur?{|39PPhaxj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.binjs deleted file mode 100644 index 303708d370d8abd6e7892238bdf5648891162fc8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7320 zcmeHMOH&(15FTPX4_};Ht{m+O2FJ&giYky5OqGC?rQ+%uX&Y&r)sAXrgwelu_w2l+ zT?tlYK@zyI>}vPx_cuK~Ei;?uaM&6H&klP-C8mZwV~pvcoC3>)f}s)DpqVz@zyu1T zS?j>Q-AX?_(i)V3tb{np<$&isi}3@ZWiZUSg6y165Ngcz2MgS}=6OKNg*J!J@#R|F z4+(-*us|sGk0>%Gbem7j4B-QoHcAwu!&ivbmc=z{)|Wl|taadiYq={Kd(BmNju_6a zI`cMC<0ll+>$Ll)7w19DJ&J#U;`^ulZs#F{lkJzCPrYWgAJ}Awp(t+=s#X5dvJYO; zgEUH)TnRqNp^OqYLKckD&!$P4gWO0JGk8S~l<+&Z!AoV)2bhGIZA=uxgbYm8Ixb&0 z&9HjJl>o&E+9t3sC8tPjrqtzQR~S%OVK%2bH&X>#leGklMKyz6m|h8g?Utia_*7W-2rjWqKq z>{AkNJ-?LMa)DSqz8cefXrsLNsV#U?0f2Eenyp?CW3?w=ud4fB&{kYvahU>b zs@7HL&pX&(Q-!0rf1jPdqMctAa@R*}H$e4eSB_SgTVY>hQLg6EI@<+clcI>ySq@i* zDKQ#H3UMM|xfi@p=M<+g;mPWe&y2jMFoLp)5># zBCyo?-hJ+Qm(sNZfl8dy$a#w{)EStu%&<2r)uS#+XzHxPNx_sWJV3x9YI#UuZ#5gp zY+gQ~|9qdm*w6cuj=vWX=p4bK)SYn%-4hc$X9?eQ@vy_gub4ImIZ_Lnf$=Or#Q*>R diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.js deleted file mode 100644 index 9ff19555e8a6..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.js +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: call-1.js - Section: Function.prototype.call - Description: - - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = "call-1"; -var VERSION = "ECMA_2"; -var TITLE = "Function.prototype.call"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -new TestCase( SECTION, - "ConvertToString.call(this, this)", - GLOBAL, - ConvertToString.call(this, this)); - -new TestCase( SECTION, - "ConvertToString.call(Boolean, Boolean.prototype)", - "false", - ConvertToString.call(Boolean, Boolean.prototype)); - -new TestCase( SECTION, - "ConvertToString.call(Boolean, Boolean.prototype.valueOf())", - "false", - ConvertToString.call(Boolean, Boolean.prototype.valueOf())); - -test(); - -function ConvertToString(obj) { - return obj +""; -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/shell.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/shell.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/keywords-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/keywords-001.binjs deleted file mode 100644 index 64d47753228df52714b60af8f707ae9bd0e64338..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7581 zcmeHMTW{Mo6lT|L?Y2Lm^<{4j(5C@43?!~G1Zz8>cKce;(y`4{kvx)0Cro_n-hC_VlWU+%3xr}HM3FI}CVZnSg!foVOHr)Gj}UD(oy;%)c|AI_Ya{zfO5Skk*Kx1ar%SD) zj{gadm|xCcPW>TY@Nm-o-So}uE9w3-9xp*vxgMbWnc=_#?+NpWKZT#K?`#5%){ntEK9G7z_i0yX@Deek6;=nLc?l8lK$XivOYtc&`E%M61? zEConL(1y1zg6`sJ7ad;;4H5&((0h8jK?^I=mVhyqD)53>WL(E3`{3>BpsiKiV=VkP zVbd1>yEGkaQ=;~C^6LEkv;U`MJJQ;{*!3~m^>5gIEM=ySvTO*5nJZQ%G9Uzs3%r=> z6Q1W`tBLItmjD=-tE#``g}{z>_l5W`s2rA1spp`gl;{lC%5?4r_ZbTujypX)i5wd& zzI{5jvg_dRdyXf}*Fq&4EtyF8x58dRCFO?lesaZcxH4_b(|SccrRDU$BdD z%(S_h?DTt(HHJHuucU%VU%~YPWK){O74~`PIFd$hy)gH2?4U5AuEqK-DDOPd8zk0d z#Jy{-({<0*KJLAN722a=k`347Q?|_cs?|AA38-lmjh8&9);t?OM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Apu7Wn8A>d?;+-z*L@ zDh}R7od$hgPgcTVt%zX7#!W&yfZpRVR-$^#463zb%*VD&wXAw3^bD`5!jV^!HK)a3 zfa?SM3kPa#;wr{qe@2JaN#&>8c@6NuRcglb@bK|M{dv50pgu>AmZw*@ OM!4s-Ci||l5&r->@c|S7 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.js deleted file mode 100644 index 5b256dd22d9f..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.js +++ /dev/null @@ -1,28 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: LexicalConventions/regexp-literals-002.js - * ECMA Section: 7.8.5 - * Description: Based on ECMA 2 Draft 8 October 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "LexicalConventions/regexp-literals-002.js"; -var VERSION = "ECMA_2"; -var TITLE = "Regular Expression Literals"; - -startTest(); - -// A regular expression literal represents an object of type RegExp. - -AddTestCase( - "// A regular expression literal represents an object of type RegExp.", - "true", - (/x*/ instanceof RegExp).toString() ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/shell.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/shell.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.binjs deleted file mode 100644 index 8e60a954c00487e2b64a56a8143f81017e567f7a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7271 zcmeHLTW`}a6gKy}-~|M4542oZif0unF|zGO!rh>%pm5F#mv zSJ$gO`_oM!fJ+Dxh_7MXr(suP+(xtj{E%`8I&_Fohg589;MNfhbF`2N*|>{~ow(Z; zf;KQhDDsCz0b!y^M{Fh~g!`c>2XN^}-I&0p*PLLr4Nd zC5t1X_SVWsWJhJpjcBKYKY_n>9(>F-dLMO%0wXM9G8dg~)>g8h9bm$+Uko@=&|0%u z_LOPVCB+>kfn!o>X}3;B9E4D86)@(}7;-~W%hQq7!!oa@t6tzLB-sq95Z_XEMaV0pId3oR>Bto+ zRr1n9^pcFbx@#4oGM8pg+gmrj;Y`jzE|MKMo)G-iSD7-!pIc(m>C0uiF}za6nM-AT zg0kBT0##R=R5+4Y6IX|TGvg%AZIquHV*03|3YQupNeI6r;cRedhQ2fxRDpkI zC&%<^!(Jo#seUod6BF%VsV(=}+o7$2z7s32U8#n*;y45vnItV9@^Oq#)pLzSG>!67 zMCw-N+zXsH#R7##wU~o@qOparKtg(qUMQoz6w`&o^tvdf;W(5mWYNVM-Xatwb+9jC yy_C|dQo=hB*^UA@xln)W;QbkAepwB~KNC42Dz diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.js deleted file mode 100644 index b268ae5ed099..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.js +++ /dev/null @@ -1,66 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/constructor-001.js - * ECMA Section: 15.7.3.3 - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/constructor-001"; -var VERSION = "ECMA_2"; -var TITLE = "new RegExp()"; - -startTest(); - -/* - * for each test case, verify: - * - verify that [[Class]] property is RegExp - * - prototype property should be set to RegExp.prototype - * - source is set to the empty string - * - global property is set to false - * - ignoreCase property is set to false - * - multiline property is set to false - * - lastIndex property is set to 0 - */ - -RegExp.prototype.getClassProperty = Object.prototype.toString; -var re = new RegExp(); - -AddTestCase( - "RegExp.prototype.getClassProperty = Object.prototype.toString; " + - "(new RegExp()).getClassProperty()", - "[object RegExp]", - re.getClassProperty() ); - -AddTestCase( - "(new RegExp()).source", - "(?:)", - re.source ); - -AddTestCase( - "(new RegExp()).global", - false, - re.global ); - -AddTestCase( - "(new RegExp()).ignoreCase", - false, - re.ignoreCase ); - -AddTestCase( - "(new RegExp()).multiline", - false, - re.multiline ); - -AddTestCase( - "(new RegExp()).lastIndex", - 0, - re.lastIndex ); - -test() diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/exec-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/exec-002.binjs deleted file mode 100644 index 4f743b0836aed5ecc081e9f700ffdcabd52ec3de..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 25487 zcmeHPOLN;c5N7&J-;Yxc?Zqd_nc8XE+!Rk8+sSw)k51&tB~CIR2}^7!QX;4fHKQNj zT@WB336e>ZlI#RNSe7go4?2BH{DZES1jE$%+;JS{#Y5`&K|;MW z_&}M%Qj*dEjZ)@x_W8Fv`lW}A(IlmQF5*cTyCm##8J~ePpL!ulsQ;V{KvbWwV=nmQ z0|^UhVZhRZFW}2YxyPCWKEVh?Iq!qWcLH`qhUpl@7qVEI1X1tcN04^t`!8wlBpV(P zMpoW0i!lk=_K>(W*L_t~rP@mSL{0pZ(I8Sg9(8NK}9KX_*lpG2!uPkkSMkjKdtT zolwS5TNDgFHKxTxgyf&#AGsUs(~Nq5+`D&Q!9k8tyz=EWI>JY>#0!9witARZyu@F@ z5}zDBJAC(vuB?G)8d=xh3+V0*lQ@mj$&l_Lh+8?f+gAdza+G=^}Sq-T_+i`p%)pL3w*ZvSIs=))u-lew#DIG4HcRmIRa6F)2Kh7yjoWo%@@ zP~GFjr4o@}4l(~$*hn{(S_BJykqiU$TXZ^Vw_DkCq7kRSKdd|?4&sdwU6mnn8$<&9 zeZO)1->HlLWvtRIomCCzB|c@(+p-t`p* z*5{tz;b6pdDaGH~_Sj@7;ryi|6q1R7mkTj7sT52EzMdBr~q^;>|? z8=qdh#@D-QmDh(^tN{==gE3u0%&HTKo$cp|-2IoRW&v9huvk28k=-`zFg5{Hj2@l` zI~v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_2/RegExp/exec-002.js deleted file mode 100644 index 86d8ccb9a59b..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/exec-002.js +++ /dev/null @@ -1,188 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/exec-002.js - * ECMA Section: 15.7.5.3 - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Test cases provided by rogerl@netscape.com - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/exec-002"; -var VERSION = "ECMA_2"; -var TITLE = "RegExp.prototype.exec(string)"; - -startTest(); - -/* - * for each test case, verify: - * - type of object returned - * - length of the returned array - * - value of lastIndex - * - value of index - * - value of input - * - value of the array indices - */ - -AddRegExpCases( - /(a|d|q|)x/i, - "bcaDxqy", - 3, - ["Dx", "D"] ); - -AddRegExpCases( - /(a|(e|q))(x|y)/, - "bcaddxqy", - 6, - ["qy","q","q","y"] ); - - -AddRegExpCases( - /a+b+d/, - "aabbeeaabbs", - 0, - null ); - -AddRegExpCases( - /a*b/, - "aaadaabaaa", - 4, - ["aab"] ); - -AddRegExpCases( - /a*b/, - "dddb", - 3, - ["b"] ); - -AddRegExpCases( - /a*b/, - "xxx", - 0, - null ); - -AddRegExpCases( - /x\d\dy/, - "abcx45ysss235", - 3, - ["x45y"] ); - -AddRegExpCases( - /[^abc]def[abc]+/, - "abxdefbb", - 2, - ["xdefbb"] ); - -AddRegExpCases( - /(a*)baa/, - "ccdaaabaxaabaa", - 9, - ["aabaa", "aa"] ); - -AddRegExpCases( - /(a*)baa/, - "aabaa", - 0, - ["aabaa", "aa"] ); - -AddRegExpCases( - /q(a|b)*q/, - "xxqababqyy", - 2, - ["qababq", "b"] ); - -AddRegExpCases( - /(a(.|[^d])c)*/, - "adcaxc", - 0, - ["adcaxc", "axc", "x"] ); - -AddRegExpCases( - /(a*)b\1/, - "abaaaxaabaayy", - 0, - ["aba", "a"] ); - -AddRegExpCases( - /(a*)b\1/, - "abaaaxaabaayy", - 0, - ["aba", "a"] ); - -AddRegExpCases( - /(a*)b\1/, - "cccdaaabaxaabaayy", - 6, - ["aba", "a"] ); - -AddRegExpCases( - /(a*)b\1/, - "cccdaaabqxaabaayy", - 7, - ["b", ""] ); - -AddRegExpCases( - /"(.|[^"\\\\])*"/, - 'xx\"makudonarudo\"yy', - 2, - ["\"makudonarudo\"", "o"] ); - - AddRegExpCases( - /"(.|[^"\\\\])*"/, - "xx\"ma\"yy", - 2, - ["\"ma\"", "a"] ); - - test(); - - function AddRegExpCases( - regexp, pattern, index, matches_array ) { - -// prevent a runtime error - - if ( regexp.exec(pattern) == null || matches_array == null ) { - AddTestCase( - regexp + ".exec(" + pattern +")", - matches_array, - regexp.exec(pattern) ); - - return; - } - AddTestCase( - regexp + ".exec(" + pattern +").length", - matches_array.length, - regexp.exec(pattern).length ); - - AddTestCase( - regexp + ".exec(" + pattern +").index", - index, - regexp.exec(pattern).index ); - - AddTestCase( - regexp + ".exec(" + pattern +").input", - pattern, - regexp.exec(pattern).input ); - - AddTestCase( - regexp + ".exec(" + pattern +").toString()", - matches_array.toString(), - regexp.exec(pattern).toString() ); -/* - var limit = matches_array.length > regexp.exec(pattern).length - ? matches_array.length - : regexp.exec(pattern).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - regexp + ".exec(" + pattern +")[" + matches +"]", - matches_array[matches], - regexp.exec(pattern)[matches] ); - } -*/ - } diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.binjs deleted file mode 100644 index 16dc01174594ec7ad9502960dd927d7168c71814..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20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7GP{@gIP$y&Mt9f5l~K3)}Dn# z+{i%GA*h1XKLja5Q?G`|>4H>j!;a5Qj~HcP)e}Lz!NedAk4TDhJ1{@0SIxc~B8n7t ze;h@?^l4emr1YFeMKT(j94zxB=8(5=B5)qxHd`rh)&LEVV-6MkL727 z!+dQtEzn)AiC7__e)P&EDTYB zr5Z8HNOiUEZh|1+ZU?ztgGX$8!@YHSo#ydN0V5^`t(h8EGXt)+Qbk60@wN@7zynwiZl2%QsD*Ci<+cdy}whEIS%!K0r9ZrOMqCgaiwr!h24BftN zl)QT)gBCZWZ_=X+8htQQ)K zces$!l5R`7@C>wEzFv0H#p?U;hUkziFODmcf;hM4v0+QO_?_tsb37y|cg5ya>R=a6 zTE=Y|w`E+%7s3_ePG^qqk-8!&h;dh*rr61@<=l(Qxo&8zuX3SdYtA|_orqsX5Iv#U zbckIbdthUs*YRHbzQ9tK%@t1axwQ7|7oG;mz|q&mt+2zY$!T@RRA9Eq;P|h#3=QKy z$fz0zrF9mBB>l5ZO`_ccyGtw5 z#FxRIH`3nScGrH+QjypW|1kMPk&n9CBowspSYHNFT<|e4vdmxgEbrwLD3$1N)r7|y h!U}S}MjqSW!fwI&_N>}uvu&JJ?{@P&hb~Rt{tqnEv1$MS diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.js deleted file mode 100644 index 04c3a97b9450..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.js +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/hex-001.js - * ECMA Section: 15.7.3.1 - * Description: Based on ECMA 2 Draft 7 February 1999 - * Positive test cases for constructing a RegExp object - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/hex-001"; -var VERSION = "ECMA_2"; -var TITLE = "RegExp patterns that contain HexicdecimalEscapeSequences"; - -startTest(); - -// These examples come from 15.7.1, HexidecimalEscapeSequence - -AddRegExpCases( new RegExp("\x41"), "new RegExp('\\x41')", "A", "A", 1, 0, ["A"] ); -AddRegExpCases( new RegExp("\x412"),"new RegExp('\\x412')", "A2", "A2", 1, 0, ["A2"] ); - -AddRegExpCases( new RegExp("A"), "new RegExp('A')", "\x41", "\\x41", 1, 0, ["A"] ); -AddRegExpCases( new RegExp("A"), "new RegExp('A')", "\x412", "\\x412", 1, 0, ["A"] ); -AddRegExpCases( new RegExp("^x"), "new RegExp('^x')", "x412", "x412", 1, 0, ["x"]); -AddRegExpCases( new RegExp("A"), "new RegExp('A')", "A2", "A2", 1, 0, ["A"] ); - -test(); - -function AddRegExpCases( - regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(pattern) == null || matches_array == null ) { - AddTestCase( - str_regexp + ".exec(" + pattern +")", - matches_array, - regexp.exec(pattern) ); - - return; - } - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").length", - length, - regexp.exec(pattern).length ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").index", - index, - regexp.exec(pattern).index ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").input", - pattern, - regexp.exec(pattern).input ); - - for ( var matches = 0; matches < matches_array.length; matches++ ) { - AddTestCase( - str_regexp + ".exec(" + str_pattern +")[" + matches +"]", - matches_array[matches], - regexp.exec(pattern)[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.binjs deleted file mode 100644 index c345fbba126c998e58e064ab895495d1628f13f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 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2tsn#qWs4i?W?M?5I zD+=C2)cU0wFjsAOX}uV<3cXvYk6EyL4Vru6&bEV@V<-$s-7$PEZJq02^M5*0<&44u zI*Fl2xGe0q^qIY8k#=^$H|pEo+>(v&v%k27=L5}rHy)lpkdpoiQeLKgb)Zni$((ek zs!+d{^ux~TkFBSm%Xatj>08xhuBM16bW^8K4LXxGgsQW`j&DotKafIMo84Q3=*{&i zS4wVM(Y6(}ENm~Tzi5L}Wc0Qbd3RFWK<)0SV~1v)$SY$ zHD>qCu1tZGW^AGA@wxy_Q}48>qr6EL;o+VA^ux^g-^M=;jfr159CbOVJh>TD&O)<$ zslI#z64g(cG+NwT+q2864Ul&X^Rh*H*MB27wB%Y|O08y+puKPV=9x-sD~Q;NnRv?S z1-mjmSv6;P-BLe5qi2VB>~*K+YzGe8*f7Bt7tY}g1}crk3*Y~$b-qh|b&$6X=YL2S zXYjzd)F4WO!S}Kh+&I@PT>qg$MH~4dGQx{vCkN*eSe_u2J diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.js deleted file mode 100644 index 9e69022d5d7b..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.js +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/multiline-001.js - * ECMA Section: - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Date: 19 February 1999 - */ - -var SECTION = "RegExp/multiline-001"; -var VERSION = "ECMA_2"; -var TITLE = "RegExp: multiline flag"; -var BUGNUMBER="343901"; - -startTest(); - -var woodpeckers = "ivory-billed\ndowny\nhairy\nacorn\nyellow-bellied sapsucker\n" + - "northern flicker\npileated\n"; - -AddRegExpCases( /.*[y]$/m, woodpeckers, woodpeckers.indexOf("downy"), ["downy"] ); - -AddRegExpCases( /.*[d]$/m, woodpeckers, woodpeckers.indexOf("ivory-billed"), ["ivory-billed"] ); - -test(); - - -function AddRegExpCases -( regexp, pattern, index, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(pattern) == null || matches_array == null ) { - AddTestCase( - regexp + ".exec(" + pattern +")", - matches_array, - regexp.exec(pattern) ); - - return; - } - - AddTestCase( - regexp.toString() + ".exec(" + pattern +").length", - matches_array.length, - regexp.exec(pattern).length ); - - AddTestCase( - regexp.toString() + ".exec(" + pattern +").index", - index, - regexp.exec(pattern).index ); - - AddTestCase( - regexp + ".exec(" + pattern +").input", - pattern, - regexp.exec(pattern).input ); - - - for ( var matches = 0; matches < matches_array.length; matches++ ) { - AddTestCase( - regexp + ".exec(" + pattern +")[" + matches +"]", - matches_array[matches], - regexp.exec(pattern)[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.binjs deleted file mode 100644 index d8d8c2dc8b4b44db1923728a052e067e5f41f347..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14070 zcmeHOZExE)5LWm8{$+n4{gz;;-E2dF4NkVib+Z6@8RE2`1_ZRk*lcAi$S(GeMgs1Xq_mEhh5iLJDl z3Az0_-0YS6(vhGRn1HC@9ZRBsi7v_H1jJieLUNW2w|@X>J5h8(hrP?JO9U02w*IN3 zk7(-!;r2R+&}R9pTWS?wgNohPdq=MicY7yR(H$<}OISd^*FD`oKDrO}7}L}J(}Ui9 zC`a4h^iKNqY;P+t7FftnK~yLIrK2uU)5XsUcK=><|<~cxQ%8Lvt z0bwrw$#vpWuA~nj2>|T@OPI77;4W)7zhOUu>}BVS@&HAv1Tv|t7ve>VFCh+?q#QC_ zWA@LhVAd!yEqvE9A_4n}Sd$|n*TOWBge7ao2{D>g)6wl7AoU*b95J6sC#&JE^6J3Ey`GAys09rIWsRdg^4O2I(LKf zm<;EtFmlIwYvZ5I!mYY^$NFTonJio_pYb9#1d?;DAkAC6-Aa|az(N8cw13mIhL$oUA$e+2LJ*b z_2#G{G;?%sG{goQ8B6Su=34UVW0#{&RXVte_Rov90l5LobpVA@s1a2LB*sw|Hg@f@ z-KPP7gu8thihyn5ybQYqueT(n}f^MjGs>;HqNghNqVPg~>eAh`LJj z_;ECunr&gF7BOa#=IB0s8_}+1c7;TC*IVCOuhnrHzEd#5O$u7|)yXbCcB6bSHysry zFL(iQ1-+Qr!8QElx@Fk}s}(A&4e+uC_cicUO-UB04#!>FvJgYFe=3xGcp_^#cM<)# zrq|wWK*23!t@Xl}CMV3%RZwfy*R~5j4Yf@`By8Nm>T7b(vPsrdF^#X8DmHtn?{dL- zLgBS>Qi}=!E9IqcMy0E2;dAbd4MlI8iSFZ~=sH7OZH{{cG>vcDH(L3=Up2PAOJ=M< z_PWi-P?TBW62XeAZ^}v0(;|_SeeN*3J!U8B88WXBy_qL`%}K-V4ZFjzHP2se=6{Ur zj{6fEE%gpz-Z{QZsx?Sd+#qZy7r&Z(F#AxNau)=zVO;gqUB!Lbrk@6M+xp%xZqB&b z#Pc1|%8a{kzu9$t!?_QabN$dzZzF6P`H<3dxlNbbbh)0d;J;H{u1x#tyZQBsyUriN zC|`a51NU)^2j*M-{IxdRV*aOvk6-S|A@`)V)}*uOMUU>MA6kFEBp^z9|4Ntt2f`;t AW&i*H diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.js deleted file mode 100644 index 0aa1d040746e..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.js +++ /dev/null @@ -1,78 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/octal-001.js - * ECMA Section: 15.7.1 - * Description: Based on ECMA 2 Draft 7 February 1999 - * Simple test cases for matching OctalEscapeSequences. - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/octal-001.js"; -var VERSION = "ECMA_2"; -var TITLE = "RegExp patterns that contain OctalEscapeSequences"; -var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=346196"; - -startTest(); - - -// backreference -AddRegExpCases( - /(.)\1/, - "/(.)\\1/", - "HI!!", - "HI!", - 2, - ["!!", "!"] ); - -test(); - -function AddRegExpCases( - regexp, str_regexp, pattern, str_pattern, index, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(pattern) == null || matches_array == null ) { - AddTestCase( - regexp + ".exec(" + str_pattern +")", - matches_array, - regexp.exec(pattern) ); - - return; - } - AddTestCase( - str_regexp + ".exec(" + str_pattern +").length", - matches_array.length, - regexp.exec(pattern).length ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").index", - index, - regexp.exec(pattern).index ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").input", - pattern, - regexp.exec(pattern).input ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").toString()", - matches_array.toString(), - regexp.exec(pattern).toString() ); -/* - var limit = matches_array.length > regexp.exec(pattern).length - ? matches_array.length - : regexp.exec(pattern).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - str_regexp + ".exec(" + str_pattern +")[" + matches +"]", - matches_array[matches], - regexp.exec(pattern)[matches] ); - } -*/ -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.binjs deleted file mode 100644 index b2ce49b6846046578372b7af73dc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%Q(#u3SmTbD94HNQAXBw$-If9htd^4P}J8L*&^HUdy>lPRlZ`gjV1>O*AL<7TG**Ka* z-SQ$M!xU4h36cJoigSX6S_kt4fW3Q8lz$fSiDlSARraADJrQ88SGq`fd~w*nb3WxM z7TETRR9$wvBFQ3~T#@X&y{$;F*p^blI+oj*4+aS4s1Grjt);ozFB&+70|!f-WlFdt z(I=gbx>fFAGdj4)YN?0~7_L1CltQ(VrAGp6Il}?0blUc4FhIiXeg~3(<6B7>4(NsS zI2(<#;GwsS2!8M1r|vh?2U&&Y&W@YrvJFyP8|EL;$$;`~*RR|@8oY)BYF^AyT$x7S z8Br?rR~I?GUN%HfdPyC5xKgePX101N@n7i7xxCb7qEp}F=}ZqAW|~@zF>rIWN7te4 zN@ACAWP85VrFBXjME)CPMtGQjmObLQkHglA2PzA(<;$!*!v(Y}$i>V_D}!J5uw@;r zlBzH^z@bV!e}G3SGgmiDth_*FIQHC@H8B+X*Nn;SBUx#27r~D$dgYxi5^f=C-Otw2 zD9l`K29;)gWxC+vP+0`DgzXw;UlDtjb+RUkY5U4WvHY!m%QnVS3dg&{N>B*4QXKkn zENxZ`$JsA75WQ=5bRQN(SJ}i>#<)8G(_erKZMTxTUpchiBr=u&d!6Q^DvG4Afndei zH{m49X%R?@K1;}#$I=~j4$MnvFE_%KoHXd(pgU}~=JCt+{0|Y`u|BcgQayzE#c_F3 zrHw?%0$~HW*aE#VbtnzF3zXL&uKGHzWL>t&r`OitzXSQSLEL!i_}*t_#9df#wu4=R zxi=Sc-KL@Huvwa{m1*m=$#R=4x5;uHU#sIM2-__g_0{+7_e)ltZ^Kr;eEkFKIA#Ur xQ+)+4@CLLOXK}{Hmup&(Yhqhzr-O+}?ub(g)jFTPY5Dz<29dK5ld+U~{6G4FXK?@k diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.js deleted file mode 100644 index 309fff473e17..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.js +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/octal-002.js - * ECMA Section: 15.7.1 - * Description: Based on ECMA 2 Draft 7 February 1999 - * Simple test cases for matching OctalEscapeSequences. - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/octal-002.js"; -var VERSION = "ECMA_2"; -var TITLE = "RegExp patterns that contain OctalEscapeSequences"; -var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=346189"; - -startTest(); - -// backreference -AddRegExpCases( - /(.)(.)(.)(.)(.)(.)(.)(.)\8/, - "/(.)(.)(.)(.)(.)(.)(.)(.)\\8", - "aabbccaaabbbccc", - "aabbccaaabbbccc", - 0, - ["aabbccaaa", "a", "a", "b", "b", "c", "c", "a", "a"] ); - -AddRegExpCases( - /(.)(.)(.)(.)(.)(.)(.)(.)(.)\9/, - "/(.)(.)(.)(.)(.)(.)(.)(.)\\9", - "aabbccaabbcc", - "aabbccaabbcc", - 0, - ["aabbccaabb", "a", "a", "b", "b", "c", "c", "a", "a", "b"] ); - -AddRegExpCases( - /(.)(.)(.)(.)(.)(.)(.)(.)(.)\8/, - "/(.)(.)(.)(.)(.)(.)(.)(.)(.)\\8", - "aabbccaababcc", - "aabbccaababcc", - 0, - ["aabbccaaba", "a", "a", "b", "b", "c", "c", "a", "a", "b"] ); - -test(); - -function AddRegExpCases( - regexp, str_regexp, pattern, str_pattern, index, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(pattern) == null || matches_array == null ) { - AddTestCase( - regexp + ".exec(" + str_pattern +")", - matches_array, - regexp.exec(pattern) ); - - return; - } - AddTestCase( - str_regexp + ".exec(" + str_pattern +").length", - matches_array.length, - regexp.exec(pattern).length ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").index", - index, - regexp.exec(pattern).index ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").input", - pattern, - regexp.exec(pattern).input ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").toString()", - matches_array.toString(), - regexp.exec(pattern).toString() ); -/* - var limit = matches_array.length > regexp.exec(pattern).length - ? matches_array.length - : regexp.exec(pattern).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - str_regexp + ".exec(" + str_pattern +")[" + matches +"]", - matches_array[matches], - regexp.exec(pattern)[matches] ); - } -*/ -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.binjs deleted file mode 100644 index ad3ee49dd26af99a11082b6c98bde1b299a12ef3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20091 zcmeHP-EZ4A5Lfs8{jz@`j}402%{uI1a5E&XTLfs*B2N3V4FMxDHd|TpM7m3W{_(q` zNRhTFN0buB$&?pGHg(7Q`rYwJxhH1RnC|w*ltjD3Fk@2@d>#Y=57Q|PB9_rmu#c1n zTo6GgG!Z=Lb>--u{pcR&G!rz+NxY2HGZGIajn9BuM8lY5G&&*^AT=iZxg~#p_qyt< zp1Pu}A4yhx4kVOVF6nB`;#**`|Mun4+r$0AalvSf6Zje?FdXzx4qhMK279#W$-&91 z!EG={+20M0hkmkmr862|$ZvsEFaM?|Kllbeu-)Vx$rw3{Y3?ROurvwK{iU1cF+fC` znFuOz!kqkrtH`IBq<#iL0Nx(3goz>o>}l=i0}djHUUtrC79eREKsuDwM4X=D3W!%s z&7fPB>zJu;|&-Uw_+qS}zI=o(*-;BY}+?oYS~zOVcNDY#x=+9KuJG1|%EJ%1bAM z%huCn2#wl>QY;fEl#AsUmwp99ibSQ=uCMll4ZF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p?9qKraS+%f!EWj$ATv_5DyKkyJxSmh(i`k?m3g~VmUBb=~CMa$oL z2(Z;E-zk@3LIt1mDIz zf!A`WFk-CyRfJN{a7}+>&RAk4G#8~tr6$gC5G>+X9W1K5@-WIZj7!zrp0T|3_jsFt zPf5Iaxj?%uvU*ztfo=OwgYp`D^wq{tFU7A!eHV4_V*rRUe^;A%Kb=5-nntVM;l2W} yyo9f?P+Om3*8;Uz;reZ4U4u>PO4gSC%KKJSjb8p-Z1=>Gs(-W`Vk diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.js deleted file mode 100644 index a73d7d40e232..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.js +++ /dev/null @@ -1,87 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/octal-003.js - * ECMA Section: 15.7.1 - * Description: Based on ECMA 2 Draft 7 February 1999 - * Simple test cases for matching OctalEscapeSequences. - * Author: christine@netscape.com - * Date: 19 February 1999 - * - * Revised: 02 August 2002 - * Author: pschwartau@netscape.com - * - * WHY: the original test expected the regexp /.\011/ - * to match 'a' + String.fromCharCode(0) + '11' - * - * This is incorrect: the string is a 4-character string consisting of - * the characters <'a'>, , <'1'>, <'1'>. By contrast, the \011 in the - * regexp should be parsed as a single token: it is the octal escape sequence - * for the horizontal tab character '\t' === '\u0009' === '\x09' === '\011'. - * - * So the regexp consists of 2 characters: , <'\t'>. - * There is no match between the regexp and the string. - * - * See the testcase ecma_3/RegExp/octal-002.js for an elaboration. - * - */ -var SECTION = "RegExp/octal-003.js"; -var VERSION = "ECMA_2"; -var TITLE = "RegExp patterns that contain OctalEscapeSequences"; -var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=346132"; - -startTest(); - -AddRegExpCases( /.\011/, "/\\011/", "a" + String.fromCharCode(0) + "11", "a\\011", 0, null ); - -test(); - -function AddRegExpCases( - regexp, str_regexp, pattern, str_pattern, index, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(pattern) == null || matches_array == null ) { - AddTestCase( - regexp + ".exec(" + str_pattern +")", - matches_array, - regexp.exec(pattern) ); - - return; - } - AddTestCase( - str_regexp + ".exec(" + str_pattern +").length", - matches_array.length, - regexp.exec(pattern).length ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").index", - index, - regexp.exec(pattern).index ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").input", - escape(pattern), - escape(regexp.exec(pattern).input) ); - - AddTestCase( - str_regexp + ".exec(" + str_pattern +").toString()", - matches_array.toString(), - escape(regexp.exec(pattern).toString()) ); - - var limit = matches_array.length > regexp.exec(pattern).length - ? matches_array.length - : regexp.exec(pattern).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - str_regexp + ".exec(" + str_pattern +")[" + matches +"]", - matches_array[matches], - escape(regexp.exec(pattern)[matches]) ); - } - -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.binjs deleted file mode 100644 index b3102284f49fde35bb00699fcc9907982aea9843..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 25100 zcmeHPS#R4$5N3K`=tE!Hr@{|Gk)u9R)F@KO4s1sW48%?lIen<*6tuLKH>F5*NhNlU z|K6G9UNV;yDN=_O`h_;>o!OcF=G)obAsf+f;F0adIdQw&tq!Au$obT9oUjuNh|{Hv zbRznigiaW_5$O{@3Z2F}|L=y`bSDf6i%2&X@z@JaU9ZJud;-$Cq~p1abPwG=h&p$} zhg@*;wd*Nq9u1@I&*7h~avvHJc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tl-S@Mh*O>0>0;l(LTOvHKk0)@)CtPQ7stov%FykeoERudi#HeU7VT# diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.js deleted file mode 100644 index b0ee18e209ea..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.js +++ /dev/null @@ -1,91 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/properties-001.js - * ECMA Section: 15.7.6.js - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/properties-001.js"; -var VERSION = "ECMA_2"; -var TITLE = "Properties of RegExp Instances"; -var BUGNUMBER =""; - -startTest(); - -AddRegExpCases( new RegExp, "(?:)", false, false, false, 0 ); -AddRegExpCases( /.*/, ".*", false, false, false, 0 ); -AddRegExpCases( /[\d]{5}/g, "[\\d]{5}", true, false, false, 0 ); -AddRegExpCases( /[\S]?$/i, "[\\S]?$", false, true, false, 0 ); -AddRegExpCases( /^([a-z]*)[^\w\s\f\n\r]+/m, "^([a-z]*)[^\\w\\s\\f\\n\\r]+", false, false, true, 0 ); -AddRegExpCases( /[\D]{1,5}[\ -][\d]/gi, "[\\D]{1,5}[\\ -][\\d]", true, true, false, 0 ); -AddRegExpCases( /[a-zA-Z0-9]*/gm, "[a-zA-Z0-9]*", true, false, true, 0 ); -AddRegExpCases( /x|y|z/gim, "x|y|z", true, true, true, 0 ); - -AddRegExpCases( /\u0051/im, "\\u0051", false, true, true, 0 ); -AddRegExpCases( /\x45/gm, "\\x45", true, false, true, 0 ); -AddRegExpCases( /\097/gi, "\\097", true, true, false, 0 ); - -test(); - -function AddRegExpCases( re, s, g, i, m, l ) { - - AddTestCase( re + ".test == RegExp.prototype.test", - true, - re.test == RegExp.prototype.test ); - - AddTestCase( re + ".toString == RegExp.prototype.toString", - true, - re.toString == RegExp.prototype.toString ); - - AddTestCase( re + ".contructor == RegExp.prototype.constructor", - true, - re.constructor == RegExp.prototype.constructor ); - - AddTestCase( re + ".compile == RegExp.prototype.compile", - true, - re.compile == RegExp.prototype.compile ); - - AddTestCase( re + ".exec == RegExp.prototype.exec", - true, - re.exec == RegExp.prototype.exec ); - - // properties - - AddTestCase( re + ".source", - s, - re.source ); - -/* - * http://bugzilla.mozilla.org/show_bug.cgi?id=225550 changed - * the behavior of toString() and toSource() on empty regexps. - * So branch if |s| is the empty string - - */ - var S = s? s : '(?:)'; - - AddTestCase( re + ".toString()", - "/" + S +"/" + (g?"g":"") + (i?"i":"") +(m?"m":""), - re.toString() ); - - AddTestCase( re + ".global", - g, - re.global ); - - AddTestCase( re + ".ignoreCase", - i, - re.ignoreCase ); - - AddTestCase( re + ".multiline", - m, - re.multiline); - - AddTestCase( re + ".lastIndex", - l, - re.lastIndex ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.binjs deleted file mode 100644 index 7c9afaaba69401dcf17ac214d1b08634f13adb55..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 38352 zcmeHQ-*4Q;5oVgUNn4=LeJcEr7HQH*ik-A6AS;$+#SmaAfh8M#FltbD>l0HRc_Dd@ zgrfg*|AfvgcR6#%C6CMF(I;y4Lg`MN-JKube4JhG?q~B^C=T|og+D&H7$w0h^FH)E zFCE1*;f;etjI!XJNWC=kGcgrWmU{cU^1t`_t%qqUl1z+q5zoT-$`3E3j9-AXu^5GZ zBF5+b6hvM7=~F5A|<wqntrBHN@R1OnpG@Y}EQlbM-CYH?s5bD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XyjG%tx>{x)FciYX~0sy@Q}8TUxCkKA8P#b$Z`XXr+Q25VbwsU~7Ts zlN^Yqvmg`|C?vmg2-E=r;h~$OxI&-z9erw*&u!CPX%;^Agu&7~H z=6wg8YRx#b864VRcG*eec``B-*|oiSL|7F98cZqmS(jMxAcSR$N>$`@?OG%H$~EIE zoJA24?Y_0t9v|m+bj|J4zckCHZ6`l!G~q2_h(}2KnJ6Zu*BbkZx&BsT?ph|890scj??oYA zt5ILM8s3{aSFCnurOvKp-XV3aSnttFon6app-w*xS(GEY8No+FcyJUwoWvbvbT~Zs z>Mf#N^%Fe#G8P%NOZ02$Pc=F|NKyaEs6$w0I5`kb9q<+Y;$t*c0YgwlPFGvd2ySGideh-igdq4 zZvR_w`&xB4*B^@Oqp5eM^Dqm-Alg*LX$3ReBG1Q@PV2Pc9Dh)bANpx_itnpbKZSBG ZY7O}Y2F2xVnd8@K!|eDK3%wRU{y)zh+Wi0k diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.js deleted file mode 100644 index 330fe4bd54da..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.js +++ /dev/null @@ -1,129 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/properties-002.js - * ECMA Section: 15.7.6.js - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -//----------------------------------------------------------------------------- -var SECTION = "RegExp/properties-002.js"; -var VERSION = "ECMA_2"; -var TITLE = "Properties of RegExp Instances"; -var BUGNUMBER ="124339"; - -startTest(); - -re_1 = /\cA?/g; -re_1.lastIndex = Math.pow(2,31); -AddRegExpCases( re_1, "\\cA?", true, false, false, Math.pow(2,31) ); - -re_2 = /\w*/i; -re_2.lastIndex = Math.pow(2,32) -1; -AddRegExpCases( re_2, "\\w*", false, true, false, Math.pow(2,32)-1 ); - -re_3 = /\*{0,80}/m; -re_3.lastIndex = Math.pow(2,31) -1; -AddRegExpCases( re_3, "\\*{0,80}", false, false, true, Math.pow(2,31) -1 ); - -re_4 = /^./gim; -re_4.lastIndex = Math.pow(2,30) -1; -AddRegExpCases( re_4, "^.", true, true, true, Math.pow(2,30) -1 ); - -re_5 = /\B/; -re_5.lastIndex = Math.pow(2,30); -AddRegExpCases( re_5, "\\B", false, false, false, Math.pow(2,30) ); - -/* - * Brendan: "need to test cases Math.pow(2,32) and greater to see - * whether they round-trip." Reason: thanks to the work done in - * http://bugzilla.mozilla.org/show_bug.cgi?id=124339, lastIndex - * is now stored as a double instead of a uint32_t (unsigned integer). - * - * Note 2^32 -1 is the upper bound for uint32's, but doubles can go - * all the way up to Number.MAX_VALUE. So that's why we need cases - * between those two numbers. - * - */ -re_6 = /\B/; -re_6.lastIndex = Math.pow(2,32); -AddRegExpCases( re_6, "\\B", false, false, false, Math.pow(2,32) ); - -re_7 = /\B/; -re_7.lastIndex = Math.pow(2,32) + 1; -AddRegExpCases( re_7, "\\B", false, false, false, Math.pow(2,32) + 1 ); - -re_8 = /\B/; -re_8.lastIndex = Math.pow(2,32) * 2; -AddRegExpCases( re_8, "\\B", false, false, false, Math.pow(2,32) * 2 ); - -re_9 = /\B/; -re_9.lastIndex = Math.pow(2,40); -AddRegExpCases( re_9, "\\B", false, false, false, Math.pow(2,40) ); - -re_10 = /\B/; -re_10.lastIndex = Number.MAX_VALUE; -AddRegExpCases( re_10, "\\B", false, false, false, Number.MAX_VALUE ); - - - -//----------------------------------------------------------------------------- -test(); -//----------------------------------------------------------------------------- - - - -function AddRegExpCases( re, s, g, i, m, l ){ - - AddTestCase( re + ".test == RegExp.prototype.test", - true, - re.test == RegExp.prototype.test ); - - AddTestCase( re + ".toString == RegExp.prototype.toString", - true, - re.toString == RegExp.prototype.toString ); - - AddTestCase( re + ".contructor == RegExp.prototype.constructor", - true, - re.constructor == RegExp.prototype.constructor ); - - AddTestCase( re + ".compile == RegExp.prototype.compile", - true, - re.compile == RegExp.prototype.compile ); - - AddTestCase( re + ".exec == RegExp.prototype.exec", - true, - re.exec == RegExp.prototype.exec ); - - // properties - - AddTestCase( re + ".source", - s, - re.source ); - - AddTestCase( re + ".toString()", - "/" + s +"/" + (g?"g":"") + (i?"i":"") +(m?"m":""), - re.toString() ); - - AddTestCase( re + ".global", - g, - re.global ); - - AddTestCase( re + ".ignoreCase", - i, - re.ignoreCase ); - - AddTestCase( re + ".multiline", - m, - re.multiline); - - AddTestCase( re + ".lastIndex", - l, - re.lastIndex ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.binjs deleted file mode 100644 index 31964ea5b6885cf23163c49f362fce0f16218398..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15907 zcmeHONpIUm6lS_FhxX80FD!aV+Gc6fOH(CEoa z9rHZMC6j!@6PX9S+v?jr`shZUb0PVtAn`a(4_LgXXnX+FMtm4E!AHAn0;G;u{!kGf z9JAO`i=$jV_#D3MrTdUjPy!}EDtH|wqae!rER$0pZ)xRHM9ElD+kF0b_xaA|;92js zzT4ARRP&e#dmo#x87UjlnJ8a)+|NkX2?wZIAj;2Ma)=Q3V_?#S3>R#V8Y zh_URT@ofb=&h+Xd2oIvEAA9QmukZ#%g%?aj>>%a^Dli$PNq|770I5JbCR5?CvH^1n z@@TD@t2SJSed;AznZqkHqFym zEyeyA*LUy!_UoOy3)$8|)Sl^B6;=Tr8R#-lNP(u$;@CZ^&~^y7I1iW@1Bx~Ey$)*0 z(@mg@W`jOjNDQjFcD34L>}jr4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>o z%|VNGzp%srALHw@A-p~#)3DFjr%A}0F7l}VPHC-9fi_Q7Jrc}1pF&0NIvo55$)}&M zUI}N+1Wv{g^HmS$g~}kMb9U`3Oc7d;rM9nbj;Lhbf&Q~7K6{R#(dcM(+_S&WVDqPL zZSd~$WiZs-JWU+jnMkLZ*SVg53ovco?s)2YotxomujM|M3In8@_qPo-xP1G6ze1go diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.js deleted file mode 100644 index d1f3f213e59f..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.js +++ /dev/null @@ -1,88 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: regexp-enumerate-001.js - ECMA V2 Section: - Description: Regression Test. - - If instance Native Object have properties that are enumerable, - JavaScript enumerated through the properties twice. This only - happened if objects had been instantiated, but their properties - had not been enumerated. ie, the object inherited properties - from its prototype that are enumerated. - - In the core JavaScript, this is only a problem with RegExp - objects, since the inherited properties of most core JavaScript - objects are not enumerated. - - Author: christine@netscape.com, pschwartau@netscape.com - Date: 12 November 1997 - Modified: 14 July 2002 - Reason: See http://bugzilla.mozilla.org/show_bug.cgi?id=155291 - ECMA-262 Ed.3 Sections 15.10.7.1 through 15.10.7.5 - RegExp properties should be DontEnum - * - */ -// onerror = err; - -var SECTION = "regexp-enumerate-001"; -var VERSION = "ECMA_2"; -var TITLE = "Regression Test for Enumerating Properties"; - -var BUGNUMBER="339403"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -/* - * This test expects RegExp instances to have four enumerated properties: - * source, global, ignoreCase, and lastIndex - * - * 99.01.25: now they also have a multiLine instance property. - * - */ - - -var r = new RegExp(); - -var e = new Array(); - -var t = new TestRegExp(); - -for ( p in r ) { e[e.length] = { property:p, value:r[p] }; t.addProperty( p, r[p]) }; - -new TestCase( SECTION, - "r = new RegExp(); e = new Array(); "+ - "for ( p in r ) { e[e.length] = { property:p, value:r[p] }; e.length", - 0, - e.length ); - -test(); - -function TestRegExp() { - this.addProperty = addProperty; -} -function addProperty(name, value) { - var pass = false; - - if ( eval("this."+name) != void 0 ) { - pass = true; - } else { - eval( "this."+ name+" = "+ false ); - } - - new TestCase( SECTION, - "Property: " + name +" already enumerated?", - false, - pass ); - - if ( gTestcases[ gTestcases.length-1].passed == false ) { - gTestcases[gTestcases.length-1].reason = "property already enumerated"; - - } - -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.binjs deleted file mode 100644 index 06f7cc808114a17fe24101cc68b1955068918f38..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8991 zcmd^F+iu%N5M_G5pe_0bdTL?>wUYovUjzrTq8Ki0C$Qwa6os)O*U}~wN$jo+8OTTX z6FRfpo5iI~O19#-PqZjQ4m9rbkAf3+tB<&q|)i2XDllXR$Ld;!uD8mENQ*$d)YaoJVMc`flMoFLxPnOYKTK7DTfYM zeFn|NsSxNb3WlbhQ)`Hp{40D>_91}B;`e9Io^QYRy3y#cR~6u3FFuGMS4z@2?&qy_ zkiUT-5Bf*Fvlp(_j9`0xz>y6gjd6Rexc&xl{cG6abV3(Jhh*_I$NAF9vksjV^0G4{ zGM;wE^U41+?llwcR$~7Z#Qw$eKmJ@PvJRPshQ26>f;1Y$G6?7wNS~ysdsTsK47Vta z2%pUBNsvQW@9jFQ#h?MH;&McVta?`&IVPIs>Kp9T-9JCCBVooDN z&~OaB#98dcxWXUM_$d1KrHz^|rpGzCTzZ?POIyk&qqr2*P;i~O_pep46y+_T5t&f_ zdY-}Nm}fp0Mt;IXPh4g(T=!`P91{3&NkvndP2|*HIpaK&{=&Hg56x+90|-*!Q^8!n z*o;GO_z{)UJn0+jkaaLIntFR^K{%|ZfE48ltUiipoF|v%4gAYs&sEGbd-U6@5^zmb zQbHRv6GJwGE#AI!2&=RaU+xmhJ>MIvCl?IUL{j@Us!%I7tPONgCdczl4@@v9GCM5h zwIoNj?Loa(cdJ?z8fxJD0kp!OXPeQCdz|lYS*~~OFXr87{R#e7M3ag$g2)$8t{2xw z!RWuv`OM3+P!karxtW0M-B>Zr+bvKIL3^4@tV#8nQqj((G_EPJK1Eir9ua<5fEkcw zeW+&I#$5deP1C{(yu#U9g-IB3E1hcLQGu>TTZg7n>krj*ecEU!#8s{3`+1*dv$b8<`ym}`?i8(Ja2?JvvhMsxZvn_T#t?j&&VQ_##{N zMsVyHyM3vfto#OJzd_%Iyf{^5?dD<0%f(wx&)LGw4>d^Or!d3K%^*g2ep)j=VEVI3 zhKE@rIMt%krQzD22Wo3DWd2^7#~&2U6zaD?VNT)P*@>SsLrBzXD=-}J7DAwk*A=z; zSm8b{qz+N=A$ku^1|KxVSO-9AD)|mXwx$%HClNvt+S&Ts;j(FBbM?E^0fcLw+k=YM u5yx)*r_IkHo*D%O+ZvO{U0isp_ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.js deleted file mode 100644 index 9282cd806175..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/regress-001.js - * ECMA Section: N/A - * Description: Regression test case: - * JS regexp anchoring on empty match bug - * http://bugzilla.mozilla.org/show_bug.cgi?id=2157 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/hex-001.js"; -var VERSION = "ECMA_2"; -var TITLE = "JS regexp anchoring on empty match bug"; -var BUGNUMBER = "2157"; - -startTest(); - -AddRegExpCases( /a||b/.exec(''), - "/a||b/.exec('')", - 1, - [''] ); - -test(); - -function AddRegExpCases( regexp, str_regexp, length, matches_array ) { - - AddTestCase( - "( " + str_regexp + " ).length", - regexp.length, - regexp.length ); - - - for ( var matches = 0; matches < matches_array.length; matches++ ) { - AddTestCase( - "( " + str_regexp + " )[" + matches +"]", - matches_array[matches], - regexp[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/shell.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/shell.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.binjs deleted file mode 100644 index 0e2a31569930fb6ca42dde9de958e4ccd259e7ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19089 zcmeHPOLN;c5N7&*Ond7s2Or}}YuT9|HSQ>ilgUh86S=vx9S=;x5)+El0Fdka>;8o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zxU7SSS?~HZu$*$`4s)jqce{``um7*}x?!;)2x^_zUGt<0a&iAaZn&4Z?xRwW`5R`T zEuCNIbL|5Z=$Y%Db*gUP>pZCTxhod0bGfopu}gHZVrRB@8aAEFZRm1mbI*fDtzGWQ z+owi;~cTJ%JXcJsiO+F=yCo9o>mcSF`@+hEWtb6ON zc*u0AYU87m-kCOTd&2^jwp4jtTng8YZK@%Cn}WF_gHkT!eimemVe}%svQ;Qqj)FfgFlR`noQH=i4{M50P?Ai?IX+){3J;o6VKrX) zM0u_84S3w?KhBEygDfs^`R@(fJQ!=AnsA{s?bTj`noB6PqLas!URrT669xF)s27&DQ47&y8H+9$7nLMmIZq`}DjmhG7 MyZAL_mo^{&4{yGv?f?J) diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.js deleted file mode 100644 index ab6fbd372ee9..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/unicode-001.js - * ECMA Section: 15.7.3.1 - * Description: Based on ECMA 2 Draft 7 February 1999 - * Positive test cases for constructing a RegExp object - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/unicode-001.js"; -var VERSION = "ECMA_2"; -var TITLE = "new RegExp( pattern, flags )"; - -startTest(); - -// These examples come from 15.7.1, UnicodeEscapeSequence - -AddRegExpCases( /\u0041/, "/\\u0041/", "A", "A", 1, 0, ["A"] ); -AddRegExpCases( /\u00412/, "/\\u00412/", "A2", "A2", 1, 0, ["A2"] ); -AddRegExpCases( /\u00412/, "/\\u00412/", "A2", "A2", 1, 0, ["A2"] ); -AddRegExpCases( /\u001g/, "/\\u001g/", "u001g", "u001g", 1, 0, ["u001g"] ); - -AddRegExpCases( /A/, "/A/", "\u0041", "\\u0041", 1, 0, ["A"] ); -AddRegExpCases( /A/, "/A/", "\u00412", "\\u00412", 1, 0, ["A"] ); -AddRegExpCases( /A2/, "/A2/", "\u00412", "\\u00412", 1, 0, ["A2"]); -AddRegExpCases( /A/, "/A/", "A2", "A2", 1, 0, ["A"] ); - -test(); - -function AddRegExpCases( - regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) { - - AddTestCase( - str_regexp + " .exec(" + str_pattern +").length", - length, - regexp.exec(pattern).length ); - - AddTestCase( - str_regexp + " .exec(" + str_pattern +").index", - index, - regexp.exec(pattern).index ); - - AddTestCase( - str_regexp + " .exec(" + str_pattern +").input", - pattern, - regexp.exec(pattern).input ); - - for ( var matches = 0; matches < matches_array.length; matches++ ) { - AddTestCase( - str_regexp + " .exec(" + str_pattern +")[" + matches +"]", - matches_array[matches], - regexp.exec(pattern)[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-001.binjs deleted file mode 100644 index e88becf302748c625d4a5e8d99704ae3579b1dab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8081 zcmeHMOLN;c5Jvj$^w1vq19)sFjh*S45g+#X?P8hg)v{n`>73F0Y@A8H)Z}wQh|0v0k(^7GX@0{LQJQMD zV5L?hJvDEq;nH)ZnA9wN{g|<_zci;mK9X8{E99BYEIRK0UqAa!l4yh>9a53 zZvNu$^ z=YUb`6;p37F}{W^#>2tn^39dorfd5r$KU=-*nV<384b5?{y@6FAO1PsMR&jbsR;&u zU)_QpY4uBL9(;!nLNC3ilGACyDlbvZMM*IHOqf(LNVSkYf;(cMf`76NUPyyJg&>4z zBfR7q1Z?NVi|U2T9I}UBb0!Hwn*g@2*MdYNB^Hk(u9<`kGjTq=T}q}DYKy>-R4e8L zsgcoExmeG6!Ja*T{;LlKi|($*w9zR1UzoQQj8^e5kb0ZvzjyZ~5 ze=%Wua&lrKH(7H%PiRt9oStMgsVA;D?G@KPf5x`RnM7hfuWX)%K{B94;g=dJ$lwuU zgv!~fyHt7}2v&D7!na@m&`#f%BWKtpO`P^8|G)A4JIJ(WQI1 zw6D>A{M~WTA+8Ky{^L}JBMyCpW{%F7e7P!NJR{2Rz>7x_uFln6nZflHE9*YUoHq+r z&h$K->tGKZPIc~8uHDbByOc*$7+XDS7#CKfH}W;pb7AH-Mm+2TScZKzpEbLf0kXE_1I3U-Zl|%7GzLjb1JUJd;zmEw`K$bD+^yu3|e*H?IRRN zKheUi#w|>v3c~?*TTKH3-D*+=0}22_qI=MR^qwU12hI)5C?Y7WNY?4{p$4-H~=&4 zj}NBJjm^6-(zpvOr&fsCx89&H>h<@p4Oko@K>70)!sIoB1;ZfDqd^|5g_sNB#SQT; z#9ugDYr-MTH_^f+hnz9fxD?*xfeX>ddm6tN-iAc9o@l6Fi0p%jFJ-{aZ*-`VS#oFF>-koT~E%Ejh}x?Jnh;@2*bIT|2t}547az`*b*dZMA{g7 hF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;*n(JMOEViK;{&UXzAZ(PYlAduK!JW@6l2fV2`Fq1@%g=E z983&P`SpNHC#w&QWS(j{iQc^oCK4C_)Y46%o=4Im!~1-jM_WxiHEIydkvVT>ox+>! z@Fwxr$m@#)Z(Tp1lqktGa{PR;vu>YFEIkz0UAHuAUcXx}-J6?WY4a#F%=&Y&iUbSu z=8VrhdCuzcjgk@d(*uu&cHMlwWxQmNnU$rE2B9=zC%|Nbm=O5SB;^xh{h-m0C01b# z{?DJ0m~o3CG8zmG%YSr{5o52~d-gGvo}U(T*#IW%SjOs#%Vvx86Pi7_e4=*V)QI=z zg+{aN>UES1ue6d%pVCw2@PRv@M2$3H*Pm^Z;Ho6}nI`l7B!t761bj#&LS0CHDefv; zcRPl55aYWQ%{z+jrE7yHbc>Dg9KGhAg4sFB#W^w$pI;^|=Ve>!qnBS)ocNgataDi9 zX}t=nH1?V+wfp$e*^3C#yatUi#XnA=cnnwsZKfEI+{!Z$=Q{28G2kF{<7}LDHmt{85}%pB8UoL9C$#s7ogg;7paz1kwD{wPyaD*X*1L(3#uZ*A?qc@$tXu%R{dK diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-003.js deleted file mode 100644 index b482823e12f9..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-003.js +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: dowhile-003 - * ECMA Section: - * Description: do...while statements - * - * Test do while, when the while expression is a JavaScript Number object. - * - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "dowhile-003"; -var VERSION = "ECMA_2"; -var TITLE = "do...while with a labeled continue statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -DoWhile( new DoWhileObject( 1, 1, 0 )); -DoWhile( new DoWhileObject( 1000, 1000, 0 )); -DoWhile( new DoWhileObject( 1001, 1001, 0 )); -DoWhile( new DoWhileObject( 1002, 1001, 1 )); -DoWhile( new DoWhileObject( -1, 1001, -1002 )); - -test(); - -function DoWhileObject( value, iterations, endvalue ) { - this.value = value; - this.iterations = iterations; - this.endvalue = endvalue; -} - -function DoWhile( object ) { - var i = 0; - - do { - object.value = --object.value; - i++; - if ( i > 1000 ) - break; - } while( object.value ); - - new TestCase( - SECTION, - "loop iterations", - object.iterations, - i - ); - - new TestCase( - SECTION, - "object.value", - object.endvalue, - Number( object.value ) - ); - -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-004.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-004.binjs deleted file mode 100644 index 8f7794e8c7c1fe5564193e631494b56086676cf0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11180 zcmeHNOLN;c5N7)B^wL9r0NYbDY3%fI%4nS0vXXknaWa*X9y^c-Nf=Xv3P67R>;8jw z7sN{mQ;cjlY=io+A;rY%5vJ-H_tleib`G( z;hw`gOkB&@5aq{r2G5cpZzAf`|bBN2>g9{ zi3q zFa-y!#>7$igOd!RhK(5&35wRhwLcGlT0u$-kEcvg0g|_X{v@ulxG&?_WMn%SJe6D|Y=! z!**|PPa`+IWNMm{G$%uv(<~iv2&iH~QWpMS30xR@X7Y*I)q9PN)Hus;XUu7_HUqH9WB2?(XUNE$DeEfYtth0)&bI zKjo7ebt}9K{7S^N*G|_3P__sp`y{7hl?XPOdU7_Lh=QK@O+r)cKx8YoW5u$YM1V@C zUTKRHdku}y>cndpz{)nc+ufSI!Y#cM?;b>>Risr$2O`!QO9hF^BWJ({f{na#)jSO= z^}lH1Z7b&A7f#HB&FgEU(&B-!LL@%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=1~t9fyW|o!0-rs0yIV1| zi*Uf8OFbep!yHA7cXf)%9yxROfcYuN&TuC*baya+bgM`WlYm8H?vOgr;f_C!)8UOi z_(}cnnlxSe^w^I3cjGMeutpEaD4GJ!pI?(4Fc{NvfHb6J@1}744Z;|bdI>zEXNBx8 z6vvu#E_sZlPq>8c&S3PqzUPSMxzsx6;GNl%a+rZfdD<5IJyUj*TB+7^>#uZZ>9tOv zwp@~i_N2HLX8oR5C&)h$fmL!RG(O9hkdkaO1fV3N6=|;cuKw3SCY~f6GQl&s6tVkL zcdbRHg}I^*nW7^LUB>)evm;=6Jjm2oj+waR*y&ONoma%Mb)v4EKrm}?NN_UVls z$f_-8MzmJq9+%%L!&)(!-VXDcIU3r{-qVn|vBP{L=2g?RZ=;p=D?nL%ru`(8PG-TV zPel-G-;Y6z%{|6!?oAoGcyo{@?9YSw=^NW$wBCV39P9VXcqT=_EIi07M$2W;GbpsIeeL>Ry61#Upge+F&=DK UgFN_qgIfsKo&;V6TrYL|e^_M!^#A|> diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-007.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-007.js deleted file mode 100644 index 44adbcafd988..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-007.js +++ /dev/null @@ -1,97 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: dowhile-007 - * ECMA Section: - * Description: do...while statements - * - * A general do...while test. - * - * Author: christine@netscape.com - * Date: 26 August 1998 - */ -var SECTION = "dowhile-007"; -var VERSION = "ECMA_2"; -var TITLE = "do...while"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -DoWhile( new DoWhileObject( false, false, false, false )); -DoWhile( new DoWhileObject( true, false, false, false )); -DoWhile( new DoWhileObject( true, true, false, false )); -DoWhile( new DoWhileObject( true, true, true, false )); -DoWhile( new DoWhileObject( true, true, true, true )); -DoWhile( new DoWhileObject( false, false, false, true )); -DoWhile( new DoWhileObject( false, false, true, true )); -DoWhile( new DoWhileObject( false, true, true, true )); -DoWhile( new DoWhileObject( false, false, true, false )); - -test(); - -function DoWhileObject( out1, out2, out3, in1 ) { - this.breakOutOne = out1; - this.breakOutTwo = out2; - this.breakOutThree = out3; - this.breakIn = in1; -} -function DoWhile( object ) { - result1 = false; - result2 = false; - result3 = false; - result4 = false; - -outie: - do { - if ( object.breakOutOne ) { - break outie; - } - result1 = true; - - innie: - do { - if ( object.breakOutTwo ) { - break outie; - } - result2 = true; - - if ( object.breakIn ) { - break innie; - } - result3 = true; - - } while ( false ); - if ( object.breakOutThree ) { - break outie; - } - result4 = true; - } while ( false ); - - new TestCase( - SECTION, - "break one: ", - (object.breakOutOne) ? false : true, - result1 ); - - new TestCase( - SECTION, - "break two: ", - (object.breakOutOne||object.breakOutTwo) ? false : true, - result2 ); - - new TestCase( - SECTION, - "break three: ", - (object.breakOutOne||object.breakOutTwo||object.breakIn) ? false : true, - result3 ); - - new TestCase( - SECTION, - "break four: ", - (object.breakOutOne||object.breakOutTwo||object.breakOutThree) ? false: true, - result4 ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.binjs deleted file mode 100644 index 70bc9f76194573769e8cc4e7d9b9d2acaeec840a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 63472 zcmeHQTaVkg71s9NE(&bXhd%VheJp~VNtA=-mWSfyNTMuKmL=I?fIzWh@p8_`b0>L{tydvAJy{ZeetJ1ef>q}I)bqS_ z7O#jm4-zuVg7+l#(#+4u4T-YUJ2_^*KEba(PE(R(WS%$i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5)fU=$@a249(yCb7|W8QrlG zMdMBMN0dGcn>{X|IHJbTdy)j#w-aVDk@+O0SE~@X6=@QrlQ;@*C*&iU!HqEV(@b-8 zG*-|&RPiK^Luy==lmW{RiO8w`=)SgDP>_v}9_fuaE9Iotvc@#g%yg^zu3}I|EDGF< zqM$NwK|d2IA_P4Pp<;*njl~^z6zV0~(@79P;m{=$b0g!rdR;OOXxt_4^JpA7Ofh8sqH_YruV zByqz2?CSZe3nS2(1O879fSon2#`^)fiQhBco%9bX00I5x&h}P$DIKjzya-7to|rGLCd427 za$X%@tg;2JCWP)$U>iwU9A&6Gn3b8LNd*Zeizi-$rZpj~_)a5eb#1l`hmW-k0(rY) zww343l44^eipHzxk0^Z@IIcD%B;3m9hWR06Q8XqBmWH-2i08DSFgv_#Ynv{^uu&^K$ot|h-+^%k- z8EbM_W1b1MD4uu`p2blXL~ByqDV-k#B#!IkzJx17h!)j-DuSpr;W+W%nC2~OG+Yi+ z#JgP%awRf6V87MnyYdrUH39*H(d8gT5_^xUPTc-9eDG~sv4sQ>z5JdARoFMq{~5y1;e3?p$kr=bSvfW_%HAe zg}2&ne|p6u70tCu1%j8RyWNjVAL#78pGf4>`E8g`>k;TK3F>bIurY%92&tT>uny|y zuZzQ4u{wO{V89i}rSUmQ^_TsL=1Up_ucE!rkpXFSz!!7JlkLNq-_bt7z2}oo zJRBI0_A0h+vu+?x8O&ain<+_D91Y(vE$+>cnj0@Wt7u2lxVS(3KkI@saj(5G{2jp=`_#cWpb*uD?eF~3}z|+0jMu`(>qH*St+F^a}OI=wzeDu)oW}wO|$0FN8t4jWB gEoh*bv+)HP8dBoshM4BQ`)M7bxfJXc3^)4v|GAQ6kpKVy diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.js deleted file mode 100644 index 215de6c4c8e6..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.js +++ /dev/null @@ -1,297 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: forin-001.js - * ECMA Section: - * Description: The forin-001 statement - * - * Verify that the property name is assigned to the property on the left - * hand side of the for...in expression. - * - * Author: christine@netscape.com - * Date: 28 August 1998 - */ -var SECTION = "forin-001"; -var VERSION = "ECMA_2"; -var TITLE = "The for...in statement"; -var BUGNUMBER="330890"; -var BUGNUMBER="http://scopus.mcom.com/bugsplat/show_bug.cgi?id=344855"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -ForIn_1( { length:4, company:"netscape", year:2000, 0:"zero" } ); -ForIn_2( { length:4, company:"netscape", year:2000, 0:"zero" } ); -ForIn_3( { length:4, company:"netscape", year:2000, 0:"zero" } ); - -// ForIn_6({ length:4, company:"netscape", year:2000, 0:"zero" }); -// ForIn_7({ length:4, company:"netscape", year:2000, 0:"zero" }); -ForIn_8({ length:4, company:"netscape", year:2000, 0:"zero" }); - -test(); - -/** - * Verify that the left side argument is evaluated with every iteration. - * Verify that the name of each property of the object is assigned to a - * a property. - * - */ -function ForIn_1( object ) { - PropertyArray = new Array(); - ValueArray = new Array(); - - for ( PropertyArray[PropertyArray.length] in object ) { - ValueArray[ValueArray.length] = - object[PropertyArray[PropertyArray.length-1]]; - } - - for ( var i = 0; i < PropertyArray.length; i++ ) { - new TestCase( - SECTION, - "object[" + PropertyArray[i] +"]", - object[PropertyArray[i]], - ValueArray[i] - ); - } - - new TestCase( - SECTION, - "object.length", - PropertyArray.length, - object.length ); -} - -/** - * Similar to ForIn_1, except it should increment the counter variable - * every time the left hand expression is evaluated. - */ -function ForIn_2( object ) { - PropertyArray = new Array(); - ValueArray = new Array(); - var i = 0; - - for ( PropertyArray[i++] in object ) { - ValueArray[ValueArray.length] = - object[PropertyArray[PropertyArray.length-1]]; - } - - for ( i = 0; i < PropertyArray.length; i++ ) { - new TestCase( - SECTION, - "object[" + PropertyArray[i] +"]", - object[PropertyArray[i]], - ValueArray[i] - ); - } - - new TestCase( - SECTION, - "object.length", - PropertyArray.length, - object.length ); -} - -/** - * Break out of a for...in loop - * - * - */ -function ForIn_3( object ) { - var checkBreak = "pass"; - var properties = new Array(); - var values = new Array(); - - for ( properties[properties.length] in object ) { - values[values.length] = object[properties[properties.length-1]]; - break; - checkBreak = "fail"; - } - - new TestCase( - SECTION, - "check break out of for...in", - "pass", - checkBreak ); - - new TestCase( - SECTION, - "properties.length", - 1, - properties.length ); - - new TestCase( - SECTION, - "object["+properties[0]+"]", - values[0], - object[properties[0]] ); -} - -/** - * Break out of a labeled for...in loop. - */ -function ForIn_4( object ) { - var result1 = 0; - var result2 = 0; - var result3 = 0; - var result4 = 0; - var i = 0; - var property = new Array(); - -butterbean: { - result1++; - - for ( property[i++] in object ) { - result2++; - break; - result4++; - } - result3++; - } - - new TestCase( - SECTION, - "verify labeled statement is only executed once", - true, - result1 == 1 ); - - new TestCase( - SECTION, - "verify statements in for loop are evaluated", - true, - result2 == i ); - - new TestCase( - SECTION, - "verify break out of labeled for...in loop", - true, - result4 == 0 ); - - new TestCase( - SECTION, - "verify break out of labeled block", - true, - result3 == 0 ); -} - -/** - * Labeled break out of a labeled for...in loop. - */ -function ForIn_5 (object) { - var result1 = 0; - var result2 = 0; - var result3 = 0; - var result4 = 0; - var i = 0; - var property = new Array(); - -bigredbird: { - result1++; - for ( property[i++] in object ) { - result2++; - break bigredbird; - result4++; - } - result3++; - } - - new TestCase( - SECTION, - "verify labeled statement is only executed once", - true, - result1 == 1 ); - - new TestCase( - SECTION, - "verify statements in for loop are evaluated", - true, - result2 == i ); - - new TestCase( - SECTION, - "verify break out of labeled for...in loop", - true, - result4 == 0 ); - - new TestCase( - SECTION, - "verify break out of labeled block", - true, - result3 == 0 ); -} - -/** - * Labeled continue from a labeled for...in loop - */ -function ForIn_7( object ) { - var result1 = 0; - var result2 = 0; - var result3 = 0; - var result4 = 0; - var i = 0; - var property = new Array(); - -bigredbird: - for ( property[i++] in object ) { - result2++; - continue bigredbird; - result4++; - } - - new TestCase( - SECTION, - "verify statements in for loop are evaluated", - true, - result2 == i ); - - new TestCase( - SECTION, - "verify break out of labeled for...in loop", - true, - result4 == 0 ); - - new TestCase( - SECTION, - "verify break out of labeled block", - true, - result3 == 1 ); -} - - -/** - * continue in a for...in loop - * - */ -function ForIn_8( object ) { - var checkBreak = "pass"; - var properties = new Array(); - var values = new Array(); - - for ( properties[properties.length] in object ) { - values[values.length] = object[properties[properties.length-1]]; - break; - checkBreak = "fail"; - } - - new TestCase( - SECTION, - "check break out of for...in", - "pass", - checkBreak ); - - new TestCase( - SECTION, - "properties.length", - 1, - properties.length ); - - new TestCase( - SECTION, - "object["+properties[0]+"]", - values[0], - object[properties[0]] ); -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-002.binjs deleted file mode 100644 index cb1efcd35dce4cc58c4cf19294f52b5d96a3b24c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16413 zcmeHO%WvB@7+3b}F2i=%cG*GbDMhg)+t~@0xNa99k6|{t!!Q)I&DdOJ(IDxh`S16A zl=!ek*_IQ#j;kK3SeCxWkKdbgLrumBJ!uRn>7TTFf{j)5c@#ym$Hz44GeLWb-BKAz zMHC&;RLQ7usGn~5ubxUtg`)k8#G8b7Nz&FdJ_Blf+DnL_{VOs8QbQtNX~L~rl2~d9 zlj`IvcsNM+l}AAfm;$NjJxlu$lT9*K6CiJCNhMf1IQbf=z2@RPefMkQFu&Kxuc+iL z5%xa3o9h!&>w)ZlvurlV{uyX^d4Jvg50>y_@JIC9t!C%^`f4Hjy~juYOJLtQ?_9JN zGGEiuzis{1UPgDv{!sgX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fnDS_m*982T_)4{Z6qt zzid4pgj$W1f83(dK;rU6j!N4EBsXRv9QJtKq@r&E!N)LN{jrdFd6f*kL==CU6!wRrd8jB70k_S|{_E&zSi(m0|ax**^s!La2a#o?~MBBUif6UCD^y zc=qf+WMhnJLLmgBDY_dv*yk18W5wuMj4%3I)_ot#wvzANbnVsORziPoDUDlHo)>J7 zj(Y&E;SnA?U{ZXBtF^g`O91FY2Kix?*TYwWI0oYddp-Z<%?B+VcFHaiLStI(|Kq_A zU=_a`45(%?WxW%&tkgcIcgnY|W$Ina4FcIx{9UsiZ~d9`SFkn3yz0rq^yIupdp4)w x1JYcoo{)0=N3RZ38njN}bSy@lY-1Y(f~ALv&@Ogf@W$R)-Pd>ywWU?%?N5BVNSFWs diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-001.js deleted file mode 100644 index 391732a2d3dd..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-001.js +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: label-001.js - * ECMA Section: - * Description: Labeled statements - * - * Labeled break and continue within a for loop. - * - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "label-003"; -var VERSION = "ECMA_2"; -var TITLE = "Labeled statements"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -LabelTest(0, 0); -LabelTest(1, 1) - LabelTest(-1, 1000); -LabelTest(false, 0); -LabelTest(true, 1); - -test(); - -function LabelTest( limit, expect) { -woo: for ( var result = 0; result < 1000; result++ ) { if (result == limit) { break woo; } else { continue woo; } }; - - new TestCase( - SECTION, - "break out of a labeled for loop: "+ limit, - expect, - result ); -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-002.binjs deleted file mode 100644 index 3a6009780d47479a40c006cc63846f60b18ffc23..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15009 zcmeHO-EZ4Q3|IHPVGqOp0zG!HMTf*8T2C{>bBzO0QflGI7+KiDYtgF;?lKj6RN{s2IzIh$g8L<1&3M zil``)Qp`nO7E$j$z1`zO9~FgArI=`lCz%{2*#%*I1ZWd6&Jrai&yqPn&647TfCsOW z%%NpzQ67B?F9&f?7y>OY2dL;(nopv%=qHPE3Gfc9C{>zIkG=%7vt%T)p(x7Uee<+u zt|;c~M7ifM+DH@<>`DvxiZ9?NH`6t);B#2P#h^bteg16Y^mlfz0JP`uba*z{IQbs5 zkFviQ{C?3!c0c`nBBH<7w*b}Czx3$A*Z6?*#9wGIKqMH9nDV6u0 z1{P}gJDcF8BJ>eB05CmD^R$Eo*8TEWzi>JM&rM&ZLPZEo&SPIU3kfnM<{+J7wo6Id2)UOa=uXzxqgL2N2sAZ zlhe8}N!(iOg&3Nsm6wk44@i#`2J|QsFUv@!)0q#zChj57JwFLo)gB-_nSFo39)*s* z(3U6m%9YS*#cTZBVw?Th-I}@hl-`IpkD?9PsuhR0i8*T}?RY-=8!~h+76q1tLUxuZ zS84xKTRqd8mb1`h6YM z>WZUZlZ=7wm#?C;jOd|pE|p4)W;ri0eya)btO81HoO5e%gB&&-@zdpgAv=1GA6ysC z>iefPM)C)B?rp_`PXO~Dp=2F4Wb*5gaUao1=Av1|U3x8s2~=os!mUh&$bi~lt=sLd zO?4Sd!oyyB#A{UHkZst-Nw$B7rF`Pn@3oBy3|HokQ-*`bni|y&%8n0PELAK!GadaW zxZ~LXzRNAPIcM3*TbpIL-JXi-Dl7dKYZQ_TeuYD63lWp4P>+{6w4Y?oi|SbLOp8aw zDj&o3iO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ecma_2/Statements/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.binjs deleted file mode 100644 index f8fc2a14e0bbf4de94c5da50ad75d751836e17cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12971 zcmeHOOLN;c5Jvh;d&*4n19(qcJMFZ&sE%z}aXn)@nMh81=rjX~u!IRkssQB2tv|Ux zp}QbnG%1@D?bfa7Luk_E0{iWU-Ni1_Q_Drdwt6#0aKmQMsoD56)=f zq$OOctxw_QO1XQ11U3H?_^0Ocskws0;KJp>>r;T?GE1dHq6tW zxuTk9RJiBxwb7_bv9%`fISerz^hXD;kKHhtjhIw7&fpFJKzoi3 zMu&rcV{kRG|UT>PV(#AiZFAHxCwrW2lW1rsc<%ia8igBVsWKjlmi6s;GJeceo?lB-oK z;*cvQV0G&?Hn>;_CM9Z%f?+`~nVX1_j5L&*hTm*%KKD$p!rfIPTe%GW7wDF_XcZ56 z)EM2*0Np|VXy^TR4-?r67jrAPJ_TGyGZy8{ja>YDm?*CZrMH4KGWh%FKfL(y#ah^U z7c{gviuOg!yC&=E!iCnSN#Z}%-gE+w7$a0nm#Z@!?@EKOS2XwiDCAUIX^OUOK!&J~o7%bg=8x zzCPPMP20f!yBE{3y$0JKd%W7f{+k!m!CnLQCmydhu)pzQI@oK#{?y~u2KHaQn1>Ae zZk8pCrq^XM)s@Jmv9!Zm$I=>jlUvDMI=oHpQrOmGN^W=mHq-CC2sTI7+Yg;w*{kD* z$?etkFVK;(fSZl_C-BZ$#$&&2ZDRqnr}^Gq+lcFyO~YzFRv?mQWl*=7?nNHxk&r(w*(+!=3rBgKvo3@iIRbk8aN^zrp zbLa+Vq01&E4Z~$=m3b|Wn3`pA-_8sRPh5^>K^J#H1vGbomU#nN-%2vh;>-L2{$_nl zv07uh&~J(ou+yuhRP~>^9P&Bzz}+{8(1^C;^KM+JD&)q=Bu5j`#C?rJ=n5t@-q=On zX$y2St`R0gEN3(V>0;>{wBEyo5VjsvS6+=zMk29`1$6h_Qud?f`7x=^17Brg9_TA| z3F!6W7p4<9C6X!vt#$LaK9z8ACeB~P8?wlxD*VwVUEyGjTL8S^ zhnxah9h_c)5xFXQHs~QS?h%MMlKruSpySp~IH4BU>N%8Fi{HmONNY9!viTxgrZKEt zK25RN=LHq}Ph)e!0-U8i=wOjHt`v2D_LFm?1&F--5p)%q@&?hftU8BrXEfb*=5#c* zw7rS0cWUFHcHh}}t3aQo%O$8#-Y**yPrlB^?Q9%*DDRhzgRVqp<90UQtZn0p#5E7g zHmSgfSrL>w3$?S*c5Mq)BmEELPC+oJo`X+$y4-2i8CF<5@DsM|Y|dn_8e5-Q6>r1b zcTKpD*}4Dnj*h841|9K)8s>REk+tDPt5nMVeJUGF54}xQQd|2#6l~{j`!JYEqK384 zE58IKq&}}4!N0R8&7!ej^n?65ngBo%b6Wu!!T)NA(&c>2g#0#&^!6#@GAe@@GNBQ4 f*VI9*f!3CNT}h;s(5p2FJ5v*`+^rd;*5khcg1okp diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.js deleted file mode 100644 index 44e72985dae4..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.js +++ /dev/null @@ -1,65 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: switch-001.js - * ECMA Section: - * Description: The switch Statement - * - * A simple switch test with no abrupt completions. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - * - */ -var SECTION = "switch-001"; -var VERSION = "ECMA_2"; -var TITLE = "The switch statement"; - -var BUGNUMBER="315767"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -SwitchTest( 0, 126 ); -SwitchTest( 1, 124 ); -SwitchTest( 2, 120 ); -SwitchTest( 3, 112 ); -SwitchTest( 4, 64 ); -SwitchTest( 5, 96 ); -SwitchTest( true, 96 ); -SwitchTest( false, 96 ); -SwitchTest( null, 96 ); -SwitchTest( void 0, 96 ); -SwitchTest( "0", 96 ); - -test(); - -function SwitchTest( input, expect ) { - var result = 0; - - switch ( input ) { - case 0: - result += 2; - case 1: - result += 4; - case 2: - result += 8; - case 3: - result += 16; - default: - result += 32; - case 4: - result +=64; - } - - new TestCase( - SECTION, - "switch with no breaks, case expressions are numbers. input is "+ - input, - expect, - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-002.binjs deleted file mode 100644 index dad7a8dd804baed8a981e3049999ad41b0584ef5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12241 zcmeHNOLN;c5Jvh;drD_|=#f2VI`;I~QC-`zl6XdOGL@PhJCF!Vm{6nwKz{t|{DX8C zBpxIon-uLNt(ik;Qse^r?YE1?E(U6|PT0X<$!L5qnG3#FK;V4GJ7yL3E8xDL_(z_r?io2u09B@W_*LE z8`;GYZEuUQ{2`qYKR=3YOW2G)nw*$blv0nvKxYsT1fM(o>MJsQss9Dn*tTMRI<#VX z*c-t9{tt_n&&Rf~Kj~q|^s_nJ9bR2vA3HHU+Z(X`vBRqi>@S>{9`**Xd(oi_?5}&+ zF~}TeS;A;~(~=r4+q4bphdtg6@g{e&i1v8v8qV3Kw76Z%Go7~Jam-*s%#oD zbGMsD{RdQ!4dBI&5ev{48IRrmsfz{Bp2hd(+C|($H)s*oo0mRuE4=Sa+1miSJf{DE zR9B_Ogu$m>&516Uc(zHQPn4y8`5h~xTpr2m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c)I`smGVq;A->L&g=1CSfHGzY-G-b_xJA)kKq)5Nh zv0$nRCiFsj(Nfr=aeKp;5th(;O12ahOf|tYN4A6_8n+isX-r$Dch~}`CV=olMb|&Q zGhxjXJj&N>TJWp@Ji0F9odM4#&ik=C<*Dk2Ey8OeoKF4qUtCL}mB#H2vHJmZ#dq85 ztwJHBioP@|b}Rq*2VU9W*}wM7wh7-fsx$3yF$q>JYWcNpv!>fDl`J8M#yvq2?&P$7GXn5Eb)bMztC?=H+BjL;`?bnIO dh&JvipuAq~D$2?rmR|6@GWr< diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-004.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-004.js deleted file mode 100644 index 0572874a6b47..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-004.js +++ /dev/null @@ -1,94 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: switch-003.js - * ECMA Section: - * Description: The switch Statement - * - * This uses variables and objects as case expressions in switch statements. - * This verifies a bunch of bugs: - * - * http://scopus.mcom.com/bugsplat/show_bug.cgi?id=315988 - * http://scopus.mcom.com/bugsplat/show_bug.cgi?id=315975 - * http://scopus.mcom.com/bugsplat/show_bug.cgi?id=315954 - * - * Author: christine@netscape.com - * Date: 11 August 1998 - * - */ -var SECTION = "switch-003"; -var VERSION = "ECMA_2"; -var TITLE = "The switch statement"; -var BUGNUMBER= "315988"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -ONE = new Number(1); -ZERO = new Number(0); -var A = new String("A"); -var B = new String("B"); -TRUE = new Boolean( true ); -FALSE = new Boolean( false ); -UNDEFINED = void 0; -NULL = null; - -SwitchTest( ZERO, "ZERO" ); -SwitchTest( NULL, "NULL" ); -SwitchTest( UNDEFINED, "UNDEFINED" ); -SwitchTest( FALSE, "FALSE" ); -SwitchTest( false, "false" ); -SwitchTest( 0, "0" ); - -SwitchTest ( TRUE, "TRUE" ); -SwitchTest( 1, "1" ); -SwitchTest( ONE, "ONE" ); -SwitchTest( true, "true" ); - -SwitchTest( "a", "a" ); -SwitchTest( A, "A" ); -SwitchTest( "b", "b" ); -SwitchTest( B, "B" ); - -SwitchTest( new Boolean( true ), "default" ); -SwitchTest( new Boolean(false ), "default" ); -SwitchTest( new String( "A" ), "default" ); -SwitchTest( new Number( 0 ), "default" ); - -test(); - -function SwitchTest( input, expect ) { - var result = ""; - - switch ( input ) { - default: result += "default"; break; - case "a": result += "a"; break; - case "b": result += "b"; break; - case A: result += "A"; break; - case B: result += "B"; break; - case new Boolean(true): result += "new TRUE"; break; - case new Boolean(false): result += "new FALSE"; break; - case NULL: result += "NULL"; break; - case UNDEFINED: result += "UNDEFINED"; break; - case true: result += "true"; break; - case false: result += "false"; break; - case TRUE: result += "TRUE"; break; - case FALSE: result += "FALSE"; break; - case 0: result += "0"; break; - case 1: result += "1"; break; - case new Number(0) : result += "new ZERO"; break; - case new Number(1) : result += "new ONE"; break; - case ONE: result += "ONE"; break; - case ZERO: result += "ZERO"; break; - } - - new TestCase( - SECTION, - "switch with no breaks: input is " + input, - expect, - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-001.binjs deleted file mode 100644 index 00c81601d337ee678aac1be8bee4aaccc618846c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14656 zcmeHOOLN;c5N7)BrH`4OdQxxgbZSrfICMsF$5s?q8C%Ijimx7sf+Z$2se+Ibb@HS8 z6S@oHu@p&}P$Z8W+ZS0dxxhZY-46@6E$6eCAGD{OjSmK)h-NbQI0%9)OlLe8M}mhk zy5d=oN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D)3obUKyY|Fl$JLf!-TdDkj3QGa{N24wED3 zU(@N7x)feN8D6C~@GsrI&V#!iah=Rdz%i1NQZ(FRqQ@pMU^DM@V9KS%r;UEDh?sQ} z!O%%0GH>G&it<2DPcPFZ-q9_iuCO6bL)%yIH#Owelo(qhTsz))WyRMr%7vv(<+3~b zvFoOgxMS1P-N-@0Cyv@eF>YXt6XC(EVVwcX$KDd_m;&nVsl3!e&5g{g7Pz9(VJ0X{ z@y?!bAJh(lQPVYstLZ8!u{PULmx#M_M8;OlO5_ao$3`*sLsr1tl*)#p(RV?=?EMfL zD=IB5RWzq)Xoc{>VgRcHXbqz1%7nPl&|RQ1LHhy3A2iyXU4Os5?{|+w|EL}M?QXYq z>L0YbjZWtuzu7qs{>rbr%8~7JYgYsi1a=P~RnUKDU_FmSfKV|^+zZWQ&El9DbFaui ztE161PBTgdZ?C>beueKP13p~`_%+~qCy}6jPSXLT~HtKxjeyzF4Q#mnY3+7N;MWST5Q( z_f~y$qPkW$9(9{#M5-F6$aTKk)}6Kj2a}ODuu{eCwYyOHo^oD#VQ=$rvuNAx$h{N; z6+YWoD2D56mL5x3t$+=avxiA|=Q3>D(?0CBM)$P4YOsTlsq(5! zpeg2vPbF4g`YQvVB=5l&7L`Y5c)Eox(~o}Myl#wCGV0n^DU<9jP!sE82wHrYe5PZlJ(5(l%AIFPd$%EIlULrYasC>!P0>(XONK g+e9^=wHKYNZENbbrWX9q4jZbet6BDvR4sM;f26AN8UO$Q diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-003.js deleted file mode 100644 index 9244fcb5d9a5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-003.js +++ /dev/null @@ -1,82 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-003.js - * ECMA Section: - * Description: The try statement - * - * This test has a try with no catch, and a finally. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-003"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement"; -var BUGNUMBER="http://scopus.mcom.com/bugsplat/show_bug.cgi?id=313585"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -// Tests start here. - -TrySomething( "x = \"hi\"", false ); -TrySomething( "throw \"boo\"", true ); -TrySomething( "throw 3", true ); - -test(); - -/** - * This function contains a try block with no catch block, - * but it does have a finally block. Try to evaluate expressions - * that do and do not throw exceptions. - */ - -function TrySomething( expression, throwing ) { - innerFinally = "FAIL: DID NOT HIT INNER FINALLY BLOCK"; - if (throwing) { - outerCatch = "FAILED: NO EXCEPTION CAUGHT"; - } else { - outerCatch = "PASS"; - } - outerFinally = "FAIL: DID NOT HIT OUTER FINALLY BLOCK"; - - try { - try { - eval( expression ); - } finally { - innerFinally = "PASS"; - } - } catch ( e ) { - if (throwing) { - outerCatch = "PASS"; - } else { - outerCatch = "FAIL: HIT OUTER CATCH BLOCK"; - } - } finally { - outerFinally = "PASS"; - } - - - new TestCase( - SECTION, - "eval( " + expression +" )", - "PASS", - innerFinally ); - new TestCase( - SECTION, - "eval( " + expression +" )", - "PASS", - outerCatch ); - new TestCase( - SECTION, - "eval( " + expression +" )", - "PASS", - outerFinally ); - - -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-004.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-004.binjs deleted file mode 100644 index 3154d7b2cabec25f6e38afe73f0f951b9e642e30..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9091 zcmeHMOK;mo5T^TnT-tjNLQXD<)-^4am%AZ;`pj89&l_mAAOzPqB6mqLf< z2mK@GPm^1>Qj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Statements/try-004.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-004.js deleted file mode 100644 index dbc5545596d5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-004.js +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-004.js - * ECMA Section: - * Description: The try statement - * - * This test has a try with one catch block but no finally. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-004"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -TryToCatch( "Math.PI", Math.PI ); -TryToCatch( "Thrower(5)", "Caught 5" ); -TryToCatch( "Thrower(\"some random exception\")", "Caught some random exception" ); - -test(); - -function Thrower( v ) { - throw "Caught " + v; -} - -/** - * Evaluate a string. Catch any exceptions thrown. If no exception is - * expected, verify the result of the evaluation. If an exception is - * expected, verify that we got the right exception. - */ - -function TryToCatch( value, expect ) { - try { - result = eval( value ); - } catch ( e ) { - result = e; - } - - new TestCase( - SECTION, - "eval( " + value +" )", - expect, - result ); -} - - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.binjs deleted file mode 100644 index 025eb618f8d3c4e20e81ed940d59206e0b481bad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10373 zcmeHNOK;mo5T^TX(L;OhLCDEP(K;xQn;^hZ)YO3O7?F@`v7$E8HWVrBu59bycV@UR zic3j!B*$)iF)fOm*UtCt%&fY4xyX30JL7E98>Uh$bn<1ABq}WyJedf|Q!TE!N|a`r z&v~v@(mkQ4yWy*+N^zHN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M3fnjL# diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.js deleted file mode 100644 index b50c5bf53665..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.js +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-005.js - * ECMA Section: - * Description: The try statement - * - * This test has a try with one catch block but no finally. Same - * as try-004, but the eval statement is called from a function, not - * directly from within the try block. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-005"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -TryToCatch( "Math.PI", Math.PI ); -TryToCatch( "Thrower(5)", "Caught 5" ); -TryToCatch( "Thrower(\"some random exception\")", "Caught some random exception" ); - -test(); - -function Thrower( v ) { - throw "Caught " + v; -} -function Eval( v ) { - return eval( v ); -} - -/** - * Evaluate a string. Catch any exceptions thrown. If no exception is - * expected, verify the result of the evaluation. If an exception is - * expected, verify that we got the right exception. - */ - -function TryToCatch( value, expect ) { - try { - result = Eval( value ); - } catch ( e ) { - result = e; - } - - new TestCase( - SECTION, - "eval( " + value +" )", - expect, - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.binjs deleted file mode 100644 index ea2c9095679264a8e9e4febde43b6c4ba5830144..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15003 zcmeHO-EZ4A5Lfp-3>&upAdee{EyW)8P#6Ik*UbXt3$@Yht)OMb)}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PVT6jyIVE3^btI#sax!_t0)#7dTM=`x5ufd41c47VbjfXb#McRaFg zivtHUZ4)PJ1p6CYX*rv1o^`WiI2)Wcq!(9H{I#3l0gYWlXLEmPal7RF0z43SDKSaeZp3nqb%+?8-3lVq(9s4J}MrvtSVHpM!J<2Y)T{JlXA*Htaz9_F@!)Tv&IIm6%%C5&gb|bxE{e7#^9Yh!ICEu=2D ZE{EN*AlsZlf|shPQdnZw2Jt%G{vRu8djkLf diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.js deleted file mode 100644 index 0a85200a1522..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.js +++ /dev/null @@ -1,87 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-006.js - * ECMA Section: - * Description: The try statement - * - * Throw an exception from within a With block in a try block. Verify - * that any expected exceptions are caught. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-006"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -/** - * This is the "check" function for test objects that will - * throw an exception. - */ -function throwException() { - throw EXCEPTION_STRING +": " + this.valueOf(); -} -var EXCEPTION_STRING = "Exception thrown:"; - -/** - * This is the "check" function for test objects that do not - * throw an exception - */ -function noException() { - return this.valueOf(); -} - -/** - * Add test cases here - */ -TryWith( new TryObject( "hello", throwException, true )); -TryWith( new TryObject( "hola", noException, false )); - -/** - * Run the test. - */ - -test(); - -/** - * This is the object that will be the "this" in a with block. - */ -function TryObject( value, fun, exception ) { - this.value = value; - this.exception = exception; - - this.valueOf = new Function ( "return this.value" ); - this.check = fun; -} - -/** - * This function has the try block that has a with block within it. - * Test cases are added in this function. Within the with block, the - * object's "check" function is called. If the test object's exception - * property is true, we expect the result to be the exception value. - * If exception is false, then we expect the result to be the value of - * the object. - */ -function TryWith( object ) { - try { - with ( object ) { - result = check(); - } - } catch ( e ) { - result = e; - } - - new TestCase( - SECTION, - "TryWith( " + object.value +" )", - (object.exception ? EXCEPTION_STRING +": " + object.valueOf() : object.valueOf()), - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.binjs deleted file mode 100644 index 98cde50096a29ee52ab43568c01db7ecb1227fd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16367 zcmeHOOK;mo5N7&*phbJ_NyipN;GmZRfnp$5l+=J@2ay`|7EsjMVndPYl5*mI-bcke3}hEL}F3I*^Mm0k1&N| zCbRdO%;JD}!5K#V1c`n1pFZ9A0dH`BeG|$!oFqc|Ylx}`$V9{#ijKk}la9=4*g%PY zuugm?N%{o%2#6<$)3|^M`ZRf@9yp!?k;dn-kO7J&E;EnoiBxh%m3N-Rg^)nDM0vvx z3n}s(wMD_euS;Pk!Xy{+>fxhDe>#6KlI@kuT1f|Y!nB@88pSz?I-B+@u=#NC^6A?@ zK26J3M4GMG^%t<~cqV!P+n!BC9`}0ZnS2;CPBVkqYdwmcr;JQyLoOqn2N{p#kQjtX z;$9`EkKmRNK`1Yl_4$$Wc=mRk?_9}vXTqrLhenI@ z@r>0ii%>#2194oHO!PAkCfW2#-N3(07%%5JrtW%GmViYKNvW#1;(Qd(q3W~moIvSi z#Cu8w)ddkG^z$&WB66ZaaOHU(Kn7ATu9T&r?d-r!5HV^(?y*5tsYX$>X;YeNS{Y-W z+KDN5z#2Oc*~zV&>t?e~9PFJlCCtSix1^*^V=gXZ9K96tiI6N%;LsVBgTX>##3-z9 zmB5J}%3f0-QYpPL0n4Z<)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api-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.js deleted file mode 100644 index 93e08a0a1765..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.js +++ /dev/null @@ -1,92 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-007.js - * ECMA Section: - * Description: The try statement - * - * This test has a for-in statement within a try block. - * - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-007"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement: for-in"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -/** - * This is the "check" function for test objects that will - * throw an exception. - */ -function throwException() { - throw EXCEPTION_STRING +": " + this.valueOf(); -} -var EXCEPTION_STRING = "Exception thrown:"; - -/** - * This is the "check" function for test objects that do not - * throw an exception - */ -function noException() { - return this.valueOf(); -} - -/** - * Add test cases here - */ -TryForIn( new TryObject( "hello", throwException, true )); -TryForIn( new TryObject( "hola", noException, false )); - -/** - * Run the test. - */ - -test(); - -/** - * This is the object that will be the "this" in a with block. - * The check function is either throwException() or noException(). - * See above. - * - */ -function TryObject( value, fun, exception ) { - this.value = value; - this.exception = exception; - - this.check = fun; - this.valueOf = function () { return this.value; } -} - -/** - * This function has a for-in statement within a try block. Test cases - * are added after the try-catch-finally statement. Within the for-in - * block, call a function that can throw an exception. Verify that any - * exceptions are properly caught. - */ - -function TryForIn( object ) { - try { - for ( p in object ) { - if ( typeof object[p] == "function" ) { - result = object[p](); - } - } - } catch ( e ) { - result = e; - } - - new TestCase( - SECTION, - "TryForIn( " + object+ " )", - (object.exception ? EXCEPTION_STRING +": " + object.value : object.value), - result ); - -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-008.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-008.binjs deleted file mode 100644 index 6d21e853cc5ea806b4299e64a86710755c3df981..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13346 zcmeHN%Wm676lMBMyJ#|6amBpb10pfNrHv@wqpCi%F}&H!r4@~0ZO zd(IMvmWW*KegT6kai016jiK^}$g!`|>V2faMkw}Gt1(sdJ zelego1}7p;1(y**Ydf~X%|g&rO1fHQ5eGtX364gad-vT;@;pbj2n@bu&fP)?vXU1M zA3y%Z?}J5lS1r~`6Z{}VTQUVpoGMYUXwh|dJBNEGKi^HsR(QB;k?Rj2*Wr}6Ky6zt z2tU!cB5ko&oTZ@L^B638Ex~)U8Q2i7?T34FvgS$kqr;NKzp6bz439XEn4HY(69sSn zL$~CP!L2fR z;o0fz2$DC6K0ZqLsfwhSOubJwt`LEK@{>?eZ2&T8+c)R`k#x(Gwt8Z(R0u&UUSj+f z+k|X)Yv!U;b{Qmx&*mwl+*wMaH~LnQ@8uV14AJ@@iXuaRe_TdF=~yN&L-*IebwlBpC-bHHlW4%C<>-D%t?rwn#i?3E6*y8~I_8ntdQOA*7| za`bIU_lEMK!&E%=kqd`tn~3pwCt>s4C%bfw`$-nR(VLa)avZ{GlR93%cCDmJfy;+1 zPYVa}<%tIfT})C;Fg(CQ0kYzKoJ_=r{A|Rf#~MP`!j;C!Mz5ji5zQn9QRTeOLWzaG zi%ef^Wl{22MX9xPx7T!=wvtZO6{2>@TKP)*6dVW_9h;+D69DbxmwsLpj@NPY>!YHQ zG?Bs7oisu$?3K0B{cN5V9VoBYBlm1sSE?kE5~Nlf9gWL=-*#EFZr8hACnw6hxtm)= zuLk?*3U(JX-FD(Kh4r?!%NS8|bc#Q+TJ6MZ|+4wu|LFfYE$+ zuSdG~++#D0+KJ~I6ifR2t$$P7@b%ZQC=4uLJ1i%?KTAea{0xO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NP1{yK+>3kS5Q(c( zU*LLwZz;IMmri0y9)jmFK{dzdAlTT%O|#Jkt^O5W59w7jA~<#EvXD!@dNyh(K)-Mn zBU|DHH3g2XhBNIXZC;c14?Ok3Yjc;9F1xZ&9_9~&PE?;da&7yqm{-HHk zHKsj+7mca#=Z)*KG@ZW5ja_2dCm|1rk@{*l%&79lmA*Ax|~v=E6jw#M){0 zSsR26wxW7EEFn$Wqb~|Z)Mpz?G<37iEh(T+I+c+Et3-ew$Ja9ZRdWe%@(eXTSmq9Y z=mJ#E#@Kd+OQCasz6v0zhHNvDqpqpt57cMm%UkXfJRL)AT1tn6Q+v|IpMm4c**v4i zTIG!j*#Ix~dLo<5^WGqCc!KwPkyxhw7#r8}V2o;u47=))qAjbfPY>48<3^PoO{~Hs zLy}c;Hic?s^TU4f9rpV8@Ib|6H7V%x-wS9$D*ER&k?0+?HGb@SN;>gOBOyG*cFRLd-gs~HGKgXfhT)=B4s}d zu{Khv#FGd)lxVbJwGWc+pf2q|q-lePwSVq_34FKXu&fkq8acG8{jvMT!@se{-+;!y znKxc{?{)4KbuU{6&S6Z=5e5%Ybbf*63OGNK%72&emNgI&oXCjbw}qv124;wToyr8E z8|%DCZOxUY=GL9cb`WZfOnL7_dL!+sV%9jiMoYz`df)#3z`9uO`o=rIaze*J;F`)= G>-PUiV>9Of diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-009.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-009.js deleted file mode 100644 index d3e0ebaa23b0..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-009.js +++ /dev/null @@ -1,66 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-009.js - * ECMA Section: - * Description: The try statement - * - * This test has a try block within a while block. Verify that an exception - * breaks out of the while. I don't really know why this is an interesting - * test case but Mike Shaver had two of these so what the hey. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-009"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement: try in a while block"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var EXCEPTION_STRING = "Exception thrown: "; -var NO_EXCEPTION_STRING = "No exception thrown: "; - - -TryInWhile( new TryObject( "hello", ThrowException, true ) ); -TryInWhile( new TryObject( "aloha", NoException, false )); - -test(); - -function TryObject( value, throwFunction, result ) { - this.value = value; - this.thrower = throwFunction; - this.result = result; -} -function ThrowException() { - throw EXCEPTION_STRING + this.value; -} -function NoException() { - return NO_EXCEPTION_STRING + this.value; -} -function TryInWhile( object ) { - result = null; - while ( true ) { - try { - object.thrower(); - result = NO_EXCEPTION_STRING + object.value; - break; - } catch ( e ) { - result = e; - break; - } - } - - new TestCase( - SECTION, - "( "+ object +".thrower() )", - (object.result - ? EXCEPTION_STRING + object.value : - NO_EXCEPTION_STRING + object.value), - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.binjs deleted file mode 100644 index b7052fe424f5db9a1e0946edb57e3baff6e7224d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18934 zcmeHOOOM+&5LWsw3KT(G^wfh7y#>XlJqGS}vyL}eVB-y9Bj_!VWyWSBO9n|N*`D%~ z`x81tiR8$VY}0GUkM&7wtu(_K&V2Ktnrb?U*=cjc!og`b5`3b9&x0V4Q95D4fD0BW z{*K8&s!*{pOOyCUSI;Gg10;w1YEYliJAg=OG_%jli}%opw|Ao)qc^tyzad2 z_Fi6go;FYNe>U?gO8YJp_Wr%*NiJBGd@HTvM_|#pe!UAzK?Qf1gq`Y%8!L02Eh zu)pj6KL9V=Py?F4t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#rT$(K(Di`1)$?Mebr(≀boV0H z{iPkq1h#@X9W7w*bC-s<1sstz_kn^dWMRW4^R?CA5m{%>Jzxm7pBNrYP4Lj$uL|aL zMAp4W*0Wn#z=}D{r}&`Y8*o_shPo9>cYx5Qh&uf&9i4Q*=me{U$fZBo-LVRA;b|u7 Y;ybqXWt);-8##~YOd4VG%cXAr4>qQp0{{R3 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.js deleted file mode 100644 index 5ee472c3b73e..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.js +++ /dev/null @@ -1,73 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-010.js - * ECMA Section: - * Description: The try statement - * - * This has a try block nested in the try block. Verify that the - * exception is caught by the right try block, and all finally blocks - * are executed. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-010"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement: try in a tryblock"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var EXCEPTION_STRING = "Exception thrown: "; -var NO_EXCEPTION_STRING = "No exception thrown: "; - - -NestedTry( new TryObject( "No Exceptions Thrown", NoException, NoException, 43 ) ); -NestedTry( new TryObject( "Throw Exception in Outer Try", ThrowException, NoException, 48 )); -NestedTry( new TryObject( "Throw Exception in Inner Try", NoException, ThrowException, 45 )); -NestedTry( new TryObject( "Throw Exception in Both Trys", ThrowException, ThrowException, 48 )); - -test(); - -function TryObject( description, tryOne, tryTwo, result ) { - this.description = description; - this.tryOne = tryOne; - this.tryTwo = tryTwo; - this.result = result; -} -function ThrowException() { - throw EXCEPTION_STRING + this.value; -} -function NoException() { - return NO_EXCEPTION_STRING + this.value; -} -function NestedTry( object ) { - result = 0; - try { - object.tryOne(); - result += 1; - try { - object.tryTwo(); - result += 2; - } catch ( e ) { - result +=4; - } finally { - result += 8; - } - } catch ( e ) { - result += 16; - } finally { - result += 32; - } - - new TestCase( - SECTION, - object.description, - object.result, - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.binjs deleted file mode 100644 index 9451142987cf4e83633b419dc19c6b096f7054ec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14002 zcmeHOTTkOg6!!LhduX5g;v!XQRaLY_YF8*lN=$&LAs}K_?Nj9>Lo!;&rZW>D{q;R( zJh#M7Vgmuv%|77Rvd_%9edjyJ-kO+P$K;?kBGKTW+h_Dzc<+0j$NT9u@dlKUzMwaR zdt5|8F-Wj(Y2U>cq5AoMw8*ery#9ydEB`?Z8R@xyXtC9 z9Z}7jh?(o~w9=?Zv3qUcV_2fw48qn~$1JmG`B#s>JX$ksh3)3b#n+(w7q~c^cGEEt zBk;y^>;dinrg_mVV}EOcT^WkjAMz9=!5#8vP5%8HFSwENCSo+|#UzWANYFI#F!*JV zW*HEPl-c}Q5QmxgSF6OQOiJ%T3V?Mznot27%x7jJyP-9J+@)8PFb_q`^wGDgjTA;} zQBJg}APn+bW?A#@ni0-XTNDf_Jt1Zzj%2~6KmPRdFE$LcWOK}nt55%Trp*Onk*1YR z`w`f@8JyPten%}^fN_sv*RQ~?;fVMUw!W!-?`H5WD5H;JW(?oGy{lWe*zNj{NMeZ5#7mq$~Bh~-AL1zM2R(Con%H7B}OG){S`g_;|gswlhaqQgv3 zXvgTId!u#`jE?RxEX`KQh_%^{JVo4{Au_gVRw8GxKRQgXAF={wrcO2#jlOgGspmsz ztcb9*RMMQHAr!&~O#rNppf!l&sR?nTp}Rn3g7z(lKdQId`~G3;(C?gu{z)tJTb)kx z!ar(t>h1PlexrRB{E=T*J5V3peYCEuT@gSK*gb$$PX3vI^}Hwsgi2t7UT7w37RSt( zdqoCX9*yp%8gbfxE8WHAB%bRQ*^VIH+jTI?#~v1r78bJT1XVUP91&5{2{}<}J*Ot@8&5GcjketTYy_ z)%nQ(&gg3r#p z=7Mwi&j7Jb(Yb+*8w%=y?0ucS-@W0*#7eHAv8JeGPYb|Sz!QMY8p&jN2zMQ8wXbBp zCwXUq8WD)?d{HWfjY`aQRd+U*EjlU6U3M)jxtaoGiPG6Ca5WH6FU;M+z&ufqpRzR4 zNs@iBV##pNTwC@P3j)M)kuvTjyU(}#y49BuWgKDgEwhI`cQr5H)Xqvb$TcJE#r6-| zc1s*!0Z|{M*jOme(t9G#GXVC>WZavP6k9LLkN$L1y)P#_8S@Y7VQ^A*u2Zhw=<2kM z4fXL?QNLpmq;$`X^S?Frhvg~Tf-rFXeb0>RkX!qtWCD->@d-`|@w<~C;>2(WQ{`ou zKvT@HluBf-^k)u0NjBgUkIJ()fIj3foNH)J*nsnJg=( wF9(uY9v7g~OHJfe+<%+K+caMCe+)LaAn&L&b}Dj~#~WOcms9u!sa)#vf1@)i_W%F@ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.js deleted file mode 100644 index 3ee7d10266ba..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.js +++ /dev/null @@ -1,95 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: try-012.js - * ECMA Section: - * Description: The try statement - * - * This test has a try with no catch, and a finally. This is like try-003, - * but throws from a finally block, not the try block. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "try-012"; -var VERSION = "ECMA_2"; -var TITLE = "The try statement"; -var BUGNUMBER="336872"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -// Tests start here. - -TrySomething( "x = \"hi\"", true ); -TrySomething( "throw \"boo\"", true ); -TrySomething( "throw 3", true ); - -test(); - -/** - * This function contains a try block with no catch block, - * but it does have a finally block. Try to evaluate expressions - * that do and do not throw exceptions. - * - * The productioni TryStatement Block Finally is evaluated as follows: - * 1. Evaluate Block - * 2. Evaluate Finally - * 3. If Result(2).type is normal return result 1 (in the test case, result 1 has - * the completion type throw) - * 4. return result 2 (does not get hit in this case) - * - */ - -function TrySomething( expression, throwing ) { - innerFinally = "FAIL: DID NOT HIT INNER FINALLY BLOCK"; - if (throwing) { - outerCatch = "FAILED: NO EXCEPTION CAUGHT"; - } else { - outerCatch = "PASS"; - } - outerFinally = "FAIL: DID NOT HIT OUTER FINALLY BLOCK"; - - - // If the inner finally does not throw an exception, the result - // of the try block should be returned. (Type of inner return - // value should be throw if finally executes correctly - - try { - try { - throw 0; - } finally { - innerFinally = "PASS"; - eval( expression ); - } - } catch ( e ) { - if (throwing) { - outerCatch = "PASS"; - } else { - outerCatch = "FAIL: HIT OUTER CATCH BLOCK"; - } - } finally { - outerFinally = "PASS"; - } - - - new TestCase( - SECTION, - "eval( " + expression +" ): evaluated inner finally block", - "PASS", - innerFinally ); - new TestCase( - SECTION, - "eval( " + expression +" ): evaluated outer catch block ", - "PASS", - outerCatch ); - new TestCase( - SECTION, - "eval( " + expression +" ): evaluated outer finally block", - "PASS", - outerFinally ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-001.binjs deleted file mode 100644 index 644a36f9bec4c6b41c0da60187b6d6bd48ed3ffa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5418 zcmeHLO>Yx15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>4Nt^7C9y2(HTXqM+M4QF!88wL{I>U4=i0emh|v+BFFCusLA???O5`%3A)| zD+Sf^2u5EQ7^D|k3O{$tF&}Fl;wytzZ6sKq7-cw!@B%6$N$%Qs&R%LCDigy4J{fT7 zW%XgY!L^Z-o0)kumDujkE{s&Vj2MiF`Vh9ICw&QjOSm#`I6xS16nEgzwYAFU3s`CQ z)LyB4zvPhQXY>LTWi|Xo{_<<`&qbmh!7152Is+dPU2;rmVOc zrGJ|x=)OF~F{!~-nKwv%GF!AO=G9a4*yT#)IajMi6%UN34c_E;D7eCnY}alWTUJ#q zWhl0Man}aLhI5}*n|2+o&Ch^4`07=csX!?k4)?9xwDFrhkT2hZx13rhhTj0-GnjXu zoX2|1bom~Jch~q0Q{<(M2j%-510LUwP}>?%jCO(HlyyfM##_r?oW-eFXh$YxC(nmt z)5bH&8(OJ~|2KoSM8r~POlI&lPB186l<`<5ynE;ALDzN}nL9gSnHv_T8)bEhNvn9Z zs@w_j>@uL=zaIwuS~7OgPY;fQOz5wbAMYa-=JGaW#%6-NUcQFQlMs!sC|q7hEWX_6 z9mB5HUBgDvt@V-luI9r3i55KOZkRi_>X2WER^cN$mP3p*>QTfO^#1uPZ~ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-002.js deleted file mode 100644 index a3c315bf2064..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-002.js +++ /dev/null @@ -1,86 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: while-002 - * ECMA Section: - * Description: while statement - * - * Verify that the while statement is not executed if the while expression is - * false - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "while-002"; -var VERSION = "ECMA_2"; -var TITLE = "while statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -DoWhile( new DoWhileObject( - "while expression is null", - null, - "result = \"fail: should not have evaluated statements in while block;break" - ) ); - -DoWhile( new DoWhileObject( - "while expression is undefined", - void 0, - "result = \"fail: should not have evaluated statements in while block; break" - )); - -DoWhile( new DoWhileObject( - "while expression is 0", - 0, - "result = \"fail: should not have evaluated statements in while block; break;" - )); - -DoWhile( new DoWhileObject( - "while expression is eval(\"\")", - eval(""), - "result = \"fail: should not have evaluated statements in while block; break" - )); - -DoWhile( new DoWhileObject( - "while expression is NaN", - NaN, - "result = \"fail: should not have evaluated statements in while block; break" - )); - -test(); - -function DoWhileObject( d, e, s ) { - this.description = d; - this.whileExpression = e; - this.statements = s; -} - -function DoWhile( object ) { - result = "pass"; - - while ( expression = object.whileExpression ) { - eval( object.statements ); - } - - // verify that the while expression was evaluated - - new TestCase( - SECTION, - "verify that while expression was evaluated (should be "+ - object.whileExpression +")", - "pass", - (object.whileExpression == expression || - ( isNaN(object.whileExpression) && isNaN(expression) ) - ) ? "pass" : "fail" ); - - new TestCase( - SECTION, - object.description, - "pass", - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.binjs deleted file mode 100644 index 6ce68025e4678b7e2799f7e8106c3cedb85e9158..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14459 zcmeHO-EZ4A5Lfp7fnj?Yuty;eL55*yw*q_E+zf5vb^(&KSd8{@pe@Gcsz@G5Ck@a) zdjG+8M~OVjqHW1>45vvSs@j&0yx;xqgLi62PsSx?){_D%;0oa1|-dG(YE=R#E4Hxx3>(`a~%%HBSl=&(plm(o-Yj1CW;RLCPdgPS`n!8ZmWX z1a~i3>ZGMY>AjEP=AhgIPlDNC2BM-jB1DtW=A`yQS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u(*Wjwm%axS-W?99&m1!QkUS&PyndThjGlqa6 z+8{z?q2LbJ@|p{V5p;w)M@*Ed1=I~=%c3G@s;e91jpXc2)i5dRb9(!>Bqo~mKQL7J z(M7BVODsu%bqotW1Fi54r+uaZRdhJhv~qbYsT#dH390%PyiC+OC;bBYU%-6(>?+nH zrpr`Bt{-1AMX4y>Rik{8CUKv~b*lM6Wy2hC>9E}zPz*_dsZz+bTg%31i0`b-haNhi zN!dgs&o&)IQwTs8SMh%)&=HAP3O&&bYK&ljUzYJ0iQc`VJ^Hk`j?Bl8!!mCp)qG4^ z#j8c7Q;28R0expD4EkEKf6>Z6Vc!3Lu=?GK^xrJ%7*$-p_L;GnAg`9MRqd^L?bS!) zhQj4iV(}P9j$wD}u3@EoWhgRNYdgxk!I*rvYOW27?5&#fOVMg^a&P5)^Ew$b&IOIW F{vXQ2+D-rf diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.js deleted file mode 100644 index b47d09a7a0a9..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.js +++ /dev/null @@ -1,87 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: while-003 - * ECMA Section: - * Description: while statement - * - * The while expression evaluates to true, Statement returns abrupt completion. - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "while-003"; -var VERSION = "ECMA_2"; -var TITLE = "while statement"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -DoWhile( new DoWhileObject( - "while expression is true", - true, - "result = \"pass\";" )); - -DoWhile( new DoWhileObject( - "while expression is 1", - 1, - "result = \"pass\";" )); - -DoWhile( new DoWhileObject( - "while expression is new Boolean(false)", - new Boolean(false), - "result = \"pass\";" )); - -DoWhile( new DoWhileObject( - "while expression is new Object()", - new Object(), - "result = \"pass\";" )); - -DoWhile( new DoWhileObject( - "while expression is \"hi\"", - "hi", - "result = \"pass\";" )); -/* - DoWhile( new DoWhileObject( - "while expression has a continue in it", - "true", - "if ( i == void 0 ) i = 0; result=\"pass\"; if ( ++i == 1 ) {continue;} else {break;} result=\"fail\";" - )); -*/ -test(); - -function DoWhileObject( d, e, s ) { - this.description = d; - this.whileExpression = e; - this.statements = s; -} - -function DoWhile( object ) { - result = "fail: statements in while block were not evaluated"; - - while ( expression = object.whileExpression ) { - eval( object.statements ); - break; - } - - // verify that the while expression was evaluated - - new TestCase( - SECTION, - "verify that while expression was evaluated (should be "+ - object.whileExpression +")", - "pass", - (object.whileExpression == expression || - ( isNaN(object.whileExpression) && isNaN(expression) ) - ) ? "pass" : "fail" ); - - new TestCase( - SECTION, - object.description, - "pass", - result ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-004.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-004.binjs deleted file mode 100644 index 4ffac1bc5cf6982c51f81ce3f878f7d42df73bc4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 39751 zcmeHQZFAek5k~s{Hq%bNwlhU$(n;GSbz;X!$HS<#WYzVItYj=X`IrHT6NwrEGyo`B z|GNL6-92D&3*wI8L7+&$@E3?Mxp%v_`|R7{Fv*rzp*WZV;>L#*cuSFJ_^a2>;Z( z1X2qxeI^MXUwdImEez7^;8*ZvE!}5~f}CIkq?|WFq0()7UDEv0y zU{3zMCh~D2sZRld0c)Kg3Nn~r-7_5KUwGkz?+7jekvK?N!Z&@rn21(Ub(nk-WFi6o zB2oVM?NuVu6uCvh;8K>NoJc_#9f4ehPe1#NfdJ7iuTrpD6BvYWYnDKab2YLS?$1ED z$44)p{=ggz5iYL-maGQgi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Statements/while-004.js deleted file mode 100644 index 393e680e518b..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-004.js +++ /dev/null @@ -1,217 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: while-004 - * ECMA Section: - * Description: while statement - * - * Author: christine@netscape.com - * Date: 11 August 1998 - */ -var SECTION = "while-004"; -var VERSION = "ECMA_2"; -var TITLE = "while statement"; -var BUGNUMBER="316725"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -DoWhile_1(); -DoWhile_2(); -DoWhile_3(); -DoWhile_4(); -DoWhile_5(); - -test(); - -/** - * Break out of a while by calling return. - * - * Tests: 12.6.2 step 6. - */ -function dowhile() { - result = "pass"; - - while (true) { - return result; - result = "fail: hit code after return statement"; - break; - } -} - -function DoWhile_1() { - description = "return statement in a while block"; - - result = dowhile(); - - new TestCase( - SECTION, - "DoWhile_1" + description, - "pass", - result ); -} - -/** - * While with a labeled continue statement. Verify that statements - * after the continue statement are not evaluated. - * - * Tests: 12.6.2 step 8. - * - */ -function DoWhile_2() { - var description = "while with a labeled continue statement"; - var result1 = "pass"; - var result2 = "fail: did not execute code after loop, but inside label"; - var i = 0; - var j = 0; - -theloop: - while( i++ < 10 ) { - j++; - continue theloop; - result1 = "failed: hit code after continue statement"; - } - result2 = "pass"; - - new TestCase( - SECTION, - "DoWhile_2: " +description + " - code inside the loop, before the continue should be executed ("+j+")", - true, - j == 10 ); - - new TestCase( - SECTION, - "DoWhile_2: " +description +" - code after labeled continue should not be executed", - "pass", - result1 ); - - new TestCase( - SECTION, - "DoWhile_2: " +description +" - code after loop but inside label should be executed", - "pass", - result2 ); -} - -/** - * While with a labeled break. - * - */ -function DoWhile_3() { - var description = "while with a labeled break statement"; - var result1 = "pass"; - var result2 = "pass"; - var result3 = "fail: did not get to code after label"; - -woohoo: { - while( true ) { - break woohoo; - result1 = "fail: got to code after a break"; - } - result2 = "fail: got to code outside of loop but inside label"; - } - - result3 = "pass"; - - new TestCase( - SECTION, - "DoWhile_3: " +description +" - verify break out of loop", - "pass", - result1 ); - - - new TestCase( - SECTION, - "DoWhile_3: " +description +" - verify break out of label", - "pass", - result2 ); - - new TestCase( - SECTION, - "DoWhile_3: " +description + " - verify correct exit from label", - "pass", - result3 ); -} - - -/** - * Labled while with an unlabeled break - * - */ -function DoWhile_4() { - var description = "labeled while with an unlabeled break"; - var result1 = "pass"; - var result2 = "pass"; - var result3 = "fail: did not evaluate statement after label"; - -woohooboy: { - while( true ) { - break woohooboy; - result1 = "fail: got to code after the break"; - } - result2 = "fail: broke out of while, but not out of label"; - } - result3 = "pass"; - - new TestCase( - SECTION, - "DoWhile_4: " +description +" - verify break out of while loop", - "pass", - result1 ); - - new TestCase( - SECTION, - "DoWhile_4: " +description + " - verify break out of label", - "pass", - result2 ); - - new TestCase( - SECTION, - "DoWhile_4: " +description +" - verify that statements after label are evaluated", - "pass", - result3 ); -} - -/** - * in this case, should behave the same way as - * - * - */ -function DoWhile_5() { - var description = "while with a labeled continue statement"; - var result1 = "pass"; - var result2 = "fail: did not execute code after loop, but inside label"; - var i = 0; - var j = 0; - -theloop: { - j++; - while( i++ < 10 ) { - continue; - result1 = "failed: hit code after continue statement"; - } - result2 = "pass"; - } - - new TestCase( - SECTION, - "DoWhile_5: " +description + " - continue should not execute statements above the loop", - true, - ( j == 1 ) ); - - new TestCase( - SECTION, - "DoWhile_5: " +description +" - code after labeled continue should not be executed", - "pass", - result1 ); - - new TestCase( - SECTION, - "DoWhile_5: " +description +" - code after loop but inside label should be executed", - "pass", - result2 ); -} - diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-001.binjs deleted file mode 100644 index 584c475dd03c38138b661e6734de43de230ee2e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24303 zcmeHPS#R4$5N3L&XC9g#;D}ZV`D7fCqxO*a!O=-S4ad3nrRRBBKN%A*2vgF} z!w)3$vfR(fh{Sp3wOjP+wtnkzmXS0k0VDAwN_u{DLTP*f)B@6v{FDSQ{1K2E`q?8& zxckA6B(*5a@}sZeVk6y08U@N=45YmGVH|j2*73*r1jtKTS)PXR;OHh$I}QTI&1*8~ zo{u|zMzVH`U(n{CDDekBmEQv)E}TimrFi+7@p8#rd<$HhbUUX{U%rsSu2BiNy{Au4 zpLH)|ag_Z{_w|XJ>@8}S${^UEK&s9Dr%k{35x>xF<&B?)elH@-R{T6nVh=rmS}b!1 zKTlHSOeL1c$X{DTK1nI{9{2+oz8A(}E}cPV>mj?~X#kEKo`od!kTmrr;nkcGqotU< z;#ruJ6r7#99C%ntvJ9m~!r4-AZAg4_^`D`RQO%9%t@rp2euuv%{O;ZFFu{)Z9J zoZTFEY`?f8y271leh)Nv_x2AC@7}xr;Eok>Yq|gXeV*LbWIVI_j?>h?m{C57X7X0L zfv7jr2HMB563z3pKv>J{pL}EV{ZagGo{>no5lUqNftACUC%B!-!766>QUY*&Waadr{+;qwW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y@Em^H%nVA*y_0Xk~!j67eoc>vuu6 zibS`3-nX(1?Jk%JEqSRDsq%CD5>t>YI~A!ux^5?&Y{b{F@4be-4)_@SZ2*$KlA;40 zCtur0B?V!4|E-Eia@F!m5yolt&VcM}F^Gxp>{fn~&Y>W{qVl!33Seo|>%`N%7lVMqTRqbKYmEHbK?elcoX5y@0eb1+Xcp?vA0Xb-y(^KAd zdNPi)N4b$**{}U%oZTcK#y`0w(bN>wwy;+z^L}tq`!vT2_3+Ye`xsJdSPbNTmV>A$ z9#b<9m5x2dRT)k%i>a(ybD%dqkD;^a#j|xJ4J!;V@#q>7lo04TH zs;=g4MBflvOs?6ApY;&Qt8WN}_vgh|u~ng?C3BEwNg>iVghHknv9)W}z9F>J4@(YE zSoS30Ew_9Riwz4K{@qVsw5gg0#ExSlMH>{mZwO_RVpYF=-zhx}rB1Z1dIBkR-w-N0 WzA(etidX+p_4KcNLz!!xKmQ->wYJp& diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-002.js deleted file mode 100644 index 21b832501700..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-002.js +++ /dev/null @@ -1,174 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: String/match-002.js - * ECMA Section: 15.6.4.9 - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ - -/* - * String.match( regexp ) - * - * If regexp is not an object of type RegExp, it is replaced with result - * of the expression new RegExp(regexp). Let string denote the result of - * converting the this value to a string. If regexp.global is false, - * return the result obtained by invoking RegExp.prototype.exec (see - * section 15.7.5.3) on regexp with string as parameter. - * - * Otherwise, set the regexp.lastIndex property to 0 and invoke - * RegExp.prototype.exec repeatedly until there is no match. If there is a - * match with an empty string (in other words, if the value of - * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1. - * The value returned is an array with the properties 0 through n-1 - * corresponding to the first element of the result of each matching - * invocation of RegExp.prototype.exec. - * - * Note that the match function is intentionally generic; it does not - * require that its this value be a string object. Therefore, it can be - * transferred to other kinds of objects for use as a method. - * - * This file tests cases in which regexp.global is false. Therefore, - * results should behave as regexp.exec with string passed as a parameter. - * - */ - -var SECTION = "String/match-002.js"; -var VERSION = "ECMA_2"; -var TITLE = "String.prototype.match( regexp )"; - -startTest(); - -// the regexp argument is not a RegExp object -// this is not a string object - -AddRegExpCases( /([\d]{5})([-\ ]?[\d]{4})?$/, - "/([\d]{5})([-\ ]?[\d]{4})?$/", - "Boston, Mass. 02134", - 14, - ["02134", "02134", undefined]); - -AddGlobalRegExpCases( /([\d]{5})([-\ ]?[\d]{4})?$/g, - "/([\d]{5})([-\ ]?[\d]{4})?$/g", - "Boston, Mass. 02134", - ["02134"]); - -// set the value of lastIndex -re = /([\d]{5})([-\ ]?[\d]{4})?$/; -re.lastIndex = 0; - -s = "Boston, MA 02134"; - -AddRegExpCases( re, - "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex =0", - s, - s.lastIndexOf("0"), - ["02134", "02134", undefined]); - - -re.lastIndex = s.length; - -AddRegExpCases( re, - "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + - s.length, - s, - s.lastIndexOf("0"), - ["02134", "02134", undefined] ); - -re.lastIndex = s.lastIndexOf("0"); - -AddRegExpCases( re, - "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + - s.lastIndexOf("0"), - s, - s.lastIndexOf("0"), - ["02134", "02134", undefined]); - -re.lastIndex = s.lastIndexOf("0") + 1; - -AddRegExpCases( re, - "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + - s.lastIndexOf("0") +1, - s, - s.lastIndexOf("0"), - ["02134", "02134", undefined]); - -test(); - -function AddRegExpCases( - regexp, str_regexp, string, index, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(string) == null || matches_array == null ) { - AddTestCase( - string + ".match(" + regexp +")", - matches_array, - string.match(regexp) ); - - return; - } - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").length", - matches_array.length, - string.match(regexp).length ); - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").index", - index, - string.match(regexp).index ); - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").input", - string, - string.match(regexp).input ); - - var limit = matches_array.length > string.match(regexp).length ? - matches_array.length : - string.match(regexp).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - "( " + string + " ).match(" + str_regexp +")[" + matches +"]", - matches_array[matches], - string.match(regexp)[matches] ); - } -} - -function AddGlobalRegExpCases( - regexp, str_regexp, string, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(string) == null || matches_array == null ) { - AddTestCase( - regexp + ".exec(" + string +")", - matches_array, - regexp.exec(string) ); - - return; - } - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").length", - matches_array.length, - string.match(regexp).length ); - - var limit = matches_array.length > string.match(regexp).length ? - matches_array.length : - string.match(regexp).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - "( " + string + " ).match(" + str_regexp +")[" + matches +"]", - matches_array[matches], - string.match(regexp)[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-003.binjs deleted file mode 100644 index 33321618c906b5bfa0f71b3fdde5861ee8d21b04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22319 zcmeHP-EZ4A5Lfs8fdLz~r#<;$4+**^S=&9$Ns+o~5uiznChJRE6pF>zYGuhI=_0|} z|9OAH?kG|`Ta+W(jvJ@Si(*?k^1gm|JRa4S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match-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-003.js deleted file mode 100644 index 24453e621cc9..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-003.js +++ /dev/null @@ -1,132 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: String/match-003.js - * ECMA Section: 15.6.4.9 - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ - -/* - * String.match( regexp ) - * - * If regexp is not an object of type RegExp, it is replaced with result - * of the expression new RegExp(regexp). Let string denote the result of - * converting the this value to a string. If regexp.global is false, - * return the result obtained by invoking RegExp.prototype.exec (see - * section 15.7.5.3) on regexp with string as parameter. - * - * Otherwise, set the regexp.lastIndex property to 0 and invoke - * RegExp.prototype.exec repeatedly until there is no match. If there is a - * match with an empty string (in other words, if the value of - * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1. - * The value returned is an array with the properties 0 through n-1 - * corresponding to the first element of the result of each matching - * invocation of RegExp.prototype.exec. - * - * Note that the match function is intentionally generic; it does not - * require that its this value be a string object. Therefore, it can be - * transferred to other kinds of objects for use as a method. - */ - -var SECTION = "String/match-003.js"; -var VERSION = "ECMA_2"; -var TITLE = "String.prototype.match( regexp )"; - -startTest(); - -// the regexp argument is not a RegExp object -// this is not a string object - - -// [if regexp.global is true] set the regexp.lastIndex property to 0 and -// invoke RegExp.prototype.exec repeatedly until there is no match. If -// there is a match with an empty string (in other words, if the value of -// regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1. -// The value returned is an array with the properties 0 through n-1 -// corresponding to the first element of the result of each matching invocation -// of RegExp.prototype.exec. - - -// set the value of lastIndex -re = /([\d]{5})([-\ ]?[\d]{4})?$/g; - - -s = "Boston, MA 02134"; - -AddGlobalRegExpCases( re, - "re = " + re, - s, - ["02134" ]); - -re.lastIndex = 0; - -AddGlobalRegExpCases( - re, - "re = " + re + "; re.lastIndex = 0 ", - s, - ["02134"]); - - -re.lastIndex = s.length; - -AddGlobalRegExpCases( - re, - "re = " + re + "; re.lastIndex = " + s.length, - s, - ["02134"] ); - -re.lastIndex = s.lastIndexOf("0"); - -AddGlobalRegExpCases( - re, - "re = "+ re +"; re.lastIndex = " + s.lastIndexOf("0"), - s, - ["02134"]); - -re.lastIndex = s.lastIndexOf("0") + 1; - -AddGlobalRegExpCases( - re, - "re = " +re+ "; re.lastIndex = " + (s.lastIndexOf("0") +1), - s, - ["02134"]); - -test(); - -function AddGlobalRegExpCases( - regexp, str_regexp, string, matches_array ) { - - // prevent a runtime error - - if ( string.match(regexp) == null || matches_array == null ) { - AddTestCase( - string + ".match(" + str_regexp +")", - matches_array, - string.match(regexp) ); - - return; - } - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").length", - matches_array.length, - string.match(regexp).length ); - - var limit = matches_array.length > string.match(regexp).length ? - matches_array.length : - string.match(regexp).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - "( " + string + " ).match(" + str_regexp +")[" + matches +"]", - matches_array[matches], - string.match(regexp)[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.binjs deleted file mode 100644 index d462ccfe908371b8c6877895374bfcb6ea98066a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32623 zcmeHQ-EP}96xRO#uFgO{~G%W%&X_2J68HPf!8C$Jvd6L{EK;LQ? zd!D_)9%1KDq)pl>6y?7P7tmnEAuKvq2opQtv&_^O8X{ zW8N@`*&q$xu*6GJKV=g(O%t!b!|(3XNB5J2#VH$RB%XxPg&&@A8t($NAsd8#%!Via z1W1kjCg+31AmszfqYI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Q*4aC|2^`Q529{_`zlkD>C_=x&jH$>dwe zb|M#J>0~++Sa?ELNo{=3OhsDnTqnOYX~*{wq9w+K>5I$(#(F4vc?a@!o7yI zYS$3jsN>LeZ?@OHxdL5UFM;5+*}Vz~f6ZF_K)f(Th%(cwd{{h|!aq<8F diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.js deleted file mode 100644 index 7c17396afa75..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.js +++ /dev/null @@ -1,173 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: String/match-004.js - * ECMA Section: 15.6.4.9 - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ - -/* - * String.match( regexp ) - * - * If regexp is not an object of type RegExp, it is replaced with result - * of the expression new RegExp(regexp). Let string denote the result of - * converting the this value to a string. If regexp.global is false, - * return the result obtained by invoking RegExp.prototype.exec (see - * section 15.7.5.3) on regexp with string as parameter. - * - * Otherwise, set the regexp.lastIndex property to 0 and invoke - * RegExp.prototype.exec repeatedly until there is no match. If there is a - * match with an empty string (in other words, if the value of - * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1. - * The value returned is an array with the properties 0 through n-1 - * corresponding to the first element of the result of each matching - * invocation of RegExp.prototype.exec. - * - * Note that the match function is intentionally generic; it does not - * require that its this value be a string object. Therefore, it can be - * transferred to other kinds of objects for use as a method. - * - * - * The match function should be intentionally generic, and not require - * this to be a string. - * - */ - -var SECTION = "String/match-004.js"; -var VERSION = "ECMA_2"; -var TITLE = "String.prototype.match( regexp )"; - -var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=345818"; - -startTest(); - -// set the value of lastIndex -re = /0./; -s = 10203040506070809000; - -Number.prototype.match = String.prototype.match; - -AddRegExpCases( re, - "re = " + re , - s, - String(s), - 1, - ["02"]); - - -re.lastIndex = 0; -AddRegExpCases( re, - "re = " + re +" [lastIndex is " + re.lastIndex+"]", - s, - String(s), - 1, - ["02"]); -/* - -re.lastIndex = s.length; - -AddRegExpCases( re, -"re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + -s.length, -s, -s.lastIndexOf("0"), -null ); - -re.lastIndex = s.lastIndexOf("0"); - -AddRegExpCases( re, -"re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + -s.lastIndexOf("0"), -s, -s.lastIndexOf("0"), -["02134"]); - -re.lastIndex = s.lastIndexOf("0") + 1; - -AddRegExpCases( re, -"re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + -s.lastIndexOf("0") +1, -s, -0, -null); -*/ -test(); - -function AddRegExpCases( - regexp, str_regexp, string, str_string, index, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(string) == null || matches_array == null ) { - AddTestCase( - string + ".match(" + regexp +")", - matches_array, - string.match(regexp) ); - - return; - } - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").length", - matches_array.length, - string.match(regexp).length ); - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").index", - index, - string.match(regexp).index ); - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").input", - str_string, - string.match(regexp).input ); - - var limit = matches_array.length > string.match(regexp).length ? - matches_array.length : - string.match(regexp).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - "( " + string + " ).match(" + str_regexp +")[" + matches +"]", - matches_array[matches], - string.match(regexp)[matches] ); - } -} - -function AddGlobalRegExpCases( - regexp, str_regexp, string, matches_array ) { - - // prevent a runtime error - - if ( regexp.exec(string) == null || matches_array == null ) { - AddTestCase( - regexp + ".exec(" + string +")", - matches_array, - regexp.exec(string) ); - - return; - } - - AddTestCase( - "( " + string + " ).match(" + str_regexp +").length", - matches_array.length, - string.match(regexp).length ); - - var limit = matches_array.length > string.match(regexp).length ? - matches_array.length : - string.match(regexp).length; - - for ( var matches = 0; matches < limit; matches++ ) { - AddTestCase( - "( " + string + " ).match(" + str_regexp +")[" + matches +"]", - matches_array[matches], - string.match(regexp)[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/shell.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/shell.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-001.binjs deleted file mode 100644 index 92265db66bdad3d3ef9268316e881e0a9f976d07..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24705 zcmeHP-EZ4A5Lfp-Yq6puZ>Y?$bvPvW%sIO>z=XqvR}%jwOw+fZBwOqcCNYqi_zSW?}YN5+0q0 zQ9&)@nHYQvH(TjGCKM!tF^~#A@OTpNY#1)Y637>{GLiClI`|c+9ZV*Ne9n=zMa0E0 z%vjdnQ#bV06(v3o)8ca=q=d7{*ov25a$Y_y6W;?9$D`rNvlmB&tk&~|4(0j@FRXeP33i%^6)HTxv7MLCvkv|APqM6hEOD_ z@udnw%*o$rBA=v^`Wd(b*nPlbE(%|uY(2_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EHD7=~n(LjhbvBrYSsonX-5M!Ze9xw-~1T^~s-Z_G2-4 zzoMju;|e~Fam4WiW*wO@n^2jR)~epd{-Y=ve~`ymnS8w=)3cdomYYhePf+AzEzVHT zmer^^Toq+|Id&vyH?@vLtIVh%tAZWX0c> z<-~|0=hp8!P(D;>!#>+*(i-1p0997hv0YktBcWeNPe7Ij)bibpv-E~h5tLig ztx3_=YJBD3m@N_WE&E|7R{WT$7|4Q-YH string.split(separator).length ) - ? split_array.length : string.split(separator).length; - - for ( var matches = 0; matches < split_array.length; matches++ ) { - AddTestCase( - "( " + string + " ).split(" + str_sep +")[" + matches +"]", - split_array[matches], - string.split( separator )[matches] ); - } -} - -function AddLimitedSplitCases( - string, separator, str_sep, limit, str_limit, split_array ) { - - // verify that the result of split is an object of type Array - - AddTestCase( - "( " + string + " ).split(" + str_sep +", " + str_limit + - " ).constructor == Array", - true, - string.split(separator, limit).constructor == Array ); - - // check the length of the array - - AddTestCase( - "( " + string + " ).split(" + str_sep +", " + str_limit + " ).length", - length, - string.split(separator).length ); - - // check the value of each array item - - for ( var matches = 0; matches < split_array.length; matches++ ) { - AddTestCase( - "( " + string + " ).split(" + str_sep +", " + str_limit + " )[" + matches +"]", - split_array[matches], - string.split( separator )[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.binjs deleted file mode 100644 index fe517b719a391bb558a677bd31a57defbfd072cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 75781 zcmeHQ-HzPIb?!}^cMr#;`A#l1&Gu-8L z_mXU_WcVTS7f4+cYf+r@g&`CBXN3iCxX@K z)iMsZ>EiDfi$${BY{g;~#$uUN2Zsyt<@aiq2b;@PEM^MJhgDGrZ4WgcesfYn_CGMTS-NqtGaJ5JnKz1keL=@$J zgtBEV*|&+&P8v)1c@*3(*#|A0>yJH|ZvQw-ujBMgH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+bCOL%@Q)@o-?R_wDkVJ=p(0X2LBb$@svSPDCDdIO*kxV$x?W7eHSKY*=2RB#WsjxFCi7G z$5#HB$P13MrdxhNaXu2IzSie?3J9o@imgRAOs>Lv5R3lKlQ2p1`z57_SC6wvLX=7n z>2J$z5V?7Z_5Exkg{@6(q)0ZYN)A$A>)HsbbY~3xK$pIA{M^L%Y}7<{BV3YZ8(BX+`5zMV+BH!-WznjM8t+TM-D%B!+OI+h+WV-pr5iCx zDg7AN&KEhIXu~04zL>TFwSg7G4ky4MuwCx%Z-m9ENFJ9Y??v9ROa~O(^mg*Q4rOJx zEfbJ=r9h2I4edeR4i63`5#R3syB9$O7`=v?zBYTVG+px1zG_U&u5C;0p~%Kp{Bj+{ z?-ihKM-=&T4|t01UDWOoM_Q#9CCfdH|*hAB=O?Az2kq zO{{`8GxpYunqaQ2kzfS&D`StXb-H169Ym2~yVU0;d?dsoh;Mh;ByHE{AwjLy%VW*v zHN04=ai%uMHlqGM7>j-vjJ)`x($(3-<=KQtyiON!czb86cdWwpA3d13qlUmC<7hN} zyZOOzj5JI-KunBszSi5DJ<=YPv(A^yBSWTzVH_q=MGcx}abvvgC&rz6MKRbNzuB!< z5GktTNrsR-{iI7bH|`7H6~LfLeC&9et)cIA{K?`CxUtMQ!=!~)m4A;fd;tFpKycRW i5oaVmTER`uhfdKDoYIreu0=M{YwDF>0?jZFuzv$bQ+|~I diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.js deleted file mode 100644 index 8f14e4facbd5..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.js +++ /dev/null @@ -1,270 +0,0 @@ -/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: String/split-002.js - * ECMA Section: 15.6.4.9 - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ - -/* - * Since regular expressions have been part of JavaScript since 1.2, there - * are already tests for regular expressions in the js1_2/regexp folder. - * - * These new tests try to supplement the existing tests, and verify that - * our implementation of RegExp conforms to the ECMA specification, but - * does not try to be as exhaustive as in previous tests. - * - * The [,limit] argument to String.split is new, and not covered in any - * existing tests. - * - * String.split cases are covered in ecma/String/15.5.4.8-*.js. - * String.split where separator is a RegExp are in - * js1_2/regexp/string_split.js - * - */ - -var SECTION = "ecma_2/String/split-002.js"; -var VERSION = "ECMA_2"; -var TITLE = "String.prototype.split( regexp, [,limit] )"; - -startTest(); - -// the separator is not supplied -// separator is undefined -// separator is an empty string - -// AddSplitCases( "splitme", "", "''", ["s", "p", "l", "i", "t", "m", "e"] ); -// AddSplitCases( "splitme", new RegExp(), "new RegExp()", ["s", "p", "l", "i", "t", "m", "e"] ); - -// separator is an empty regexp -// separator is not supplied - -CompareSplit( "hello", "ll" ); - -CompareSplit( "hello", "l" ); -CompareSplit( "hello", "x" ); -CompareSplit( "hello", "h" ); -CompareSplit( "hello", "o" ); -CompareSplit( "hello", "hello" ); -CompareSplit( "hello", undefined ); - -CompareSplit( "hello", ""); -CompareSplit( "hello", "hellothere" ); - -CompareSplit( new String("hello" ) ); - - -Number.prototype.split = String.prototype.split; - -CompareSplit( new Number(100111122133144155), 1 ); -CompareSplitWithLimit(new Number(100111122133144155), 1, 1 ); - -CompareSplitWithLimit(new Number(100111122133144155), 1, 2 ); -CompareSplitWithLimit(new Number(100111122133144155), 1, 0 ); -CompareSplitWithLimit(new Number(100111122133144155), 1, 100 ); -CompareSplitWithLimit(new Number(100111122133144155), 1, void 0 ); -CompareSplitWithLimit(new Number(100111122133144155), 1, Math.pow(2,32)-1 ); -CompareSplitWithLimit(new Number(100111122133144155), 1, "boo" ); -CompareSplitWithLimit(new Number(100111122133144155), 1, -(Math.pow(2,32)-1) ); -CompareSplitWithLimit( "hello", "l", NaN ); -CompareSplitWithLimit( "hello", "l", 0 ); -CompareSplitWithLimit( "hello", "l", 1 ); -CompareSplitWithLimit( "hello", "l", 2 ); -CompareSplitWithLimit( "hello", "l", 3 ); -CompareSplitWithLimit( "hello", "l", 4 ); - - -/* - CompareSplitWithLimit( "hello", "ll", 0 ); - CompareSplitWithLimit( "hello", "ll", 1 ); - CompareSplitWithLimit( "hello", "ll", 2 ); - CompareSplit( "", " " ); - CompareSplit( "" ); -*/ - -// separartor is a regexp -// separator regexp value global setting is set -// string is an empty string -// if separator is an empty string, split each by character - -// this is not a String object - -// limit is not a number -// limit is undefined -// limit is larger than 2^32-1 -// limit is a negative number - -test(); - -function CompareSplit( string, separator ) { - split_1 = string.split( separator ); - split_2 = string_split( string, separator ); - - AddTestCase( - "( " + string +".split(" + separator + ") ).length" , - split_2.length, - split_1.length ); - - var limit = split_1.length > split_2.length ? - split_1.length : split_2.length; - - for ( var split_item = 0; split_item < limit; split_item++ ) { - AddTestCase( - string + ".split(" + separator + ")["+split_item+"]", - split_2[split_item], - split_1[split_item] ); - } -} - -function CompareSplitWithLimit( string, separator, splitlimit ) { - split_1 = string.split( separator, splitlimit ); - split_2 = string_split( string, separator, splitlimit ); - - AddTestCase( - "( " + string +".split(" + separator + ", " + splitlimit+") ).length" , - split_2.length, - split_1.length ); - - var limit = split_1.length > split_2.length ? - split_1.length : split_2.length; - - for ( var split_item = 0; split_item < limit; split_item++ ) { - AddTestCase( - string + ".split(" + separator + ", " + splitlimit+")["+split_item+"]", - split_2[split_item], - split_1[split_item] ); - } -} - -function string_split ( __this, separator, limit ) { - var S = String(__this ); // 1 - - var A = new Array(); // 2 - - if ( limit == undefined ) { // 3 - lim = Math.pow(2, 31 ) -1; - } else { - lim = ToUint32( limit ); - } - - var s = S.length; // 4 - var p = 0; // 5 - - if ( separator == undefined ) { // 8 - A[0] = S; - return A; - } - - if ( separator.constructor == RegExp ) // 6 - R = separator; - else - R = separator.toString(); - - if (lim == 0) return A; // 7 - - if ( separator == undefined ) { // 8 - A[0] = S; - return A; - } - - if (s == 0) { // 9 - z = SplitMatch(R, S, 0); - if (z != false) return A; - A[0] = S; - return A; - } - - var q = p; // 10 -loop: - while (true ) { - - if ( q == s ) break; // 11 - - z = SplitMatch(R, S, q); // 12 - -//print("Returned ", z); - - if (z != false) { // 13 - e = z.endIndex; // 14 - cap = z.captures; // 14 - if (e != p) { // 15 -//print("S = ", S, ", p = ", p, ", q = ", q); - T = S.slice(p, q); // 16 -//print("T = ", T); - A[A.length] = T; // 17 - if (A.length == lim) return A; // 18 - p = e; // 19 - i = 0; // 20 - while (true) { // 25 - if (i == cap.length) { // 21 - q = p; // 10 - continue loop; - } - i = i + 1; // 22 - A[A.length] = cap[i] // 23 - if (A.length == lim) return A; // 24 - } - } - } - - q = q + 1; // 26 - } - - T = S.slice(p, q); - A[A.length] = T; - return A; -} - -function SplitMatch(R, S, q) -{ - if (R.constructor == RegExp) { // 1 - var reResult = R.match(S, q); // 8 - if (reResult == undefined) - return false; - else { - a = new Array(reResult.length - 1); - for (var i = 1; i < reResult.length; i++) - a[a.length] = reResult[i]; - return { endIndex : reResult.index + reResult[0].length, captures : cap }; - } - } - else { - var r = R.length; // 2 - s = S.length; // 3 - if ((q + r) > s) return false; // 4 - for (var i = 0; i < r; i++) { -//print("S.charAt(", q + i, ") = ", S.charAt(q + i), ", R.charAt(", i, ") = ", R.charAt(i)); - if (S.charAt(q + i) != R.charAt(i)) // 5 - return false; - } - cap = new Array(); // 6 - return { endIndex : q + r, captures : cap }; // 7 - } -} - -function ToUint32( n ) { - n = Number( n ); - var sign = ( n < 0 ) ? -1 : 1; - - if ( Math.abs( n ) == 0 - || Math.abs( n ) == Number.POSITIVE_INFINITY - || n != n) { - return 0; - } - n = sign * Math.floor( Math.abs(n) ) - - n = n % Math.pow(2,32); - - if ( n < 0 ){ - n += Math.pow(2,32); - } - - return ( n ); -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-003.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-003.binjs deleted file mode 100644 index 84b20e4a390deb95d5ccea0372c29c5a6a1c5018..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 41618 zcmeHQOK;mo5N7&JTNLP_Xn~$|teeyh+N;}eh;uuu{aHQ-@k&;fr(rxk{2rto1;OKR z8sgAqQJ5e58Ow$T;sZl*#Tj4vsd^s-iOHGf*l8@^7Gt^IL3{~=I6FB$fAsWJ&Gia( zfUA4{==|}?b=(~1{_^DcncdtEI4m_DikBd2Sp3hBzwr~kL80=}PecDAVg*$EJWOH_ ziNFC{u))uhRCB2Yh=urD%fu%smwo|s0Ni_F9OjA(bXX6H4?GHh$Kl(Mr5=jrRFb3? z12H1SM2g2itrWP<8F%twma;6v*`i>e_nfJL2+61`Hk$fxemf|>bdVu2f4z6__x*Q- zn(}7q$~A2y=1yq4f=xMbx`5W&{sOdpa{T1z&2O4>Qn0%2ux1S=M^3w!UVj0-7VzDl zrAeOTA7^Zz1NrAc%Es)&?C#*z-3UF;>%m?p-D@(PN#Dy^1+pc{Bx&hXj{PXoU*&dT z1aC3s`RRCG@4>ZEAm6St4`0FbAtFfgbC%`R*;TBh)VaLU0qfgs-aH$;wwwx|>t~>k z1qWbFR0QgTMNv}KCRNrc`&a90O^b^*<2f6{eX3)rU0FIv>&br&cZ}J;gSxv?;YVre ze*f=TOfq3lUj33ND}WU@8LjJ8Ck0pKE(l8h?96zZm0*X!?W#!{Oh zAX<=1YmQrwnV&=a7JF|ae_V-15&i^LB7lQ8A*K^AjPaN?Cvg9D5FIp2ZBKj@*UuVb ztUg&aOF`zU6^ARd^MqQyjhB{VMP|RHFWwPeiD{fdY?y{4VjmD(3tKn@F#a==zCAq) z5qzzbq%F7k4x%E3xE|AQ3(^1nP{5*5LwkrK^w;A-%0MsCV9R11hx?7fz4vEN++*Cc z9^6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&m6Lvo*!ZBQutX4Wl|^)x`vS$1VOh5!MX)&-;-Ka(Uda__=_Y~ zD%;KoxX~;KKvP^h5X$cN7)!NkZGV+2+g%V!V_ou96q}GDM_uz~>>efu`7e=hyFH%; zXsPMJ&4O*+diQ2bt4f_wC5b&lmq!q#xP~R@9G+=jXw$yN35sqX0xsG%A-42%PMW~HR8&z)_{(~qP zz30bR8ULxSOmbIuf~T{UCn)@D9nMf-wh*cDOcPv%WOL$4t5n+)49wUDl-Rj*1b5mI z9LfW`hGQO=9FiobRzw>zP4Y&Q20O8ZN&#g$Owv2)eD9TZd{U^q_8NNSm{m%ZS1R3l z=m@>n?M8l_OlNcW4aBAskR`U&YTcGPTsmf^62CRS-HtG07t=jR`20%^eB)TB&B`&ek z-GrKuqvEt~BCDwADX?zEl~~~(=y1_y0wT7ny3iOR3D_g=)?8o6A!}RRD9EPPf~N&s zd7&#W+`YO=>wTW98Br!!Sg}TTBcpw4$2;l#?x5Y~TD$QU+oT4!wvvJW2nHVNPf1Ok zE8n~!`*$A7Q`B1l(;_aklG_A$?&X!wCy_aUZEsaIlNeZ&)RZkzwrnN791Z$b1|jH6APA`|S2ZbT+sXl``RqA%7oN0; zn>QvrX{^^<3}{R^-}*WyQ+mfVQCG){KhSr$H0vm$-X>T%TciA{&=yAW8}=ky(*m0K z(bH*I?ZF%fucMfJNA}}wfGq)DI$@`V%hd*#S}sVPQ6-6O*-ftvwlZ!_0f|Y+u4osW zXTV00pR&Nz4oRMO@?aJ|3)%PLPvwRAODsQIC?wHQyerxT-MGZq;#ts string.split(separator).length ) - ? split_array.length : string.split(separator).length; - - for ( var matches = 0; matches < split_array.length; matches++ ) { - AddTestCase( - "( " + string + " ).split(" + str_sep +")[" + matches +"]", - split_array[matches], - string.split( separator )[matches] ); - } -} - -function AddLimitedSplitCases( - string, separator, str_sep, limit, split_array ) { - - // verify that the result of split is an object of type Array - - AddTestCase( - "( " + string + " ).split(" + str_sep +", " + limit + - " ).constructor == Array", - true, - string.split(separator, limit).constructor == Array ); - - // check the length of the array - - AddTestCase( - "( " + string + " ).split(" + str_sep +", " + limit + " ).length", - split_array.length, - string.split(separator, limit).length ); - - // check the value of each array item - - var slimit = (split_array.length > string.split(separator).length ) - ? split_array.length : string.split(separator, limit).length; - - for ( var matches = 0; matches < slimit; matches++ ) { - AddTestCase( - "( " + string + " ).split(" + str_sep +", " + limit + " )[" + matches +"]", - split_array[matches], - string.split( separator, limit )[matches] ); - } -} diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/constructor-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/constructor-001.binjs deleted file mode 100644 index 1c5bd42a9e62456535894f02f4df28a0621faef8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4068 zcmd^CO>fgc5M4eCf&(Yc9N_>doUKT~wNRust?H=PXk!oQf@52|la&5@X4fCPiJcUO zC{^KPWwU-e@6DT;wTFv5fxdSQJnn~)6gjddj4>5uIj~qrh)^s+F@+pq4k;?;^~`S1 zeRZG|NQAh6_?Bc-o`eSDF`>l}C0s&0;&Xz!=IX=%2TPvRXo*nRe@dHMaZels6JSbE z?59X$CX~-}To8PXrBI4=);}V&F!0C2^O4sp*SzwnNiMmp*XiAoPaCbBj(&=r@0PZKB-#8G4^(`OrJ z6t?4-No(2-=`Y|P-36aXgFYqSk-?Zq1=gl>!}?lm7{*jE;=2IJG_>(-RXy80+GfR5 zfgq`` zp>(4nD&lVPIxGF0ln(r}!Q{*TsccK5+l#KRbf~K zs`*%el^zG%b<&54=nUplkQQr9A^{qlZ2E)l5G4}Y5Xr@*Z zs*<#Nx@tZ6fwO)GY9l#EAlzsqcM{GBbPynVIBZUgVsaSqa1UyYC}YsbMw8bQyw1|IhOK#COE6ULYdk`!1dBm^jypqN6AFozfwbGl}= zV{h#%1rj05AihP(gh#%?cuZ&^1QC}I4*8s*uDLojz}}KaC0ZmD_MXz>M%+^i!2}o+ z6#FUSkO}4T6c+?vVkwj&p7mZ3n(w)z!Nt(&=5tOyYLZJX%X!+H^J${B)A7&fh|yql z=9PyW@Nmuj%DeRMiM!6agciiRCjV6yvY&+FWdAs3;-#Lj6LiI;;FAcl1aTBe%=FpD z8JX=kCbBZ^hV*CfkM4p`q(PsM@5o?G!~#px*$fnT9r=EvjdmN1Lp8 zCJ-bQm9e(>E0v&>W~+gzjuub`k|V#RKQ3WLOS{uWOl6$JA5Ts`S2-z8DMur5V;%ex zGS|wXAZ}-_wam{+X3stEkH7q%$~JVlz3BSBwC__C zDITb5si;lc5H63RYO5*#fTjQ#m$Sv@8?mZ=Yxkxu@QTRN4J&a33hV4@&9G3o80~8l$P-&|jHs6x_WwAFg>m(TiRsEOndZq^LH|1Pu5@prbE{2A61dlh)Aj&qRC`kHLl z4@2EoU9K96*bvuW11s;!*3W=3`C+jFj$DhVy(>ccDy4h`WAG((RuH)TTOfocUbF5)v#|as#@*fptIU4`x^7H7 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/function-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/function-001.js deleted file mode 100644 index df45e048d784..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/function-001.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: RegExp/function-001.js - * ECMA Section: 15.7.2.1 - * Description: Based on ECMA 2 Draft 7 February 1999 - * - * Author: christine@netscape.com - * Date: 19 February 1999 - */ -var SECTION = "RegExp/function-001"; -var VERSION = "ECMA_2"; -var TITLE = "RegExp( pattern, flags )"; - -startTest(); - -/* - * for each test case, verify: - * - verify that [[Class]] property is RegExp - * - prototype property should be set to RegExp.prototype - * - source is set to the empty string - * - global property is set to false - * - ignoreCase property is set to false - * - multiline property is set to false - * - lastIndex property is set to 0 - */ - -RegExp.prototype.getClassProperty = Object.prototype.toString; -var re = new RegExp(); - -AddTestCase( - "new RegExp().__proto__", - RegExp.prototype, - re.__proto__ - ); - -test() diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-001.binjs deleted file mode 100644 index b42f9834b68298f90c53f5a475acbf06b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!=@IBoTJpxmYf3DP;hzk^qTB$TGs)$HC}u#9H0 zmF*8TyEjV(u6w-TQ)@ph-+@TX3BA&L9s~a1##slvQHQo(IrXbE zt@NVh-`2UrZmVW3-C0ZbINw$`2R$Hpx#r+Kj@`@j;*0f+&HB=NChCpsTUrQ^^SYWs zpeY2z^yY1FpUp0;H?MK2jAdXWg^QJfrCXyKnzID~9phm@(j^wwtECG!&N|Y6cv5c) zflQuR*%Shz))#_2&Zoj^jR4Uz=&r`uN_j|apz(-D>7>Gnz+W>*#^DJ)=Eykt0nSI( z8v}{TZ_;RFU;m;04}X1wm-XK+$*_sHdu@>E%*i0>HZDR=4CAiK33 zn~A9G*mJJ4=0|o%oDyLj+wSosq{B3gS?GD^Urx(etWgS8PuW1=zWr~Pie{R69{VUk g&MrlHo-dDL=h>I!xDG(O7Bj<)B$hjvby`9H1J+|U7ytkO diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-004-n.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-004-n.js deleted file mode 100644 index 18de1c8da079..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-004-n.js +++ /dev/null @@ -1,88 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: instanceof-001.js - * ECMA Section: 11.8.6 - * Description: - * - * RelationalExpression instanceof Identifier - * - * Author: christine@netscape.com - * Date: 2 September 1998 - */ -var SECTION = "instanceof-004-n"; -var VERSION = "ECMA_2"; -var TITLE = "instanceof" - - startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -function InstanceOf( object_1, object_2, expect ) { - result = object_1 instanceof object_2; - - new TestCase( - SECTION, - "(" + object_1 + ") instanceof " + object_2, - expect, - result ); -} - -function Gen3(value) { - this.value = value; - this.generation = 3; - this.toString = new Function ( "return \"(Gen\"+this.generation+\" instance)\"" ); -} -Gen3.name = 3; -Gen3.__proto__.toString = new Function( "return \"(\"+this.name+\" object)\""); - -function Gen2(value) { - this.value = value; - this.generation = 2; -} -Gen2.name = 2; -Gen2.prototype = new Gen3(); - -function Gen1(value) { - this.value = value; - this.generation = 1; -} -Gen1.name = 1; -Gen1.prototype = new Gen2(); - -function Gen0(value) { - this.value = value; - this.generation = 0; -} -Gen0.name = 0; -Gen0.prototype = new Gen1(); - - -function GenA(value) { - this.value = value; - this.generation = "A"; - this.toString = new Function ( "return \"(instance of Gen\"+this.generation+\")\"" ); - -} -GenA.prototype = new Gen0(); -GenA.name = "A"; - -function GenB(value) { - this.value = value; - this.generation = "B"; - this.toString = new Function ( "return \"(instance of Gen\"+this.generation+\")\"" ); -} -GenB.name = "B" - GenB.prototype = void 0; - -// Identifier is not a function - -DESCRIPTION = "Identifier is not a function"; -EXPECTED = "error"; - -InstanceOf( new Boolean(true), false, "error" ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.binjs deleted file mode 100644 index 4d4cc7f1a7da74edb5ded6403a318dd1c82ef42f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24643 zcmeHPTW{Mo6jpcbHVoJg7%(GG?YgerhP@ftQpfEAq-jul#ohwhW*l{nWKc}n{OkRM zokQ_*WKy;zN4DeWiM~jOJooP$QEZE=>4fdKFIYI*?+tl06~U)L5TwIo%7RhE*-%8+ zEDcf-3UmaWi%rapUUL+KhsHzp=6n+?_!3so z>vsA_Z%!6Y|KRqW?Q@vEf7CzjE}XmuPeH@u;oVOEOvXF=J^Koz+SxyC`NQ}4 z1C2@VLLP;K3Cm(qD54||Fv7}6n1$I;B-{q+f{2%qf3S#r!X@*<7U+im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BS!=@IBoTJpxmYf3DOzBzlB$VB$TGs)$HC}@EFZv zE88Dxc5f~fxbE-+pIZBA*$zZvPUw~1^BC|CH_kfXjXJa?yUSh7d$^VJDcFM9%Bf$S zX(i_^|F+HwyRDjM>CUrskMnJHbI=2lt2GDjaO|$qi!atQHtUz(Gf{73-_k;WoY&P9 z0!<+x@|(B8eKz}Gy?KpGWh?_5DO@ZSEZrK_(3~v@=p6S0l2&-IUM^j@an_Ok{gZlA z2&D4N%BBzywZ0JKaXuARYXpd%Nq05QmdZnF1C2*KN+%_r2>d;BWE`H*V~&iIAK-js zy)lre{5pw7_Vq6sc+0-QH|Kee);1--p=@gVpi7?^^bLseu-ogrJvz;wYU^XG^sB8e zfV#DsR+P5F*10+`?x&X7UyXq=e_5P}Rv4?7(yR*gqGrdtDSOO|-G5HuJmK!4%OmBf zwBQj1GR_n3(yc*uYdKsKvD=a7^k>bF?4dY?#2Po}dqQ1dUxzB!TD}b%g(rL!hgC}Q YR_#SHQ3s4&i`k&SM785s^S##p0k#b?!~g&Q diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.js deleted file mode 100644 index 8f02162cabd9..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.js +++ /dev/null @@ -1,89 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - * File Name: instanceof-001.js - * ECMA Section: 11.8.6 - * Description: - * - * RelationalExpression instanceof Identifier - * - * Author: christine@netscape.com - * Date: 2 September 1998 - */ -var SECTION = "instanceof-005-n"; -var VERSION = "ECMA_2"; -var TITLE = "instanceof" - - startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -function InstanceOf( object_1, object_2, expect ) { - result = object_1 instanceof object_2; - - new TestCase( - SECTION, - "(" + object_1 + ") instanceof " + object_2, - expect, - result ); -} - -function Gen3(value) { - this.value = value; - this.generation = 3; - this.toString = new Function ( "return \"(Gen\"+this.generation+\" instance)\"" ); -} -Gen3.name = 3; -Gen3.__proto__.toString = new Function( "return \"(\"+this.name+\" object)\""); - -function Gen2(value) { - this.value = value; - this.generation = 2; -} -Gen2.name = 2; -Gen2.prototype = new Gen3(); - -function Gen1(value) { - this.value = value; - this.generation = 1; -} -Gen1.name = 1; -Gen1.prototype = new Gen2(); - -function Gen0(value) { - this.value = value; - this.generation = 0; -} -Gen0.name = 0; -Gen0.prototype = new Gen1(); - - -function GenA(value) { - this.value = value; - this.generation = "A"; - this.toString = new Function ( "return \"(instance of Gen\"+this.generation+\")\"" ); - -} -GenA.prototype = new Gen0(); -GenA.name = "A"; - -function GenB(value) { - this.value = value; - this.generation = "B"; - this.toString = new Function ( "return \"(instance of Gen\"+this.generation+\")\"" ); -} -GenB.name = "B" - GenB.prototype = void 0; - - -// Identifier is a function, prototype of Identifier is not an object - -DESCRIPTION = "Identifier is a function, prototype of Identifier is not an object"; -EXPECTED = "error"; - -InstanceOf( new GenB(), GenB, "error" ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-006.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-006.binjs deleted file mode 100644 index 81d53d1bbad4cea7c2a0ebb7bee94afa375a9118..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23991 zcmeHPOK;mo5N7&J3$*CDml{4L4br6TRdDM#N@~Dyf=bQRprp0Th9-sO+KK;le?n)L z`xttclt_t^Eb~N*CTHh8-wc=RiK|)64tf_XoE!|sJerB%^B@SaaXMqcB;sr=qHC4~ znFs~DWQoXv-ZOc1kKTHiWsD0p$w|D9(@_`?B#qC2+Jueckh95YcnP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zyDnz_mOqF+-7Z^oNerJey#bqe*{xclAfF`Gchax)-=lmJrP%;t0h>u5yF8y9C1t7iwdj|Dq# z+s+LopWRuYMu{QWYXbokAg6p&Zk2oMk^Qdj3|KR4aN)j=&cXf+XqOaaQn3kc84Si*&m;=R8KU*vig_y4{-&Y*0Q$ zUCZjLo2TWU2CBV%55v{Xv!?!OE8IV=-@~n(Pr(<=R!;ru%wBrF=ik=ZV7FB_qjhGq zp5WVR(CO(_nt{%HHUuuWbFE#wgN47d(4SChwXUua=o$f0+`Ns?)i?TJy?c#I zRV)J=DO~Ixtgq_5xdso`>y-;P&l-z%jR1bC)O{O+dipxH(qUWD`a4}+Be3MVu(fiY z+CAtAK9yEm1c;tRb)@Sf_3*nqa9OQQYCIA6=hi3V@O=sM$vF83d>vVD3?wGMPNRuU zIMfVv-{7lw-m^k0ujM0!SObqe-_X@^$X?U|Wb4Sx_}!ToX&ST8^Maxj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/browser.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/browser.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/browser.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/browser.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.binjs deleted file mode 100644 index 424ee83702e9286eef42fa94fcc86ab55861d079..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4818 zcmeHLO^?$s5cTp6CnWwrj-WkM;!3Er+l`=7=}NTPD{_))Yse;*?Y8W{XY9nWw{Z%o zw&iP2QKs?pyqP!SaYMOUX3!58K-2yt;cO|%Lqdp1iY1VgaY!UvgCIgu3D=NILBgK? zI&_zw2?1O}T0(rtikM~-jqw1{Qb;n&Asy3egj!H>p@E|{&1$ra3E6*yAA4~x90cuP zj!@(q%TvO{fG*_<;cF}*Im_q$r-(L*2Gil?IP6unuzD(zYszaouC4g^XzjKAW87jo zoQ|S;lOt}fxL-w|C%=jN32q;E;N8>dw@D~p5hN^s3AN$5GPwDZmNZ)oe@lOL*nx`UGPd z4L+THdHa7x*3;4MB(AS8t}MqRCQqQ41$gvuRknKt+1AFy99g5VFax(ezAk&C_+*ZujT$e2F|a96Q!W94mlN zi%~Ieq1))W*gGk|vF!9|Zxlf?m`TFfd|?}J)#4P;solg4)d3(orQJJ+_;T90At};< zC2cUx(+xr=k9QQh!QMJSjM?4tuRlptc%3Q6$8iiBN2_Y~xcj!D^mASm8PL3$>z_7_ ztwgyAvYvP9A;;kS3^}VVIiLbsNH;DEog{v^qC7>{@oEvo!TTVGO;Dxo^_zESa*nyy zl)5RZT0-@$O;~gAJE?~}cm2M-?*)>uzS<19*q!423$@eU=P%iSCxzFXONHSAx}%FBSJ%$Ef*kiR#|b7C;lo!%6)pqp@n{a=)qgHuE1? C_c`bQ diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.js deleted file mode 100644 index 9bdc7bfe3f8b..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: instanceof-1.js - ECMA Section: - Description: instanceof operator - - Author: christine@netscape.com - Date: 12 november 1997 -*/ -var SECTION = ""; -var VERSION = "ECMA_2"; -var TITLE = "instanceof operator"; - -startTest(); -writeHeaderToLog( SECTION + " "+ TITLE); - -var b = new Boolean(); - -new TestCase( SECTION, - "var b = new Boolean(); b instanceof Boolean", - true, - b instanceof Boolean ); - -new TestCase( SECTION, - "b instanceof Object", - true, - b instanceof Object ); - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-002.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-002.binjs deleted file mode 100644 index 22b3636a43c760dec08d0ae5c4659739ac3bdb45..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7059 zcmeHMTW`}a6!y4-ct9`-@s>x>9wzZhsMK{8R4SW9tGyyOIc*JDQrYgt{yoQz9eYhu zNVj$u`V_@YKA-QL?_8XQaz0C-6;6T1twF@uOp=F$5D{fFATi?*Np=Q;2uUTJLMjCb z_x01E|7u$Z;1c2-;!Bc^Xfn_k4-hSeD4`tUBYKKZQz{NMaQBQR1zN&{Y(2tZ^ z?A6}xRh{P%E&&kAC-eHw=aSreyDr_IBT?+6Tn<6VGP_dMv);8=-(a`h?c@0hd7g7D zSzmFk06xt6*`$VUspw+yr2N9M)9oIo5w0pZNnk7qXOpR`yr#w}pgp&V@2WLGHVS*? zAW{|6#uZ7C4jgHVX|KK$8dr2W#G#$?t!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qar^mC~tV8M`6rdM|`sywJMsq#SSmgAuh` z5U-a=cG#=LtIoZS;TS2$$C7s_l?#8ZR~~@MOThRbRLlK}W@?lBTYuu(q8hvIpMVCP z8YUg--MwOTbPH{7)FMzHLWS<#E7v%3$Pv8ZB=|eKN5^KWZ~@htvH#`C|F=YNk}h@v i`&i{^pR(7{zH|+jNgL-bZPddnV0e9Jce~)KBk&Kw^PVLD diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-003.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-003.js deleted file mode 100644 index 1021914e9577..000000000000 --- a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-003.js +++ /dev/null @@ -1,65 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -/** - File Name: instanceof-003.js - ECMA Section: - Description: http://bugzilla.mozilla.org/show_bug.cgi?id=7635 - - js> function Foo() {} - js> theproto = {}; - [object Object] - js> Foo.prototype = theproto - [object Object] - js> theproto instanceof Foo - true - - I think this should be 'false' - - - Author: christine@netscape.com - Date: 12 november 1997 - - Modified to conform to ECMA3 - https://bugzilla.mozilla.org/show_bug.cgi?id=281606 -*/ -var SECTION = "instanceof-003"; -var VERSION = "ECMA_2"; -var TITLE = "instanceof operator"; -var BUGNUMBER ="7635"; - -startTest(); - -function Foo() {}; -theproto = {}; -Foo.prototype = theproto; - -AddTestCase( - "function Foo() = {}; theproto = {}; Foo.prototype = theproto; " + - "theproto instanceof Foo", - false, - theproto instanceof Foo ); - - -var o = {}; - -// https://bugzilla.mozilla.org/show_bug.cgi?id=281606 -try -{ - AddTestCase( - "o = {}; o instanceof o", - "error", - o instanceof o ); -} -catch(e) -{ - AddTestCase( - "o = {}; o instanceof o", - "error", - "error" ); -} - -test(); diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/regress-7635.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/regress-7635.binjs deleted file mode 100644 index f4b4ede3828200129eddd60dc7e7b6ff518c1dc3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6372 zcmeHL+invv5HoEfL1=S2?dohi_4eUM64XmX7ZqEb-+$(V#xvm;PMX{uocTr1L9 zvtM`Or5j3t)R2`B+qoFgd|)xIB3cG%P9?`Fx8`lo+G@+Qd%-TS-*p5-FMsj@AkU=!_HbY+o?w5<`I>C9#>Z$)j4)5 z1I!j%LijDtaqC;S^`PGy?i}o2#P&CE`{B-Tw|^0v8{gme4+j_I`xV@N+`{iQOZ`B< z@)1Eg<(rP3xNjz6X1=GA(NPX1GpS~R6O(KQzQtyB%MW%k)Cx9cAc=vt>FR`|GNhKGbvd}pG)UAFo7Mdqfjry!!EaNvHlk*&@9OA+0rByf($2i7{eMx^__y^Rmg0?8e)A1`raYqZU| z{abN;fN?#9NyY9&gVM=Z$fP@;d}Vn~lZUTfK7a9V#=N1FpGn-WW86<2*&s&)*CAP5 zf*?~)_F{7MXr70qR#{V=0w7dQ=FNRpkkx2)lfaswp$JMnL@F)wW~t7&Xu2^rxKAe_ zx8@w%LBZpaW7L4D4Ry>@9Jhg^RAbpG6+Z_)(bKq(Oa<3*7x`1w`St3t)LT_nqdBB3 zY4%rDLSt8)7YA|=^i*U$XOc;5riRm~qb#VzMia|V+05EUMMfe!E+@<{SA7=ir|XE{ zE+QDSElOQ4%+!F*upjqpcCjgT@JmjSE47ttOUN0`J%qC4!U{T51f``JZlU^{*!hhe zAKVxR)47TD@)Z4kxl2hz?@T*h`aElue`q$FaFb_I9+~dR^*1Z>H>@9G!h#NY+1T#f zMsz)eLJA$-2bF#3qsuE;Qx;JB{9D;C2GloOPdfvN)!u;&^uvl&bGU^W8zbMP!f zg>~Aw>62=Kl_AQ(i^h02352_Z8FjRWp^pn#R>zp+t@b_noZXSQG2SLP)#_+aGpRfd zi|zf`kj3h74r5Iun@mIIujrCvlg`ldQ^PhMq>G^&;~hdcTE+5Q>he8g-bR+0s@$Wh zhI=-#joS;(UZc>E;!_WgC@L@0SyOe=BIaewx zyF%nZc{qmU+ZyUvbzwJb_lU}5jH1HfbK)ZX_{nRWi!@~g6E2OS`~vG+)!POaxj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/shell.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/shell.binjs deleted file mode 100644 index d5fab4bbe996b98b3725c77235af07d01dd154a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmZY2(F(#a3axj1IL+=z$X=I_&s8LA^~#9f!C=-7=@(-NXeMS95Gs7dVF;oB;D VXqwGK>$YGUdDtKPZul?Qn;**ELY@Es diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/shell.js b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/shell.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/template.binjs b/js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/template.binjs deleted file mode 100644 index 504ad1e2b2c967c9932e7a4f2d6f6614cc23044b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2538 zcmd^>TWi8F6vwkW`!vFyOF?T9K^@rY>xk`{hQ+odr?QW~lk_@l8OoSrdn!3ie&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)D* iG=>uO`N6!_s<-L3iql#X|E$|8gBN!@C2y`f-TnY(;)FW@ diff --git a/js/src/jsapi-tests/binast/parser/unit/toplevel_var.js b/js/src/jsapi-tests/binast/parser/unit/toplevel_var.js deleted file mode 100644 index 70edc1bec578..000000000000 --- a/js/src/jsapi-tests/binast/parser/unit/toplevel_var.js +++ /dev/null @@ -1 +0,0 @@ -var a, b, c; diff --git a/js/src/jsapi-tests/binast/parser/unit/var_in_fun.binjs b/js/src/jsapi-tests/binast/parser/unit/var_in_fun.binjs deleted file mode 100644 index c9861f5be829706cc619ec642609f68a299a8b64..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1445 zcmc&!TW;Gh5Zv^29bZ6jktS{sAWaLn=szuPtwktG;8I3&>mH#?ilpg80t)n_{*g#8 zhdVnnYWy@B+%_F5z1_EtMh|ZRfZJh2(B!c7bV3I9%43h#Gc=o6-PA{~nbCRFGsK-4 z4$AB!#v4J?*c#omUcz05!pc!Jny^`WZ+}jEvHfRM3p2%t-zEPu}1ioOg zcVv&-cY@}TeX~g$O?n1~C*{h%986?3v5oV3UWTsbf12escj}1l^JHaMgPnU-;T1l} zQQ~WUwyiwx(4td*a1h%!Xpg?Dr`!(K*E4=GjZeZ?h}~R=iyaKg&nDb!P@zOXw2sv{^0uar(-3DE9rU(FZl`RhdB*Emd>)( z!~grZEQ}_rS_3|aPnkfs4#bWe*DYY>VQIFymxx<}}cB5B5vkN{oO8;LUc zIPWvl_;Jv%ZaR=^y=xr~UVIcnP-_Pe3LUf_k3fRF^w5LxB$`#+-PA`fiNJYK6U0{A zz0|vi@qy74v|2h)cd}=wPSSM*-W;VaXd20{FL?7T?sbI_3p5NR9?>X)bR`ErGJL@z z@6a69pBT*p`DT?qH0c=_9;GYa`CuZmie;SE(=t>w{nN~sxseBOH=|*(teI++;Z=O$ zqez$ZY+8P9!GM$AIuXm)U=F^kRc@{EwZ>;^d}F>$?7QMU_<-O<5G-P4Qx>TwhEd^H ztZFMWji2rZ_|B@UT+`>sWx{z-!hr}9~(L(P-Bn(+|jS* z46{SI*HHIvAQ~skG`>RLo`&DTBw0w|IXq8*fWDvlS)jpF3TpA+@BNH4+0`2GmSg9n pz8iaR*lwN%4j_d=6%^rdJVFiyule`q>nTJDCxt1apD$;3{RLeX87Ke% diff --git a/js/src/jsapi-tests/binast/parser/unit/var_in_fun_plus_arg.js b/js/src/jsapi-tests/binast/parser/unit/var_in_fun_plus_arg.js deleted file mode 100644 index 53bd13a73c68..000000000000 --- a/js/src/jsapi-tests/binast/parser/unit/var_in_fun_plus_arg.js +++ /dev/null @@ -1,3 +0,0 @@ -function test(arg) { - var limit = 1; -} diff --git a/js/src/jsapi-tests/binast/tokenizer/tester/test-empty-list.binjs b/js/src/jsapi-tests/binast/tokenizer/tester/test-empty-list.binjs deleted file mode 100644 index 2db84014e809acf06937bf4a5bdee0c98401d40d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17 TcmcD?$t*6hV*mmheJ~RMDF+0c diff --git a/js/src/jsapi-tests/binast/tokenizer/tester/test-empty-untagged-tuple.binjs b/js/src/jsapi-tests/binast/tokenizer/tester/test-empty-untagged-tuple.binjs deleted file mode 100644 index a4386f1d20cd..000000000000 --- a/js/src/jsapi-tests/binast/tokenizer/tester/test-empty-untagged-tuple.binjs +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/js/src/jsapi-tests/binast/tokenizer/tester/test-nested-lists.binjs b/js/src/jsapi-tests/binast/tokenizer/tester/test-nested-lists.binjs deleted file mode 100644 index be6c3a93b19f0568c7d1a4201866364f591f4571..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82 zcmcD?$t*6hV`N}pumQ7}K&;}DqRhN>J7yp|EkEBzAIe7-Pf9F8i0gy3+CV4(up$^+ diff --git a/js/src/jsapi-tests/binast/tokenizer/tester/test-simple-string.binjs b/js/src/jsapi-tests/binast/tokenizer/tester/test-simple-string.binjs deleted file mode 100644 index 4dd9869685ebb23c52fa3f61a299fb94df82428b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34 fcmcC1E-A{)OSj`?U|=ZD%q_@CRe*@t=tE@y!tV>9 diff --git a/js/src/jsapi-tests/binast/tokenizer/tester/test-simple-tagged-tuple.binjs b/js/src/jsapi-tests/binast/tokenizer/tester/test-simple-tagged-tuple.binjs deleted file mode 100644 index 5b87fcf5548478cbfc1a9651087f881a6b0f1f83..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 94 zcmcC1DJ{rJwX?}cO-!+K%FIj2%uDx7NzE(COv_9yVqjumV8}^KO3h&?OUx-vWw6l) jE3_#tDFQ0AV+Km6<>%YzL;3ka%?C~?ayr=PLyQFg(T^W2 diff --git a/js/src/jsapi-tests/binast/tokenizer/tester/test-string-with-escapes.binjs b/js/src/jsapi-tests/binast/tokenizer/tester/test-string-with-escapes.binjs deleted file mode 100644 index b895cf16b7e053f6e50dff48f37d62b6f9d30126..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 44 pcmcC1E-A{)OScneU|@hS70NS9G89salM@S4ixn6c8Eo{SY5+ZI4gmlF diff --git a/js/src/jsapi-tests/binast/tokenizer/tester/test-trivial-list.binjs b/js/src/jsapi-tests/binast/tokenizer/tester/test-trivial-list.binjs deleted file mode 100644 index 7394b826cd558a47c7ea6f5bd62146a7c028fa12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 scmcD?$t*6hV`5-nuqiGn%FIi*V+OL*^7C!