Bug 1439855 - Tests for BinAST multipart tokenizer (data);r=arai
☠☠ backed out by ac148c181d2b ☠ ☠
authorDavid Teller <dteller@mozilla.com>
Thu, 05 Apr 2018 12:16:30 +0200
changeset 467567 a9b425f0d0f74fa0a0049a2943ff00e25e715316
parent 467566 0906a6c242383ea194e29e50ab92f88a2dd7715a
child 467568 7112c12e331f680ecda86cebb38f98847918fd0b
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1439855
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1439855 - Tests for BinAST multipart tokenizer (data);r=arai MozReview-Commit-ID: KlzxtGmCYVD
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/boolean-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/boolean-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/boolean-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/boolean-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-005.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-005.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-006.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-006.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-007.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-007.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-008.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-008.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-009.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-009.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-010-n.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-010-n.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-011-n.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-011-n.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-005.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-005.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-006.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-006.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-007.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-007.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-008.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-008.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-009.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-009.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-010.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-010.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-011.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-011.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-012.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-012.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-013.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-013.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-014.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-014.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-015.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-015.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-016.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-016.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-017.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-017.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-019.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-019.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/function-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/function-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/global-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/global-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/global-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/global-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-005.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-005.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-006.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-006.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-007.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-007.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-008.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-008.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-009.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-009.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-011.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-011.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-012.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-012.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-013.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-013.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-014.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-014.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-015.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-015.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-016.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-016.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-017.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-017.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-018.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-018.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-019.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-019.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-020.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-020.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-021.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-021.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-023.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-023.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-024.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-024.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-025.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-025.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-026.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-026.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-027.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-027.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-028.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-028.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-029.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-029.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-030.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-030.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-031.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-031.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-032.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-032.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-033.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-033.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-034.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-034.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-035.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-035.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-036.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-036.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-037.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-037.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-038.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-038.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-039.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-039.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-040.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-040.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-041.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-041.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-042.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-042.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-047.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-047.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-048.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-048.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-049.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-049.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-050.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-050.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-051.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-051.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-052.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-052.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-053.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-053.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-054.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-054.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/number-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/number-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/number-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/number-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/number-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/number-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-005.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-005.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-006.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-006.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-007.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-007.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-008.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-008.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-009.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/statement-009.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/string-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/string-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/string-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/string-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Expressions/StrictEquality-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Expressions/StrictEquality-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Expressions/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Expressions/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Expressions/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Expressions/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/apply-001-n.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/apply-001-n.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/call-1.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/call-1.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/FunctionObjects/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/keywords-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/keywords-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/regexp-literals-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/regexp-literals-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/LexicalConventions/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/constructor-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/constructor-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/exec-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/exec-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/hex-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/hex-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/multiline-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/multiline-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/octal-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/octal-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/octal-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/octal-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/octal-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/octal-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/properties-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/properties-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/properties-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/properties-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/regress-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/regress-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/unicode-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/RegExp/unicode-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-005.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-005.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-006.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-006.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-007.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/dowhile-007.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/forin-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/forin-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/forin-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/forin-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/if-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/if-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/label-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/label-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/label-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/label-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/label-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/label-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/switch-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-005.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-005.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-006.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-006.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-007.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-007.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-008.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-008.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-009.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-009.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-010.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-010.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-012.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/try-012.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Statements/while-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-004.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/match-004.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/split-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/split-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/split-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/split-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/split-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/String/split-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/constructor-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/constructor-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/function-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/function-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-003-n.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-003-n.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-004-n.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-004-n.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-005-n.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-005-n.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-006.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/instanceof-006.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/extensions/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/browser.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/browser.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/instanceof-001.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/instanceof-001.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/instanceof-002.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/instanceof-002.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/instanceof-003.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/instanceof-003.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/regress-7635.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/regress-7635.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/instanceof/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/shell.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/shell.js
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/template.binjs
js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/template.js
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/boolean-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/date-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-005.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-006.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-007.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-008.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-009.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-010-n.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/exception-011-n.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-005.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-006.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-007.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-008.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-009.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-010.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-011.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-012.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-013.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-014.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-015.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-016.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-017.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/expression-019.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/function-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/global-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-005.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-006.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-007.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-008.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-009.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-011.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-012.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-013.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-014.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-015.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-016.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-017.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-018.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-019.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-020.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-021.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-023.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-024.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-025.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-026.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-027.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-028.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-029.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-030.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-031.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-032.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-033.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-034.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-035.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-036.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-037.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-038.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-039.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-040.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-041.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-042.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-047.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-048.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-049.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-050.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-051.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-052.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-053.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/lexical-054.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/number-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-005.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-006.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-007.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-008.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/statement-009.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Exceptions/string-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/StrictEquality-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Expressions/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/apply-001-n.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/call-1.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/FunctionObjects/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/keywords-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/regexp-literals-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/LexicalConventions/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/constructor-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/exec-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/hex-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/multiline-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/octal-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/properties-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regexp-enumerate-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/regress-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/RegExp/unicode-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-005.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-006.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/dowhile-007.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/forin-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/if-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/label-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/switch-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-005.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-006.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-007.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-008.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-009.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-010.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/try-012.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/Statements/while-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/match-004.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/String/split-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/constructor-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/function-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-003-n.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-004-n.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-005-n.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/instanceof-006.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/extensions/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/browser.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-001.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-002.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/instanceof-003.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/regress-7635.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/instanceof/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/shell.binjs
js/src/jsapi-tests/binast/parser/tester/spidermonkey/ecma_2/template.binjs
js/src/jsapi-tests/binast/tokenizer/tester/test-empty-list.binjs
js/src/jsapi-tests/binast/tokenizer/tester/test-nested-lists.binjs
js/src/jsapi-tests/binast/tokenizer/tester/test-trivial-list.binjs
js/src/jsapi-tests/testBinASTReader.cpp
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..cca4e5aea6d759be30eea9082dfed1f2d7a09aa9
GIT binary patch
literal 866
zc${@n@oU;Z6h4j+LI@!Q5fLdj5wTk*cF2(JCv{n8(R7%szsQg?d9~@%T)13k{X_Qu
z?h>6>3L|ju-h1EszVBWpGygh3tE=UBu^2CZCNX3p5&O@7v~F)!C3gvM?>XmC6bZ}v
z^F#orX&`u#ZB@Oiu7RKe9_46zl4P+&DW1+P<q6%S@CBljaw-__zAi}yA_pnoE6UcC
zrm0FVN{J*|z~knnx87KWZB|OFqB%)f^lPYEA>~^T$`fk(uv7TaOYYZGRuJ(d7ev;9
z3y7unAYwVxr&L7u)093H&<^>&N>6)O1>th$Uj=HrYweT%n{xaP7cM+Uke9D^1Uqci
z4!mhNyYVe)=_wUvI1A^V8{VuBJoc@(3}hRF{hdl9@tf9$u@q?belWP~KNL;~g_zO;
z?4G#iup`!2nxqgneI^JclLOc~h>;zafAkyB7<kC$Y?~h*UAB(Me$JU-VxL3*pG6{=
zWIEp2<^du>>?0hXcYQ`q&mz(T+hvB3rrZ+~Cgyc;xgNTOpj?!ONB>vrov*^B=c)bu
zz-I*6rtP@8r6GjsCc=hp;zku+JglOPN1Ba3B6)PMB|l{14|1&R>G-0G7Cx(@<2a}{
zFgmq{UgcU7wJ|1|+d`Uw9L;vh*w$;chNii73)khT%WBO)65BM8X;m7yi(5#?Z*d)2
IQn-))0=#_%Z2$lO
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/boolean-001.js
@@ -0,0 +1,47 @@
+/* -*- 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.2-4-n.js
+
+   The toString 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:               june 27, 1997
+*/
+var SECTION = "boolean-001.js";
+var VERSION = "JS1_4";
+var TITLE   = "Boolean.prototype.toString()";
+startTest();
+writeHeaderToLog( SECTION +" "+ TITLE );
+
+var exception = "No exception thrown";
+var result = "Failed";
+
+var TO_STRING = Boolean.prototype.toString;
+
+try {
+  var s = new String("Not a Boolean");
+  s.toString = TO_STRING;
+  s.toString();
+} catch ( e ) {
+  result = "Passed!";
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "Assigning Boolean.prototype.toString to a String object "+
+  "(threw " +exception +")",
+  "Passed!",
+  result );
+
+test();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bdf23cbd17ece012086c564cd4b626bfe0bdd4ec
GIT binary patch
literal 880
zc${@o@oU;Z7(I><LI@!Q5fLdj5wTk*u1G1{7^sV#MdL83zm!qV<f~1W=ECKymHi$2
ze|L#uN?`=<aqr#tzIWecIB~B%bbGZJ%w~hduPB5>L}K^luhQ;Jip_ll+<8ekWLd<L
z?lcm>Y3vCeCF_!J4x=QLOj*+|MNd!xPf}<vDUawXhVKx>lv5$a)?1G8#)!soSx%%k
z<-3wN%MGJo22ZQk**XIW>m+YflBi#@KILl=Wkh`#v*35#g>8BM^0oKd(&~tc;9(Tg
zO$J1Yzy*XdzZb9+nm*qZ`tiDk7w{+*x1PV4xK~~|-9O4V^_g<~0cSS61d!%~Fl2&F
zEKJWC`IEV;`xAfan9nrc!2BMA`IE|q;X8BbEIg@O%fa-<xtoveOi(U-$V9TwE1!W3
z8H<4?-IO!I#4d&I!H5V(DA_+BVXH?71i`2F@myoIul(5Sop&EIvm+ijY>6?ZQ4FD#
zw;9n4%tHfBNP=v+{40I{4T1Y?%GSo-U%&P~-Ssd2o27GFcbSlJ4kr#*>Wwk61lxPG
zT}F;0A~FoyCb#~=ams1l;1)rqZd5C(rXYl>8p67wV^UxR_X;%dxoV&qlFJ!3<%e{9
ziHt&1@z(-1+$ykYS*UYjHfz!`-z#<0#kjB94WyXpLN%-$PZX<GQB=FCVOy>_Ykfv)
Y9kn&2n?(;?$4#W-2DXtV8^1^Y0L^p>tN;K2
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/boolean-002.js
@@ -0,0 +1,51 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a556e64bebd2a4df3c9d70859d834f511dc05241
GIT binary patch
literal 74
zc${<c^z#a4h;|Qh^!0TNip@+(%`3?)sk9biVc-c)F3Kz@i4G14^7L~LM#wQSM27^q
Mx*`NPm>3us0AxoNk^lez
new file mode 100644
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4ce734b919c2a34a3c4cb74e28ca7d9def22f31c
GIT binary patch
literal 1011
zc${5R@oSqv6n-2cA|fIogc5>;5|S<pu7pw6?S~|_T}qRcD1}kRxawPS%&44~rulRB
zpYAkm3{|+N-}}Dry?dwQ>HOA*$D74yHXAK|u?Q2v#P0H+I_yr%mp=@-_mXkUbCxE9
zJ0_6R*cY57%L;FgSrSR4(sZh%FQ~w^Oq@PY&gfH&R~W{WQ<3t{dr0z|6B@^rygQO%
znG^;U=*WVU?<$~QRAJ!^*H6a{!?02ZlrK?KEjEJ{%PZ=|vBP_nK91Ay@5vmuM?GAp
zd`;tf+4dUcSaR2+OXSy^BrLXZw4-*wcM~eY)nOEUSpd1f=%Dt)G{btyn#6RIqv3~~
zWuo!sH%_CS^CpvHD+TWBfy_5+<SeY3Yb{W0cs2V+KUhrXH-2@-J>{$VOgZ^rNXaG^
z`ZJ9;X!_nHnEsgC_!44P)HU!W!%&zxih!-rnEkvO1)d&EgFDZd?XF}2^TAvAQbdsS
z^jrVa?_p=2ItK?wta!Rj+=4pDcq&q{%W&{&*zMi#EuC*pf?H>A+3j6Ad-%X}ds>mP
zoUZhfL`$Um@6g$DIfd^?BjiDPmoBXUb1|VgT9Fidblr1JNQ5|cE+`j8);{!MTvHZf
zWZY9Z+vqV^c;3;EK+XoFW?GtE*9`>#8afb7(a4~Tb<!-OO&ryLA;{&7Sn>vqoP%BF
z6mn5UowUkmkT0jrno>SnEvSKN))m7B%OozmUR|XjDMbPdx#}|A=z`jUz6P3ARv>NC
o0iB$H0g5c^LK~n%RDhaNbBLnW`k<=jNkiQS)3)LCvw7b554PqnCjbBd
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-002.js
@@ -0,0 +1,54 @@
+/* -*- 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;
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4293a3fe97b0744276fe3a22a620e228c73c553e
GIT binary patch
literal 1019
zc${5Q-)oyt6uw+UL_|bF2qA<^D8Y1Duw58s-5#3Mb}3C#qV%O~<5o{oH=}aBX_`N0
zkNYoowM}lR59fH!_nq(j(9vXe<)gdH#o2Uvw)hc8kn)&sPyebzXHo?ZF);5rXHXPz
zmJY6C4vZ!~XK}ie`OYX#Bax9cT?zV}a##uA;FhwO-Y0MlVL}<@8SB1J3BGeC%9d$a
zAw`JjK-pF%T4S0dGDQ8dO&m^Pb^mtap%e=!TLPCOwt~mFkj&-`HZsyjNf!P&c`N!}
zsS~j6nDX#(zhGZbfN_X!#40Ngr}D!r2iK!ZU>EB&EZ2Lpso{q#&Ut$Qe9h#Y+}A75
z)+=CfD2J+7?ZydR7tq-0jk0J<c8$e3tCr*<V=J2M=P2&{U@@6p`tlneDPPqm$_$~s
zPB{LcKhb0jHav%rSHr<`4k0&vZyZeKGqZx{57u-$zyB=&J(vX7o;n|0VbIRS=;p1r
z@C8%9@{fKEe+qznBPndiuEMFJlIpm<-YF4`!K<p%>zDaK&N80yZ4Ns?<4|xb64*!A
z{bcWP<ATNsL>A9p{zZ#8{E-QH<A#b`M0UX`<3U+mnlUW^_qwx;?Dr#rpKVf1$cBk~
ze+L=?3$p8Mc^51^Paf(Y?z-4AYlhv_bc_&c=m=|yfe$L*#I4HPn5Y(VkuYDdshA2f
z@CmXj3}dJA8va~)9S=y$R;u?}6Ir;48u$>sKB`g2Rt?om)K}_)R>nvdRukF!AyS*@
xSVKnH!&Gn^_mPH&NQjBn9dv+D2dfC#igk<?)gB;KHQEjJ#hJAlYIIGf@gL8_F<Jls
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-003.js
@@ -0,0 +1,56 @@
+/* -*- 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;
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7c02a0c188cec4672e5c67199965d995d46d658e
GIT binary patch
literal 956
zc${5QVQbqk5Iux2#u#Hv2%&@`vJ%`b3)u*xtlNhqb-R=%EwL$#GKOm3QZvUkveGoa
zVSjqEv&N+ubh>xC_nuB3Pv=)Y++Qw6v)O3zGmbEovD}{BXajdzCBI`7-g7RnDB>*b
zjN>$l(`8-jU&j&!Pkbp9UZ3pNTVHaCE7j1w<09q{37%t^aKWW29=*jf!ITIW+nS&~
z;Ym`b?ns4YS~Auk^h%jHoZ;%>wc}xZIN)N5vbNq19^;}udHR~*ZI>}lvhdHr95;1?
z>4zfDCA-MPiYK?q{0h}9ih;+MC@$7%SYGheU0W~MIE%JSNuZDzsR8(5mSgV)*fUjd
zbHZi#I7#@rz)m2xRk|PPy&o*5^Gm;ex_9)e_QVBwZz`MXL>f;#S)=89lVEx?H}N^g
zP&)V=VqRJ?XWMhdWzK$_j{?t9R}JD78o@NU_N+T^;j1QsY$Mb&e@7mn2(s&JX$M%y
z2`|u&RQHF$U})ZQ<v((Ak;zPMbF^i)`zhu-ZuX6(xM4dz_xOzM;QoI}_t?1dKmHna
z=Na3(WAagCo0J^e%vD>}u1h8C6p{;BTIiKz{k`T3nR&tE1S7qy5_TUfJg=V6U&35s
zS+?G2ng#`cmJY-qIz6mnle$%G(4l6*Cs4})G1Uh;{Q`}uM(O7&n)IZK24(%WL#w@g
z2o`8|lUfb19q5sks+2hxYBd$wIs)ww+B)cFMNGT24<_w_0aU3C;0WM^XaEkeI)rFW
SSK;<SO9QP8PNM;*9p@jTfE_yk
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/date-004.js
@@ -0,0 +1,50 @@
+/* -*- 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;
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2d21a7c30b31ae83f80bb0453426a8bd6c9e9914
GIT binary patch
literal 856
zc${5QQHvTe5FSEUmSvGet|B5w5V6+U!-Jy_?UUN|>Y=u{%e}~P<aVQ`jT_0v^Ze<3
zYhv$QDGQU#_sz^VGugp-b{E0ocHW;(`|}5$vP^S*`1%KT+vB6N<V=MxTgCF6%dAyg
zBTY5in2@Up*Gy3nX~nZu5dife6{7ITfM--43ZP+t)T9(bH+@5_GFvsKYQ=OxwF~O3
zoqMV{eG=>&O9WL^8_XLBnfz}4&q&p^9rI+$Hc#gx)n;s8c%9c_X1nv&D?_T2^-$1V
z&UztTF*Vv{iB&rjuD)RdnI2lPI*iP`LL5$u@}orYttMs?rZh`Ui%}xCjEtn(Q1R2$
z*)XG?FQRxpp4~>pd%VNFQWOs3@sAn$=$o!~Li={TkJny2jwhk>OjVh^By4LtK&-c=
zMkW11h+ZqUCnu_OAI>9FrglO;^?KKsJh+<W+MQCp?po9SKo&(7;W<IwAT}XGnzKO5
zf3IE6HC5WepO=&iE11c%G$Ste8QCkd)$fd^OvQ2{SKhDu`tb&lwav`QQYvyspXuv<
z%)+vis+5Fpb#gPu@n=#>szp2x!(uh>QLBv{2i!6OfS~N5iVyhWc$RVJc)IusxzGe-
z+Q>5>0PccoT*qQnAOMczI~{Nu;Gm#{am!f0-n?*-38=xPU$R&4(sF^J+$xkBV6hqy
P7r<7<b?|Wo2Y~+q7<UQq
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-001.js
@@ -0,0 +1,45 @@
+/* -*- 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 );
+  }
+}
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6d044469efdf30dd4cec8a919a9f5f215c63fbe8
GIT binary patch
literal 872
zc${5QQETEr5FVB#1d$M=h)5}mh<H8QvxnS6?@7Jbv#58N&=)CXo2;6<m<^k?)}MZF
zH*2p(4#H06n{Vg)W|F~pcJIUDZr-0x`}4;*5~+^${_7vwX^#)dG8W2v&6LRVSf;Jw
z)z@5$4N|Tru@;IazE*L%DhSZ-V_c<%Q=q*947geeUC6LOoN~1<xD5m%>{(FGhdfCN
zLTQl5@OSfptC&A0;+qH)uDF(}^*@B<`b_MKt866Ih9^I<xDn_-Zv|>ULIX*%KaSS*
z_)4hJHVsXKlU@v`5K4;(b^K6fqU?t%&UEdaJCM=7I^;TB4->x4#pS;x&9<lhJ4PuE
zr(*Mby5)r*%*V4kzxW=XXxH(*VKDwND<f%}X!5Z-lxeQjHq=iyrC=OPyoz`YMP}r!
z7p}S)N0ZSlV|uN`jvb56gE#lF6A_hMbEN~3Yswx;r}QhodFm0?OOZb1dfooO7R5al
z=PWbioGqnd_xy#wP0etOG~y~^-a9wHWk-9SQb^w^+`xCiBcTF0k*hCD9w)|LDo-TP
zs@$dZBXHI2es+!KkmthH^6e+HjX7H*ya?u=SM2GEG#Ifguw4QGZnaF#9H6a3bZPw%
zZOVuXXMjh8lxdj)&~vacwG4I*7XX&!Saq<PU=h1SXcNy;`@CWilh&XEEvI6#a?O+-
Yth$#_!3VJ#v~2*>m|j4MR;dHzFDuIsIRF3v
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-002.js
@@ -0,0 +1,45 @@
+/* -*- 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 );
+  }
+}
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..8c5b9330a22791a80da4496cf3b61f1102871ae5
GIT binary patch
literal 1033
zc${5Q@k`?{6b_-3QA#OAh76G~WK3^2<~c<4?gzK4-b8oDTI67e#P)5AW=%;m=l=ME
zOIKZo6q3C6zVChCOWGR@Zvr&F9$ntuU5*}D42fcDb#Y?0n}c;QVIcjtR6>?9k+g4_
z0!ewGBul1czEK_nMHS37mGoFb<*KYSFZDJ}@>-eP>r>9l5OqsXNaYk%X``+i##*+_
zv~n>P-NF26+vUMMm5e@d_z4lGk}4ss9v9I|<8wiSYeQI;)T8$Shl_1jb`VLHs*X>m
zAg>llloPjlkSihQl>gD;95g>`gmQJI$LD;txsTlsVo$`YYM-iT*5`DQ!P)i{pT{RU
z0a8J%tp|}vVH|{`!SFgLAM2m-9e;5GzaI{M4_zgS$MN7Tf;88&^%M)PtZ)$C`sOQ@
zZqfSj*v{5a=iVO$n%haK7K_gbQ8Nikvgv@q=?TGsCYW>!4*5Y64Jovm^%<)lURclB
z@niRI0cd|1(a3jlJC#BSwMt=AbVJBgpJsqt&-pPU6CueBeWk^fYXO?XRK~>rFq55=
z!oM%2kj9LiPAKEK?L?H8^AW@{@ivmRP3dc=bK+%+N|h`2KG|&^lJQm>mJx$IRFp=N
zrPM#iFQ75VP~3{CT`<Ps$oI?VnBx5wc1&z}7$fBF+IYvsxV_#zyuaQp+%PQEL3%mE
zCNdGixP~kpI(hCC5rk~pb?V4&Ak(Ng6?~*ubMK&P=b>9e=NLDQ$`Nu6&qKQ{!>~Mk
oMoqU`wXtCy<eVK%(dnvz@>~toD`>5je|QfQ{0*77i+51vKi-i<4gdfE
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-003.js
@@ -0,0 +1,49 @@
+/* -*- 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-003
+ *  ECMA Section:
+ *  Description:        Tests for JavaScript Standard Exceptions
+ *
+ *  Target error.
+ *
+ *  Author:             christine@netscape.com
+ *  Date:               31 August 1998
+ */
+var SECTION = "exception-003";
+var VERSION = "js1_4";
+var TITLE   = "Tests for JavaScript Standard Exceptions: TargetError";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+Target_1();
+
+test();
+
+function Target_1() {
+  result = "failed: no exception thrown";
+  exception = null;
+
+  try {
+    string = new String("hi");
+    string.toString = Boolean.prototype.toString;
+    string.toString();
+  } catch ( e ) {
+    result = "passed:  threw exception",
+      exception = e.toString();
+  } finally {
+    new TestCase(
+      SECTION,
+      "string = new String(\"hi\");"+
+      "string.toString = Boolean.prototype.toString" +
+      "string.toString() [ exception is " + exception +" ]",
+      "passed:  threw exception",
+      result );
+  }
+}
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..55fd331f99006055d3aa6aa2fa9a6d6cbdab3ab5
GIT binary patch
literal 899
zc${5QQETEr5MCAuA&3MiQbfukBGP)E9@2;2lX|gdY3*S`U!;^Z8EtwoE0eX>e}A)H
z+elw_cfN1F`DP{=PNp|Ln_tfccXxx?V;n)MW4-@*VRc%QL$Hhiy|)cQmc=UV+{PME
zCcefvUFCQ)fBIT#Sd)~AVVp|b=Tx15h;(`7{(y*8YSIIVE6_Pr8_6WewXHle2OAF(
zW4TD+7lesKsTDTALX_qV6BYhFfA4*|J+6B?-lm~R8megDHqFQ39jq6}Q+G#dz1eDr
zz7k@ra4nNR<g*4Uo;3s9k7?>8*?;b#>&X@1hs{x2ML)!NqXkU{NY$xxKU5p2PGOgO
zR7O&V&!a?cGno6qY%;y}^AFW4{3!X}D45(&izL`4nqN4<B)Ij;@D{?x_?!gle(?gK
ze(G7T5;=4?k}RVuA@noCPJCvT9=w@PrQ85AJ(3xS9n#W%gNy(Jb*om+OV)ep+nV@-
zc;sy^T&@294c1br)Ce=NR48ubt9&1jR*^;$BjJ4*Wmn>(DGyPhwUF2+{k%?(`lFcV
zJ&8CI)z9c#x7#mgTB0^imrEHZW{^}J31}#_OXtDN^YTS~=gk&(EM}ECW6V7%^0LEt
z`*4@}>EX6`vru9kMn{F)1-rl)7tEs2F<6x~7_%(LA*@QUTjab;r+r$lSlonXtifAt
gr({C=%<wMJr5Y>MnZeH4iOra)%+Hz4Yusi0ACv_de*gdg
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-004.js
@@ -0,0 +1,45 @@
+/* -*- 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 );
+  }
+}
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..57fc0b688a014846b3af0af14f0551fe5d34d441
GIT binary patch
literal 899
zc${5Q-)rJP5FQp;M1lk<rAR4@h)C=8?9sc2-c$8r&(hk%guX~AYcksOVpb+=t^fT^
z?6r{+*qxbgzWMQGd&AMS50k6$<?Zd|_#uukwXxm&JdvmE;ntbONZ#v`Fw0_-p5DY3
zNhiLgIGq>qR$=;9TU;;|&M!GIPjfraG)G%hY!^_$Z1mzZ;<81W;)teAk#gAANwU-S
zUQ?{63I4(`(WEWMD!s&nf195XLtRhLkp`<Y%+q!ljvrFIv<L4{&qSO02-ig)H88Z$
z$sZ;xkOj#0``U(2{Y0-aJpQlAXtg_9w{I59mBr{57t>t{6|auO08i+LW{I6#u{ivk
z*9vGe;PsPa^C9WP55~jMm0$d*v(mS!@AZS>-AJ4`OkE{*FEDr0XAJG*nS9Yy!`Bd(
zTWNw}aN`NA-g{%88QrDkS)vQ2>=WTyeI%v<W;RnZL+V<;=r?^7kC8^2BIUj3Wf$tb
zmq%nsPBop+jF~jpXgsJ%QBuX3syt_BkLN;_)Pv}hE%&H@;9t7k?{40<uQPP5d3#}!
zi`6o#$>xw+6HEOYb%Yd{8#Dhg({Yk7keZ!Nyo_0=lVI$5g-~Bby)C2!#}xqJ*2-ev
z0nyyvuBdNsN9>hc=l~z5qRJnDI0T1Xna3J%03f9!705%7rAoOZx_nleojoaXw*|*y
izu{DKx2kfy#;|(~)i&g@BWRTY^2*`>D&k1gp!5%D6&Zj4
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-005.js
@@ -0,0 +1,45 @@
+/* -*- 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-005
+ *  ECMA Section:
+ *  Description:        Tests for JavaScript Standard Exceptions
+ *
+ *  ToObject error.
+ *
+ *  Author:             christine@netscape.com
+ *  Date:               31 August 1998
+ */
+var SECTION = "exception-005";
+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 );
+  }
+}
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c642bf4f31ffb386c5b1aa877ad3080f26a8a810
GIT binary patch
literal 1045
zc${5QVN2sc5M4r8N(dnYDWw!yM5L!ZiARyc`(%63tJo?{&M(E2HJR4+(rnpmTk}iq
z2izaM-KtH_gzRMAzL|OZlHOo+6{5-I_<T4#AK$YCGRb7|?Jw@O2b*NdKm;!f0eQ}N
zc2K^Cl1i8>3Oc@K5(G^{DOffu8SQfwW|`)cAnCD;ilPMe6p*O8a$L8pi>R1^EVo*H
znx<uKa|G*(xH~EseN5py#3>b2D$MGoJpR4^afb^(pfeB`%PiKkO2zKa|Mh*<2W9aP
z=8qsgDr-egEHAl@_kKN|6y$=7IZba>-#I9Qa{tYz(Q*!g#TDU^C@z#OX<BSu?NrB>
z)Ow%F_^F@LWe!BC0U;q#rwe1gfWz&8s!4Vj3$~DxFd7d=mtpylmuA-;7B`R25KH68
z34?w#xEa~1Y?(^DqQZ&>(RJX#OAHHrs%FG*1)DR;R`77*+y&!M75EFPbR=hl$R`17
zvZdEnoF%U0um6PsWG$4wA3zfj5x?d$XGPN`+)Qf{a``J$weND;pU4sU08GlxgyrOP
zN?EGMX1ubYB=B`Mja0*&Ot~OebVXkcAj;7!p&}u{J3T)mQL%tP2ri6{L9FNe<e}^3
zk_xF?nB?Bou}^boZijsK{nJS_4uaCkKgO416FJzlToaiHc{??uVVn5NCc5}=6D_=N
zxTu5F(ljh}BNMlgrBX*@yQqnfY1(KXnS01IYP+P~+BraPm(E+2{FUr%$k?bk81Jdo
s_S<#S(5Yp3ilv{9-O!kIph=$MxQD1wM;h~xUqhzWf(f$mG4>Gt2N^Oz*#H0l
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-006.js
@@ -0,0 +1,56 @@
+/* -*- 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 );
+  }
+}
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..91bbd8cb5b044f9c95a7b989262a6a7d7cf68774
GIT binary patch
literal 1073
zc${5PU2obj6tyBNilQh&2qA<}WmOeoEvwRwbyfFNXxdQ~I+3(5sGHp60`5YL90TRI
z>~T-~m$PY0SQ91oJwEs29Jjmu>i`X}2Isxr`QU-YkV+<3U;mh`Mt2>I7zqD)CLqfg
zPwV+MkW|7{Q4VjI1VNKP3YLy@0&1MAb)0HWj_$Tu8Y^C2ohXEgRZgjOXp-b%D=!mL
zF$S5Z?%h+t=wkvG5G7Pl$wjpf%dL6e6BK5*6CVBYd^!ekIZq>vZ5`Lb3Cr>dr&=eA
zdN6$i@qQ9=$;Ff=-&N`qlnGhotzetStNmAF`txl$P7nz;ll4%nE|u^kS#6wbZuiPF
zyiJ`c2o~iBM9l+2LabB<5uZW1LuEASBy^s^&fWj64uf#e?Oz4?CI7`|Zs2#q?rq;V
zDD+mhk53RuNAc&0G#6A9;W>iY+LQ|zQH9>qWDY-%?64c&_y!c)cUS$pUfUlOB!9Vo
zZ${Nn@fjg<B49~2CER;|5U5txg0t9p=~c`m6*7cO+E3Zh&z2?C)@YKYP>R0+jX{L`
zhL3-ws?ytljSu92yaR@LAHp(H&?P%GgNfc`WW)uzrVILFJyABNF%>cK-;y#lZ@8L)
zF9a9vLaV$T8RTR{S)#?He5-*H#+NB357iC!(eu7IpN>wCKYPP);QP7Bzm57KcCb}M
zZUtk6P^oMgMH}Ih^;*GXy}G!$UW@qDaM2D@zq;Y57a{B+SA~woc2N}})3h-`<}Sj9
zwNon{SDWbd(eYsk)m~Z7nq?YR!NkYvZ|^lKrlCW}C?SmW=h+2~IeVH^RvdR96-r2B
SCA4oLq=&!_WaAbtBl90LHAsyB
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-007.js
@@ -0,0 +1,57 @@
+/* -*- 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 );
+  }
+}
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4e4856077d316a681b21ba60fcfe8db39f82cc53
GIT binary patch
literal 936
zc${5QVQb<*5S=a|gdh^6h=`O$M7*9S_9*3Ozg+cV&r-d^gnp4yw#jJITeGrRtN#1j
zwWpCIFq?hzX5O1gdc*O30Mon4?Pzp6c}ikTRid^xBfHxg?k=+grN3E9%(6tJorgrB
zWIRwZN#{A<%wGe=6fSgWt<N~m@z$+A=Bdf#V7-^5vF?;>UFNiq$vLV#MKzhpZC(wH
zM<x^Y!tn=2oJppHbbDMxf13X%G@I(qC>6#!7er!-?LF{YGZv@^+riCHZU<V4^X*}l
z>KNC#Zn@7?^xEfam0{a(l4yjBm*YiM2CFnOsyz{J=|IQ@;|H1S{NEbKtK$td_I`FF
z?7S3$NG40w_1PTdzU9$O(;%D-$9F;g<@(mwV&M0~;jc0IT+p3YT-onTy5TT<@JqOf
zaA_*NV4EtodA{f_nU;;ODOIl$*Yv<BKKhfuv_ZO-+V4+fG0IRph<PbfOsWtw^=3jw
zXF}3@_Rc=+QoWNjW-_M!zFBrnKLmX#g{&S#zI40a+_&uF`O?96#x43(iiDmdUEz(R
zbnmMfOSrL@irkv9D%L4!e>X*~`o5(8iB6ALNk%;-KK@nD811tR37v)$-_JMZlXis^
zY;ZgRC*YNBQgVS*cc({cyVD^R%Z4)Oa7v2$0U%v)^tE8H26O<b04EjD!7VhwYk+Mz
z1&cIwbX&F4bDbatvEhu6I(18@9<hoo!zpTtU58Q|40Z+`2f&Dsb8rbIMX>$?1o|W}
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-008.js
@@ -0,0 +1,44 @@
+/* -*- 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-008
+ *  ECMA Section:
+ *  Description:        Tests for JavaScript Standard Exceptions
+ *
+ *  SyntaxError.
+ *
+ *  Author:             christine@netscape.com
+ *  Date:               31 August 1998
+ */
+var SECTION = "exception-008";
+var VERSION = "js1_4";
+var TITLE   = "Tests for JavaScript Standard Exceptions: SyntaxError";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+Syntax_1();
+
+test();
+
+function Syntax_1() {
+  result = "failed: no exception thrown";
+  exception = null;
+
+  try {
+    result = eval("continue;");
+  } catch ( e ) {
+    result = "passed:  threw exception",
+      exception = e.toString();
+  } finally {
+    new TestCase(
+      SECTION,
+      "eval(\"continue\") [ exception is " + exception +" ]",
+      "passed:  threw exception",
+      result );
+  }
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..93635781b04e26c92fb2f312de8956dd0a3a0ab7
GIT binary patch
literal 807
zc${64ZHwAK5XYBALI^=5h=|Csh=}yz&{j(C`pVd76-`T$yEjsfy=3&##w2Xk(|nqK
z#D0ZNa@^(Ui_GlK{C4I)6LV>=T(Vs_)6Hh;{0sw#WhnD6e`>?wvb^j<5Y{;rkY!;K
z6U~eg|98&};~<Rp6*8z8S8@plOkA!*34%wi6v$S<;FgP!-$(Ej{D=!KG1i^&D5{YD
z|41TQGcNsyS;UVSFznAoUh%^zx_w-9ebvVk`5eJ0%3m~1D$wI%53(A8VG4wV0DHTB
zlETR1dl2(u>=z1OiETf}%p}M=Hk_)SY@Ub%kA5I|0GvM4U0;N$+`68#v=?r*;=gpH
zJaSQYt(mv{ZZ~Ymu=m}VzSZHJf-iL}d5omyExol>zqK3}F$#uxv#@VArse1##~-df
zO}aZCMi5*x`5@rLREdRtd1x}WO9Wf-NB*RN;TGb6i-1{YAJSrg?3%fGEcw|I0@;(m
zKlTlH0K!Yw$)4VK;2C{C8eJKg<U$s;n{g?ZNs&`Vd83HUcm~?a9p6npryO^Ql31Lu
zmkNcz<P>i`$FizDSai^(HPxVcoe*N^gf<kavC`MIccs_0PU#J;sn$u4py|@4(o_i5
z21IYysG_zys&<K1BPynA#84VFN{c{K(ORUu^vD|(pY(}JG=$pZf)GlTTAxrxD3&Qc
Nd^tp09xk2^{{U~(@cjS)
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-009.js
@@ -0,0 +1,53 @@
+/* -*- 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 {
+  }
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0f1b1a5500c52dcb3a5270147ea0254f508401c9
GIT binary patch
literal 668
zc${5OU2EGw5WF772qT0s#uyXIH3T>G!z89ql03=s)m5?8pi@G@lya4})`234)7eh`
zYv1}q+LaAe>C5fzFtf8aGe7tw$a)dFtCbsmRSD!qnWvjybTnBi16pRnXq9jHW2vF4
zRFR+i2htA(x&g;cD~vSofRqzYW?6%u&QzY@rba%#ms-j18O$Nhq?QI*Xa8e`W+;^U
z>7NT+EStRcXux+37)iYW)A-mT)~Yn40QL=^As@7X1Pw)8l&}_2=m!hYgz%fbaRm1w
z|8vkOF$B{$sV?>`-)32RCv_+Cqb2Wv)`h08oqHY%q_Vxn;68#(Ku5*0*jTWWS(ksg
z#Z`PxS^B~Cmwf)>nu)a7W(iB>4j4S5Dq(wNQnt-wx!t4&!5GRqmI({clpXyIRA$nv
zjMOH=*5=;I{Wcx_CBMD6yqM05{H0-@mQ{L`Vf2T~ty(^qbK!;lZT&YkyITZzs~Hck
z+4S=L)m69N>d6Y$QOJ3d$It$dw29@AXJpuEQ`;hh9jZf~x7zfC90rS=;?Sjz?bwu%
m0kv?Xl#Gt$yw&ZENekaT>9hv)m4&2ME$vZ++w_baiNimrK+IDB
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-010-n.js
@@ -0,0 +1,25 @@
+/* -*- 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.");
+
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..80227f61c00b14fc9e3bab5068867ee02f22085b
GIT binary patch
literal 674
zc${64(Q4Z;6oxesj0whsP(l|%(MsvEZVT<$)wUbg);f<QE0$LVVGPwiwFRDSWF=`|
zaxbwL*>S?=vKvX~*T?yP9bJaY&w{M3B5$$qqVFn&(kS!r{x==Z=E{JUg)mx`8NaVJ
zG>xjtX}E*#6zEPo?T*4o13wX&__8P-AvaPhd0RjLNg=f~sGa<;Rr>f+l_?r_E({f^
zA08#}aLdZpqZ8kDVk~tArfcAcM6242m$2=4hCFBkDMk=URl`ceQMkMk-4LGkUb%w%
zarkA~kHdJ*t&P;~4Ua^tfYz0!FON*Ft1VlXDcq?N(teHOGQ-A5ZDMH5hoCB-8|G`-
z<ZQ>{<2roMGQMoUhK($2gB9Cqoct${Dd@PGSJ`B5G2K)uW#=y(?k~I_ZwCC^HHPB>
zWut%#KMJqgr1?iLob%w>J0|jKU8F3R8(?scEmO8tCP(i?uCv^rm_Xfr!)*NT`1<_f
z;_U0+bo;=pO*LD^5$D}-ejOYVi%^R^AtSp-`wk(~-ENVio<#>_S5Pv<Vocq>+oyya
jQ;MZa$yskOJRuIQ48ajSu<_O*wnayjOprMwd+_uRKhDwJ
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/exception-011-n.js
@@ -0,0 +1,26 @@
+/* -*- 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.");
+
+
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e1c58c58b0e535f9497c3a4e9bccd27e3214bf12
GIT binary patch
literal 817
zc${5QVQbqk5LJaS#u#Hl$Vv!Bm=Mw}3u)I6qhpN3^SYEIEw%|A*(j=gOT`>J$V$_E
z+&`b}&?*eW-T8F)-n)}V<JonH7FWS=IvobTSOS?~V)yB<*6B}}08Z0TaF#9o=QW3-
zV0qRZS4F=WaFy(+Fceh4N|v}ImL;-P)wk!AGy0IiSBO)}smOWDqiL#|iR__#cL4l<
zi_Dp$G>`vuhq7Rql}xJqLM0>0mmm~5kw?G<BoZ-<^EEVQuvMK6kBa!wOX;QnD~vf?
zi(WYji>I)9IGnZp0#wPUppYB!T?Ozu{UVHl@$4#8JH64)^(V^lyBa*lur4RDL*I+W
zH#18@Z&G1K<7nbzu;+ddmg!q6sS>*@9yx4@0Z%lwzEPG!;)r~IF?VskT2TUOg)AeK
z#JSvkNkLOmyl5gnB|n+|xStOL@|g&}0rG{o{@rbG=Jxi%xl1nh(FYe3^Ey1czv$0$
z@~W9^X+fl*e4Bmr4p`(Gsv9L;iFrv*TT0UV!QhN+xqMIGfhNGCe3CB>0flfPX*^m$
zO^W2A{KKb<DDZu?w>P-eK&Ecmnt_f`-A35Zb=0Z6jY#E9)YeSgN78h$B|ogA6Kqyz
z25MAZLvGt42pwTrRmZ5+)Gf!=v|8Ojj<lM2f~{ku9pj#Xb*q9wO;p1g8XyN7vg<AS
E2cWq3IsgCw
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-001.js
@@ -0,0 +1,50 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..06c4a871f8661564e425175a655230cd33232a02
GIT binary patch
literal 1143
zc${5QVT;;85M7qAgb+dyu_7Xih}hPOJ)|6MDOE4tDR)s!S|~>;d&#J|#zZ#jdH$UK
zj{doB;%Tnu2WMyIy_q*N8I0|TgKjV9{hOQq{Ab`pBm%Mj^oR6X<IGtEz^%s(ha?H&
zs6GfHKZurju9+tt!33;jqH`Sx;4E|mm)IQ8_|AC1?n1Z#FJzpFn78^evy4(!j%&We
z$yjyB!Z3$WDTMKT9;mvjAj#eHR7~LA!1@k&-os^l2?F(AM)G;u&xv`xiVeHm(*|Me
z{q8=EX>ZrS120c^Ew%(c+D2Zg{Mit66!SF;XVP7R<R(-K0WQFo6FXkK0p0O<uo0yp
z6W(eVvTXwGBj!ZQkhO3BFQD%7ea1SSp?p*@i2ePo<IczSrIX+IuVRx2#<d3)ZUMj5
zWu0v(ba>o=CkpWB!6qdejx}`0Q(KSk?qx!A$L_VIC)sJu8J9}9*z3_Y-51^zwvi8u
zAOhc<&8IVK?*1^oTXRPiz@SeD6Ism2I!+gbL@+K~NQ6FPaz<ab4^^ls;={LtU#~7f
zP_Y7<k!ZZ2ETRV~bhnC=V<JfCsWolDX)VdSZuhKnpO|T%Axl7;IPZV;h|O%e<MM!4
zz<l6td>t>Fc1%xm%ceZuMUCT#wC{PcWXu!&piLjKAOv3(var#TXxLG$&pF$x4{_k%
zx^v6QxBW_KHF43b>Sj$-%LE}*(-Bs&PI{TGk@L)&<f~$!&)8H<1?i-XOzAdJmaA6L
z<nSs}^z>7-a=nU*Dyej?PeD>aA2S>w7n#+_m&~f9)vcAVBoU)hL3P|fZ!oQulr(}=
z`L7ujL_0{Sq7N$4Qx&E{&d3$gNEfMyNHrr=N2slqi~>fego_Oo8yMpPE|t#G8pVQv
UjMPXwzzC<$k|7%%o(+Wm0hbz3k^lez
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-002.js
@@ -0,0 +1,60 @@
+/* -*- 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;
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5b14d7ac3ec29fdfeca01adf8dce20a9a51fba57
GIT binary patch
literal 1100
zc${5Q@oU;Z6h4j+LO3Ldh=|A`BChMibu!8}#?)$OY13k|{!+%cCa-#3%*o}fb^pqK
z+Ml-nWS3Y?*Zh!o?|bik-@7jvOx!aM-JDMQ7Z?5McOF8lxY~UDWA@sUEV<(#M~_Ph
zNy0_kIp+!_i##QHJj?OMfXAUm@|jj%^b}LD(1mti=d(CH=GEGeMNyu%u9@WQHi8of
zA|{#ASo0+&B-MgUZl2NjbDrdBFPHL}oPo+WJ5KlE!38XCLB4E5htI1ypFM~~@U!Z|
zI>(3?NWN6vCr{kf0wfRe`k^KVsUW=4J1;;td4X6${oDVWmxoLR^I^nR3DB{S3l{AM
zl7=rgS$%I}cf@8O$E!F<t$F5BWrqz!xS>03ZC$2%<N4Exd+O!i__r~(A6T>k^MOhH
zn&@>_ks|Q8gg_PHF@R;tM#SyC1`6J2=ua+P=SpfesWv2Dr52GS`xR_|;-8NS*Q2SY
zn~JMAggYKX=qR!MS1^#v!I|c0!v5yTn{M}A=RUC>1P@J@xy>Cp?FWJG5i%iHOy49d
zCW=YrL!yYA>9$-!_d8NGmtq~`SN56r_D9c2`-V*0xt99dd<7PQ^u@WDSxQ$5ZQTxQ
zO17JkG2;=0zfM7E9-zC8X=V-;ca+6+YXV)*g=XCrctZErq?q3L)6pn*_b;YL*dc{-
z#kNd@P?ca@FbcSl#R~3av5ecMjgGNnI0h=<6I9meAu_EJts}?6)mF2Co*rC9t!&7|
zU$SW9ZWb+ka9FEgJ!IO|Dx#={+D5%rF;WCs`fb})RIeekj^10Skcv459^g;N#z)9P
xrWXBxItVqbA}ML9is2ks1~HIPGK!UM%26&7MAA^Q(PxZMdMw(g^K{fh{{Yp7O6dRq
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-003.js
@@ -0,0 +1,55 @@
+/* -*- 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-003.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-003.js";
+var VERSION = "JS1_4";
+var TITLE   = "Property Accessors";
+writeHeaderToLog( SECTION + " "+TITLE );
+
+startTest();
+
+// 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.toString();
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+
+new TestCase(
+  SECTION,
+  "Get the toString 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.value = value;
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..95378a87e4fcd985414b33de41635da8899f780b
GIT binary patch
literal 1083
zc${5Qe{0%67=Ag95W*3Hh=_<BMZ|SoaYIJg#+W+WSz236=s#tQYkaHOVook+tsiP1
zYTsm+RE;!$<o*3V&-*0((fHDb`-@5M`nosy8BH<Kk=}g%YjxYBJa~*y4WE|^(=?LF
zQ9nwiQ8FuPr&p0iC1PJIlP@}3h3jjfabX79JrmE8%sptl6Dkr9F@DD|7D{N7Yrf7&
zRUe2rE~dC4BGjfx)Ps4H7U5Y28im)mctBOa213nH!^vT_80x-mEY5WLu?+vz#<)J<
za4ywC#J7gv0*weMH}j}8P7QrOluJC`iZfmva<87Rk}x~7FQ*&khbmg?%0TFFK8VFC
z#m;_efhr0Q)DP4q@7pVSvP0aH$Z<PEF+;V3IS}^V4<@7Wg<pK>1?^i;LOD+&ULi9;
zt5}n_u0I?Eqnk0q=Ou=^gwG)^vjt2({5A=e=AYXMM#0t4yHy5L=?%N-Uz$0VtTJ8g
z#9U3#)AHrtaPNi_-|Q@<S|}Z0s+~*!{jY9oEct#v*K;M;2|E{2jML_BGw+3=(Lkz{
zjq~Mvt&B)NP)tz;@=DGKUtXX#<H&b_Jim#{M=lcn!ke$>GR18nN_j?+vs+<QoYrwK
z^t(={OWt@H$AL)EZ5vj&=Imv!txf(um<)%7jQ>dch?L!mUE<8408n#)Fk;h>x#hH(
z+Y&vtTsS43<ym0U4wOuI1bMB}fU-?%O<FsF?UUyzZReKJR&E{IJ*`)WW!I=%twMz~
z;F#3w6`EzhF>mHpq22(i0iSHJGc3=dALtig^vvv}2J;(y0O;6N*CSw7l(|h@LWoDI
bl@{2RT`sxcX2x^jD*=+ZRToaSt}*`s>@P%e
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-004.js
@@ -0,0 +1,49 @@
+/* -*- 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;
+}
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..acfa084cea638a77efa73319daf104b9567e7d9d
GIT binary patch
literal 719
zc${5PVQbqk5Ea50V?+ocm{PJLLJ02Gl?<{^V;>UF>s%6V*rs2?7^;0s#9TYb>XQ7X
z{mGqOh{nL^aqsTl-SaJ@_&z0@yJWFmFOu)FfJ#e!`mnJke$)j&C8+SYSI{)Fu5MRS
zgA!$`m8`agA1`H9AY*!_CYfrX;RzFy2ce{REa4O6rBFiGYWhEg^&G{7IvIgcAj;B&
z^991TY85k~wxG>a-=s`EahGMC|GJFfV91+xE19q1>G5BK90fpWC~&VdulF#{)F}`;
z-<@4}T^N+&xdE2uO78V0&5|g-OU)1bLudAHp%}_OmzusAz%hq?>#moEK^A?D865YJ
zYd4FsRY;-t5GE<oj)q3FZvxjSD4)Odf8-S$_*&?lf6aZpQyBGi{c?qAT=TO!$7Fq|
z-23$1kNF7BzTVDe@7ZS|ODG177D{J0hF<e*2c0%L?e4)33NQQxL;)(RSM}Cur}o?G
zKs2z)k}xzbU(xZ1Fo*SRml8remr%!YDDSXOuR3JZw|itl@Oe#{#Vq1bkFYLB>9|9e
w4m-5z=*k;Xd(fvB<c4so=MAkkA}+pm?~>qWUyxgeIIR>`*>p;<7u5&kFPJLV6aWAK
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-005.js
@@ -0,0 +1,41 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ba5c545457e0c492e691ca2af111148e4624332c
GIT binary patch
literal 797
zc${5PU5na46di^TLKs32u_CezBI34Nv0LjFmOdDpT18_q*?o~x#^hGB%_cILt@`gf
z8L25HFemrpoO9=nGxcUZT2EG^#bUJj9!HRhSe)+HTDv<{!Os}Dd)#x#^EgX;^H>09
zi7$AZZp(bjiPK1CN>2Nc@tAEA_zYpfI1?G~{GXD<PO0GwCg54}sT5=UR92c}mLz4^
z@ZeBJgOP-7S`Y)qw;;+Hx@D>CN2Zfx;jf#*E)Ey)y!rQnwJ{UnZk(`}99jWCsqiux
z@k1W(1(mwM1w`^fewgiH?FXx=H}T5_zS2JGzZu7Gh!lQFgyp;AV7l}wa13Ez+?>F1
z51}ASXC_N#Fb(Fe_2{nrqRV-hcn=H5U12b1{<|Lodf;;NUx7uygKVB{ZQ2z(4hM>9
zB^Qi~0CGXTusDH;d}DIJh%7fx(xKyJ^x{e-DLbUW*_D2xsgyYP-P7}^f0L@CdrjWo
z-rWs9*djYWx*?<yzHY%~XK(xcVecuY!44EtE=0YzU5qqlIjn<~>z2D&VA?`<h3J-T
zm>NQ;ZXm2{I=)qC<C;PX4-{7LYtuqkNFH@e<cD<JM3$;)m?|`IN1=&ZSM{2v{)vs+
s$gEa08xhphsxn_h$dspHHBj{inKl|4NGD1bcX0z5xQ|SvNv|II12S{wi~s-t
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-006.js
@@ -0,0 +1,46 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..465cbe906a6e9d4135589a95c795c3f8037f0a32
GIT binary patch
literal 816
zc${5P(Q4Z;6cxf4V@xongc3p!Aq02pN;U#}D0@g8w{uCn5xZp&#!&6sM9i^+tTf3-
z?eqFx*(uRBJ?QEloqMj%)i?<6BDA=jk7l#c{3lBx7fc+k|7flo)X5VA?(a7o%90iN
z)szX~G>Zgh`BLG1b&LcRu$HCWG0RiQQab$y${BskU;;@-ITe!L`yVSfk%g2Wl%zY7
zVVPH=3T%5c%Tzj4oS5<@2-VgcXGQY66~a!@(Pi~cmds%N__x7s%nu$F$?9aIS*Kn`
zw<QqS1h{}yJ~~Q@4GiAq5pLJOS)z2TDB)})I`{uNSw!(X2yY`b=@&fIpDDK_VVep3
zz7hFe9DEBc*l!>a4(t=yRD&|(AfEad8V~+Fk_6{IocK3E=ud1>9RK6T2_j#}bHP$F
zxF$zo3FNRNCxUxn6IZOb#0&wYu)b4iEwy8L_Gk&1kaz`kjkH;Ri%}^$rJ!6?tbSOK
z)8mMgDt5VbLs<qXzG%bA@`u6TGud%Dr>{U$;Bhf6mgZgb@z-z>&wXEw!oxj+EZwqA
z10#f*2EwMU<EuK__){G%+|_K<M{*lrOS3ejV_8+-Vf?O+CU)y+;CB1$T+<qk)9-cB
s+mb16A_sN!#_<v(L++;CLX9(|HBrYvdZlb>xQWk^i7%0qlMP$w6|?N}$p8QV
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-007.js
@@ -0,0 +1,44 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..60ea98f74bb3114ca5b6ac1d88818723baeba10c
GIT binary patch
literal 768
zc${5OVT;;85FM5fLI@!Q5fLeih<MlQVapW?N1>XgR}W2#N$-o4vX{*1(p(~&wdybE
zZ|lG6CYIZyEX*)(-@KW5(^+&I!|G-^Su7^Y?>xgoa(TS|Z45`Vrg-2e!oyZzRq?X8
zoO6kS<*^jJSZlmL<wd3t-7~yng0uS^KVq6Q!K7jh{>Mr&)Ecp55+7ARRbosW^-nKg
zd9KURM5T36Q#E*{!Gwu5O1+9b&CB#BbR*nrz7wZ{Z)H1RGTj6@+f{h}@3?69eA-35
z7f%=Xc>mmqej<)duU=bifI?!Xu8h-ii>o+U&Z3)G+xmyRF@G^ZUOGx;mrEZHDQ;_P
z96W3>m2Mmc$?QvHC$nT8TG6-p+`S8zv4RMaGf$Q$=V`J*THv0lF^!Lw#7cgs`Sd+4
z)B)G@G@>pQul^aG*|+iQA6LVuq)&sX+=y~t5bAtoYX8iyBoi`GYF-@zR$&jHu6{Kh
zzjHn@o@3_Gk!n@abT5=|pOIxKl5$?ISIIIA_0exhcL1(yJDzD70MIdkScXl`o9vMn
zO?F7fc3}uAjESQj*rX3m^XHx@2DxamNobQTGU&J3#P)on11|IoztuMC3M>^(mxA90
Xy8|N&Y^TvAJ#q;qX@LcX8q|fqdM)Hl
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-008.js
@@ -0,0 +1,41 @@
+/* -*- 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-008
+   Corresponds To:     11.2.2-3-n.js
+   ECMA Section:       11.2.2. The new operator
+   Description:
+   Author:             christine@netscape.com
+   Date:               12 november 1997
+*/
+var SECTION = "expression-008";
+var VERSION = "JS1_4";
+var TITLE   = "The new operator";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+var NULL = null;
+var result = "Failed";
+var exception = "No exception thrown";
+var expect = "Passed";
+
+try {
+  result = new NULL();
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "NULL = null; result = new NULL()" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..258b481ffcc8a597b1aec5cac4eceef2de3d787e
GIT binary patch
literal 752
zc${5QVT;;85M724LRdl&5fM2S5zlL{hb=-WM?a{SUOm(n6Yh(YvX{*1(p(~&y{f;n
zf2f-T+|n=mm^U+T-t6vlzIq7B=6*d{E+^|BBEd`vb-LYH{o%X{o(0O_xR+QIBF}CX
zLZReosHDiYhVM;9mT1QG3`{aqT;YpO^dGqt{3*pdj8iVT%H`mHO4l<j#^uQfbZ0zG
zO*our*k+}oA;*S{xZI*LR!C=s2UF=z(>(swnsF8HW+{Iy@Vay;;w8R3{ktsFk|-4>
z+G7~!d+bH>RJENqqG2q>UTwl?Jzw32<^un~*#6BW)l#pig1256%%b_XRRfPP?#nGH
z9`_h4H=0L_fYt(l-ea&1bsb#M?_7^h8inFgMOY{n?T}@7VA@H2cdMM8<(S&Z{E!h~
zceNJ#%q}l)S#3ZEWoMlkUUl)j<h#-66aB(PiiuxNnehUBHq>gm-hBw){~WV})UW;(
zd4e*^7x~svy3kj7{R=kHIta|>AE9?aJlmrU#|1)2+a=&wHuNiOz;%TbI<`mJL?1Um
zEou=P7@<|pgNq6Q1{FHct<Z%QYd6968_*&i=~#ZdX_XOi_33zB;(s7^iwqrNmy*<i
P9=stAG>PullSbq(hHTsG
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-009.js
@@ -0,0 +1,42 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0fcb35cda0be31c6f7ba6b153d247b5ed2180129
GIT binary patch
literal 780
zc${5P?TXq!6uk@~gb+dy5fNDi5pi3)xMly9EvQYmE}E7k-9J*wY;vnZV-hA~)raVl
z^`$z-#VMVEd%0)MxnDD#2age~9>U3TISIe<6m!Yt@!fA@Fr3%H501h=lme@Y7x~SC
zOB5`Nq~Q5l<Gm@*Q-x^F;E4&&o-_P_NyY?|iZ#%JNHU3AMehI4D+E=^m^f;3cgC_z
zhr@|->-?nF;GG6zCe|o*E1dxMnrKh6BKZle8I#Foma$!hRB2I2OjR#YQk3XKiQuIi
zox0@761UI)E}<8TW39dnF@9M~u-l^GiKeciIGhI$k>2bd^49#t1bOW!$}W>`<j>;y
z=fJ^3iHU6BA;I#rEGPK7ocf_1&*O#fKKWs!SOo3I==S>^-3wLm6S5RVTr7$;xo%XF
z2^nK0Evbz2g{h&^E?#<hGrk?aKPSB(kLbBPy{9?u=@}kgdvqu_LIKW4#xqPkS)9L`
z#v81eYCH8O5jqG8dg+!bS+UQ(Q~epMa21EXuc!9ORTo^xbUoWL0HAFGu?>^Z+Iyr~
zdzZYjT<Cx@E#jyPCK-WSzd3z)Idy1|LG5jFQ+tbC^;&IWc@3ip4s?u0t8JVju#~l3
b3XLIHO&D8XI(2T+BYm(*8!RwX!7ls-t%T)n
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-010.js
@@ -0,0 +1,43 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2ca58d413ecd0d1303ebee0dae8343657d93f76b
GIT binary patch
literal 791
zc${5QU5na46rBzsgfN5<L_}m6M8s{kix%IOeK0oNDjJIk`y!>xCbv3lHj&9#^+)uF
z_Fr_2;*=7YGxy`1d*%{<5>6wudRmU=^U?A<Pa&6F9v^-i-QJ`MesU1OVJo04d6D1G
zxCFtnND7{>b-wNMJXIOZ={z&R*-HkWA<39vvJl<>Q;OKt8j)lY-V~oIF(!_>(i*cY
z(_wF<V4a^@b+Q@4UPrc{70K&RH^xk?L27%b9gE|b$z*dKTd%@##&#u8#RMTCRhFZq
z*aC?X!MC!1dB0y28L(UrygSM8WDajH|L$uQ#mh<f6zR?W!9(*G6ZnG%hXl5#9XL@i
zjwg$dz+nrCB#OJsq#aM<S>X7K#Vi<w&U3JgR1XHS@TaPud}GRDO1?0jL5eAjH$ZdP
zQ)RZ=Hr)&5^((LxL|n{@wLOgnKZaf@nUFD*65m=<K{qVu)e4mxQS5V<_S8j*wcz@c
zkNv@5c5y==sT4bSpl7QpJWak7d$;aMe#}a6WpVyfR`D_j^b#I1y+N*1Gl^?hHbSUj
zA#55ZzN^s1v_gVgwu9P89XFV$51F`$NL6#%?<%zMnQP!)g%++iYYkl8YaVh?%kXLq
k!*=U7veaof9prsNwukx_GD#(i@9}$N;105ot!8!6U;d8i_y7O^
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-011.js
@@ -0,0 +1,43 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3e1f43da022b4c802613d58bb765bc8fd25d86d3
GIT binary patch
literal 805
zc${5Q@oU;Z7(I><Bpe|G5fLdzCK9)<w4H0m%6?FnIg4gnlJ*xF-8K29$I?X3>(u{#
zmxP(IU+&9$-}l~qdC7R@--c*84MvN_DEQ73$RwACo2AxsXC?T_L3sO(fbEv&+1Z>+
z5G)O);MuC?oiWc6#nhVKJrkTgrtlHslnEwt(f^-P!hY=$N+#h+>8Ubf;!t<G6PBhm
z?D(*&kvmdll@-F89M)vS#0q4+7&69b9{*}hn2gtxls#|3iNv9V#}!Bz3%-$5*?^Fc
zsLjJT-@s`x!Q%xyJ^mZZGK_+mKMm^uUuf_3-%JoS@SIBg$_%|pH2dNc*l!?~Htb{A
z6ag5~ESh_yGQeQodqJq??D5^yzgvvG01vuwyy*4$#U+i_Kr`4;wNII=aT{Jd41ZJ>
z^h4RJK9K9Ixih$-)fRtS<(xYpZ!WK|uij#6$-ElZ*4&C<D<^CV<P+m5B=%M^Aq$dx
zWh#usqOM#EWz&!aSqbS*sQ=<KumnVu&+}E^&*||MsS@P7Y#9ZfS10rhpHO5qb(7de
z10#ew4TN<~$L+G(xLa0&E53=TVWLx{jw?(wq9GkSh?G6kLPL!E<uk@F%WB|vWo_WI
wZo7pIyNNAiqK;;@TUvooL!E}{AghNA3%L!X7q&#hC-@v0xP_En-FAuo0H1;AtpET3
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-012.js
@@ -0,0 +1,44 @@
+/* -*- 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-012.js
+   Corresponds To:     ecma/Expressions/11.2.2-6-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-012";
+var VERSION = "JS1_4";
+var TITLE   = "The new operator";
+var BUGNUMBER= "327765";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+var STRING = new String("hi");
+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 = new String(\"hi\"); result = new STRING()" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..89e43d9b04e0efab54d7a9d0728bf422d3b05473
GIT binary patch
literal 831
zc${5P@oU;Z6h4k1AsiuyI4M#N5z(zH+PZd7#!#0zi)JH9`@>|EYx1VYVj`Dw>L0QH
zb$`Onb8E_SaF6%h_ul*7m*K>_4bXh-4`#E0|Bc6xN-p;|zl>IUqLc3&gu7b{$a9{h
z=Tk00uq2Rzr;7q_40#$Wq^N1#Gr`$o0v{ksm|#+|n*U>&XcavI$t0{)Jyp$^*cUJL
z5lfOHZ4Xpfqz7sN_6sm%Vga&{a^k_ZAX>vDi+-T)-%Y&D3IvaytrCj;h{<SK=uxdf
zNQjmEAj;N2f=KYSJUcLWG=tUSbC0UJdX%tD4)Y-NC*C+HoPA-uE&XHyzaomhNhE>Y
z8X{SST?FfcNp|3l!pUckcz3g*>s#R@oVxbC>jw%f5AViD9D@@=E=Mc}a(Qumef5Th
zOQ0!isZyxDC2BXN%#qpgcabklEfRk{HlXh``N(PaIydwv=pU|0?GEl>N<K24Kx|4i
zu$)UK<YBZ!+j1!swdG~>Nj_CrwoR?up!d+P!;>qoyS+=g70UEaz+w<#Hq93E(0AR!
zn+Hr!ky9p??U*G4A#_qg*fcEM*U`ZjI@<V%mvPOq(HT<L6(;H+3%8K1-$(`3@d?u3
z@An!qa9c+ccXcdbTCdiy<&=#IBB*Ipsx{+~p^~~yyMZdF$f}^Ki7cY~;|4xQCT^k<
JGStwQ=nrrB@%8`!
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-013.js
@@ -0,0 +1,44 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9bf25402c6ddedeb5f7916a021b15170574a36ab
GIT binary patch
literal 805
zc${5Q@oSqv6h00S5fPCPLMY`3Av0SS+AeDcWj{pcvW#ek+Wr!@an-lP&1yKWOY-0E
zV!GZK!h83=ci;Cu-s#T5&oNp~qe&1<qOW-dCC~Z(W~ua@SyTMTf%&@)gSyVEax~95
zFj~Z%<>gA^JvT2ifk;mOj<THI7w`enf-=f0HuxVB#DUa^Ipy#m_(X_NwwIj~j~0b2
zyCH04<xE6cl?S2(#}Z5^TLG8GbhoI|U#OR`y+?VvmSY767>7*QjMHiZXNOjv2JmqI
z?+)4x%`50*4Mv=@e8ZP<63xPCEEo7fd8huS48Jl2>#^Ww?0d;<5gM@DK+0{{rLZ|H
zKu>1L+&A6DV(w2u47Pha4Q~V2kIXwiiVu`8R2a)hvIbJZmI!CfI*pGsFCZI)6?s-8
ze9fwDY4Pg#LYVa6+4$@8i}C1ZZ6#21kJeziRaF2jzda2n?;HIm)EVB8qxZk~@s=|r
zTPFU3Pe3zZNj0xlcxcz0GJX)&xCj<;gb~3p-dtW^U%fSaFPMD4SSFG0%N+%{cY-X_
zR*jafDF~sihOnxrxYy(szG||8J59FnSU1rKiSQB|;zKGX$Y^?|g$AfODfp<O<C7+9
xxZQ1cux_^$3z>*0R=cAdDx`_1o2SS+MY@Ih8d8l$7CZP7>G(|ODPq<+`UBq2=<Waj
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-014.js
@@ -0,0 +1,46 @@
+/* -*- 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-014.js
+   Corresponds To:     ecma/Expressions/11.2.2-9-n.js
+   ECMA Section:       11.2.2. The new operator
+   Description:
+
+   Author:             christine@netscape.com
+   Date:               12 november 1997
+*/
+var SECTION = "expression-014.js";
+var VERSION = "ECMA_1";
+var TITLE   = "The new operator";
+var BUGNUMBER= "327765";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+var BOOLEAN = new Boolean();
+
+
+var result = "Failed";
+var exception = "No exception thrown";
+var expect = "Passed";
+
+try {
+  result = new BOOLEAN();
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "BOOLEAN = new Boolean(); result = new BOOLEAN()" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5cb001ed9f09453fd1b637c023b9bd8acfde3f44
GIT binary patch
literal 758
zc${5PQETEr5S}g}gs_AlMT$sSL_~W%X|LW>xd-*qo<;3pLSN)Kw#n2kmnO1Vt3LME
z^>5u8Iky~voy|Aj_sz`CU^Kl8VSYR7PbU4@FOguTgxX%eS*`Y{{CN^6gUwQ6QHVV2
zj)g+W(@;r~Eezf=*HCeVFIw6dh%C`8<I{ZLQt-zVzhj(o$yF{}|3liLKICa?44L-f
za%+HgUx!7ut6@NQkmm89o=HVqE>M}`jYw{XT*c3a2AL+KRG8=<!Z=@IwagDwzACUb
z#kFyV^PNh>6MT96_#QNjrC6%wKc}*Z(rX?@v(fZ6G;jJ&diE=q<P+86RjMkuiE+6b
z*b9SUG`gQs+$=FxZZwL<f%g#1LJbl;+w<8scGZ35=?d?k+MR2{TGN~zJeYcx`8uoP
zp|{T$mtP&!0=AZVYd?@DD5HFwFC2x1@>yF;aLwGi@bY)hSNVRa^e5NDBz~khLtbG0
zW|hTdh22_;N};$^yCmt*8!l2zsvp{#N3$R>Gj~Yi1gJwj+qK{bsxA=6cF0K?J<=#6
zC1)0ebI?bfc=`i}90M(L7P%;+P4-%sw5pXRz!A~x8X=XM?N?4M%Rjcj)u&Av_)W0t
W(00J_N;~p}FtAA%T(Gq26#fG8km8pB
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-015.js
@@ -0,0 +1,40 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c18be5bffbef973fee0221144aedb8572e95fe64
GIT binary patch
literal 782
zc${5QU5na46di^TLKs325fPC=L}I%Yw=8|xC$-tFi)M>S_eDyXP42owV<MCB>qqqm
z^xt)oinDDV<}&x3Irp4PCbQrnM63Jdc(E8Szw-n#$>r(xm*IJ{>hi)t_{Xh)qTqQp
zoO20+rJ)o&TkC#z!m~tm^qam0L&+p;6wrHOg0troK0}-`!DKG_|F;yMDlsNbTA)2;
zX{xU`V^!8!sTeV_2C1id8q$1ZPtrX8c~$!0@d7r_ZzGW~7JMr^-~OH1m@*l^PE)ok
zV02C$>^2~H{3doJP8IJGu@%5U<5bxJAt6yI!#Ll<DvXx1;6Buw{*7<UJrhK|*rgJ`
zcS3&}%^rgq9Ans)>mYF4LM-iQ7R`MO&Xd0kOF|);kP#HJ=k0Tz(9vMHXXy?eU%UYx
z^n;vUB&d89`5|-8cpEMbKa8$FweNOWT+zxs7vw8bt`kctX-w%ssPJEaB_N`Fp0CLr
z<0&Mr%>Vub_Ct96<Hn_)ngIvumX4;Z0IM{$ik7~w!`|Xn9}$zdmW>fY4I5$0Fmb!8
zF21TN!5z~<HKdL{CI&H(iF=4t7{*>zE!?cCjcK=0$7apNPP6@yqVv~69m8qVjS@h%
fIxVM(oOj6Vp^=5mQk59Ej)%y?4Wy*hurB%o19|Fd
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-016.js
@@ -0,0 +1,40 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5e01d85221e16afd6f8589ff468608efcfbe97c5
GIT binary patch
literal 725
zc${5P(Q4Z;6cra^j1k6!U`jB>gfygE7ur$S!=94N?NX9-#HKG{4As6(MO8b<N|Sum
zezCGQqOq5IIp;{{=w6Mdi@SuZZkMC^e6;+@b1W2Bhp#KEH<&iyiKC478;MoL%VId=
z3MCVXlDt?OzB}ect{HQuZ^T3~g|AxZKQPJJqrh*N2_~7+V()*hl#w=L@?Z?Y2@}G=
z!AQ4tQ9By)+K?%eYgFbb#2t$=dx`W3lnQg5m}KP!g9%gF^F*+1h22yh8hCsxO)|+h
zs<XhINx7(Hp3U*~@!z$ql5{y;+$Ls$zu~j}#w67TwnD*2iu(;_s)hRuH}%|J5>L|U
z{lZPB=`05H9^z%9F`S3RR*2yn6I;B08k|QvsdxSzS&lL-XXU!TD5IlIq@HEDE9ed5
z0&_=UrTkQv39GPGDJE5o=ntl6&wW+?`M98t_?r;kY>TY1s<&K)c%16f<<%GWF1h-3
z?MDNhgS!Z#Rl1C0Gv^tco)GF%-?4!Z5;z20%Y_e3_u-=H6b80OBBDzG)S?z~;gZls
z1L!o}fs>}&&<%q&*nSH<(kC6u3))tVh^?#Rb&1y_c0^7c;?`Ewf;J3^11(|`&<P=V
E2l3C?YXATM
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-017.js
@@ -0,0 +1,40 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f61d0f73f6cd4ee297c21ac22322563431c219a0
GIT binary patch
literal 810
zc${5Q?`zvI5Ea50V}vmwgit~eCIokDOWS4bwz3aN=4B~Kw#9D0gfUe6mS}VBAgfFA
z-%plVJcdEfclYky4{11=--T#7UJPcl!QvZFAd_6~Z<j{bpJ?L;2NCQx0*Zp?+4+=9
z5G)O);MuD7dqbWj%2Vg`9+=?lF@+Bhr%W)ZSl$19x#-mzp=1)CR6bQ=Ozi7OXT;L9
zHv0nwtE{9(OsqiGRsA|t^N;4Rtu15^(>(sw8ZjBKM=5(Q;Iu5w;~6|X{yVG}iM?hW
zIwN5$_(oDy1%!k|%@fA?29{y8n9Rpvy}&c$o%x#y{E{fK=TtgjFp4Ih=MC7!uql^8
zV7Gx-+R-GM2BZ?e;5-D2u;dNz$MgHyFjyFC-Y6s!GJ-;qFHDtAT<XiUfGxG}!prad
z-aMxVU8*AaHgik*h!yZtwLvR+`krPgsk%JhTXXN^mR9}!4QZaQ+|e4eM@^?M3ZJ+#
zuQDyEq&slf)7i!4Tk`7a=H~h}sTg!C)I0eEECCVa(|kofGM++$=`vabLA|E0n0m-<
znht4Lwt*08n+RKmiO)4Q@UcdMdm5Yg!gf#_siTjH`jCm=AfjUizSd}As?o+r$L*G(
y|D7hf!nkEOT%(B`bY!?HQd-DXr{#2z`vTcb<XOlhS{Qe62U*xhHZoMTQ}hRbZ0c+P
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/expression-019.js
@@ -0,0 +1,44 @@
+/* -*- 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-019.js
+   Corresponds To:     11.2.2-7-n.js
+   ECMA Section:       11.2.2. The new operator
+   Description:
+
+   Author:             christine@netscape.com
+   Date:               12 november 1997
+*/
+var SECTION = "expression-019";
+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 STRING = new String("hi");
+  result = new STRING();
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "var STRING = new String(\"hi\"); result = new STRING();" +
+  " (threw " + exception + ")",
+  expect,
+  result );
+
+test();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f652dbd2b5f3867b26279f3660151a784486b35d
GIT binary patch
literal 845
zc$|GvQH$C@5Z+rt2q6RsB3F@P5s_Sb6_r8{`lL2k54Diwj)Ii3myB`Sn1s!$C#4U4
z=s)NW?j}WZ^r0{N?acS>%(pY++49aqtEoF$EJp5U7D6JJIKKO-bbE6qfYaC$oF$R-
zlyS&&mL~SB6s;NXD%l>hB$Tp>>sF*EsDP~`x(}2y`WVA|2x7{qkYwlIT*_M$8pqXh
zB5PBAtP*cV5~8H2=u;knsJhw}Rq6F{oCe=+3L7j~!1nRE^X3u`&;H@_<AjP}bN1XQ
z!%0kcIS^SLxPVZ4_JTA6!wWdeMCX(*8<h-NdA>VaPQ7ZTzm%c6r`&?40J7rihHScv
zh3PpHfA(>SU+MnLpF3Jc^BjZu;JBVlTjTrb@_sRP+?q)LE<+#mhi`8&xmxd%ps4h^
z-yih8=H$TT&OQJQf&1w^jXuGi#&-K8BWwHm`;T)J6;b<|*kZ%sK&)I)E_}$v?~^1a
zNh(MVS+N)h$>UK5TNb2o!BGwbI8S*_SVH!|%WVyYeL|CvY*@4bUMuQNXbzf?7yZur
zG8k%wt8S8#^CXCLkRB3kO<8>VKesF2b)0IXFXRl6VX1lzE9e3>G=z0UMa>dx$SzSw
z?Gi22Pz_9wJX+Y)Obx5(66+<WAfrT#ZkqKrLKj%7USia5DQ3N+s8&ruJ$YiIfz3Kn
TFL6gcH#KyHF*2|s)m`)lYOn=A
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/function-001.js
@@ -0,0 +1,53 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..19a151fbce64a45b4a3aebd9e55ba00af7cba0c8
GIT binary patch
literal 732
zc${5P?~B?n7!IM7QbH*rA|gj{QoQYUc(89{AGGV7Lwm!9`yyk+_MK+SwI$6>{d4x8
zF81IuMj>zBx6h9}$$Xi9$<TJOnXT8e%{Ng%sf9kjKReN6*)~4}sN_^DXc|$Kw=1DR
zahYi)%DtUOcAIIg;n7e>b5RxsWp&06TnWCD@DXy!71x!D{vR0yYKUB&t>iG~QrdPh
zGi6_1JnZnD9Wt)=psnp7g`)-fb6MrTP%q{>Kg5zhH9)dliCR-50ZKz*&Xna<4MTPi
zjb+|kqKSMBkGp^GWW?0D6?;j(&Dds{E;4(cfAG}(%@uw_4CzVgAWLGlyiYrD%Avl5
zCUB}D*FIaaRe~XSNH&=PjMxF_LRLF2>HY4fL3kP(9X-p?5440M)#jL!YkW<<a+9Fw
z?pyrZ>GX~sm3gqwzza~UT2=cft>}xVA*$+Fk|bWwzTbt+2*<pEPNTWfmoC)R^GlOY
zTu3NFIx!UEi0PJXlEemlg@;#&xFqy^2O-q+5%ydc58E2zQCkV_I01@~S*|cKA9C?6
zBJDp1ziz9CX<L0f829?v2|G@gqJbOq`p%_6zFECsgn|ijx@hbnm$X{Ahi{OF`^ZO*
HG3cVd<+|Ef
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/global-001.js
@@ -0,0 +1,45 @@
+/* -*- 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-001
+   Corresponds To:     ecma/GlobalObject/15.1-1-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-001";
+var VERSION = "ECMA_1";
+var TITLE   = "The Global Object";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+var result = "Failed";
+var exception = "No exception thrown";
+var expect = "Passed";
+
+try {
+  result = new this();
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "result = new this()" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9730fe3caa1e2909fdbb0bac40a0e6ff8d4ddd95
GIT binary patch
literal 727
zc${5PU5na46df)hgfN64B8!L&R>W<$i!J+B`k*$oF6tID?2D8#Cbv4<*+eF@RewqU
zZYNpTEPc6$d+wQYKV~vt-Ns}yTaTB^@%o2MF*DMfKb@Vya9$<9B<kpN&{z~Q&#o8J
zpcX1NT4uYN?@eTuTBd$8sEe@?1|Myqe=oEYTZLaRQ9=uo>%sq&)iY}*^tm?ZOodW)
zIviWrWu;?H-qa))dWWVSh4>SdC%;=$VUqn+iKhZ-oM?G4?G+whEy4A<(!31Z;d@!s
z0%m)lHkjI><0L=eRjHK85+Ap(ue6EzdcK;)^*#T>$o(TUwSp&Q;9U?$Q$D|2Q9K<m
zF%3K=cqn)G`J68zz~DYw$5z0O+Ftw{iWD`^7x~UJSQua-8=AewBctDi9V&&(9^WII
zseCIGyW2ik*XFLu-j7Bf=~p2YrrqcM>@zcVvEikE8-MtD(<qG4hFjmT3{z2HX!7ST
z9;|ZqGMs&-^JBK*>nN&sdjstrp)L)54+tSGpMdAMz$y%3P$7k`8;~Kfp#jvP4soGH
zXjKE~Rp`TYg&wrKttPl(0|G`aoS@Zo%7l0}`az!rSH$g*w;pjzC+a{SE{G2u;t{Y7
Gn&clW+1QK#
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/global-002.js
@@ -0,0 +1,45 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..373980bc1addf6b7eac78b5ad3ae4aacdfc54b27
GIT binary patch
literal 772
zc${64Z)@8y5XMzuj4_%qA%qe_5m^Z7)|GVRUD=By^SXrm8L{b`Fot4ZQ*DYJWVK0N
z?&I!TOi^exhC#>u?w-@*(_l0k$7p%C=ufBp#dn@TuDCkf{&w1(kx3pn$Y{TnP?o&N
zuP0oAWFl6Q=WENG1D<D^SWWAmNzPURK0_*)WU7$u|B)89?TlD41sknz44Dv?Q$3r>
zg9V+w4(t5bYGKd9gvm81YsDXkBK_6U4ImX{CX3Tz3-kqPV+J%6c^ER4KE8UX&tPXS
zK{Zny3iedO)v<}EQ`oHjT@i^>$+v15CyUYSF19=UgM02XllXlF_9<+Se;>rrFd5Bf
zL~Eaf@{>_Ai3seskgDK5TEx1Bp;9U)RRX0-=7X_T&`&gn9i6X!>b_fg62Cyx(YXw1
zM?Fdn=uYZ4`wA=rnG};^?T_P|AHDXhpszltZY_3ssEX6W(h1LjCLlL@_4?(?@Qr_R
zg=tN|o~KNF=yq?yqp2Y)fqY|nl^MSDlqTd0;{q}do|#xCizu>7c#B)-h`4^>5D%T9
znuoCKxVUX%fa@munEC`&kUq|Fpg-i|7V=Ha!(9^{+%S>gclBxwp)>4<6_22g7&oaC
hRxggZLz*bOKz;*tJmdyu7OvtNa_|)*$kP{GqrY~C=UM;&
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-001.js
@@ -0,0 +1,52 @@
+/* -*- 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-001.js
+   CorrespondsTo:      ecma/LexicalConventions/7.2.js
+   ECMA Section:       7.2 Line Terminators
+   Description:        - readability
+   - separate tokens
+   - may occur between any two tokens
+   - cannot occur within any token, not even a string
+   - affect the process of automatic semicolon insertion.
+
+   white space characters are:
+   unicode     name            formal name     string representation
+   \u000A      line feed       <LF>            \n
+   \u000D      carriage return <CR>            \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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2f4af4707e7ac6571a24132d7caee23e222ff395
GIT binary patch
literal 753
zc${5PQES^U5LSgT#;C@G5=sa~cp;=)7qXJK(TBwII+r9HvFS?~L$z<Im|_Q6ZIZ|R
zw*9fm4z0#8=(z8``|k7IG+x{#Xmz`s%;%Hkcb-F`xH^3NZS@Cnll<f$qy1JwRq?VI
z&bR`}M4}`w)&>uzyvQ|TdiwWFa`qtL6J&x(rZlVfKUT`V(MS|iu+jb9kO^UMs<oLs
z7{Hy1GW#`{=ww~g4W=|UV9Mkglrcn-O!BSjX$D9Ic_Wf!<rdl@Q`uuE*i!{TDi2Ni
z>ITu54(-0-cNVZSBd=;E&*rds_;*vQBwfaf+r;ej4<6gkOyYMf*k`b<7eX}oNhmLg
z!ZiN6aML)QMFjR+$P@<eK3XOk_D|g-<kNwAl(3`tlJ2Cw#1~*W$h4f5Yx0e0n>nU!
z0ehY?@qRSAZdHm&l|rTb`UzPD{Y6P%=Tj|L?g~fgBKgd?fZTy+CVW*MFYMkWAAXF7
zN1HcwX%M`)2`=f37eG^x8+{>t%xaY`qsaX68{DRdIIeFI8=auGjj&@m_@aqE9yZa%
z*DgU6>E|4K`a=%xBDbm8c+f-(_nJs>r|X|1bb{U1nN84Jj9VSc^DpY$B0c0?AvZvQ
VgB-8X!Xtc!EZjx}*?K@9{RNPx;pzYY
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-002.js
@@ -0,0 +1,52 @@
+/* -*- 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-002.js
+   Corresponds To:     ecma/LexicalConventions/7.2-3-n.js
+   ECMA Section:       7.2 Line Terminators
+   Description:        - readability
+   - separate tokens
+   - may occur between any two tokens
+   - cannot occur within any token, not even a string
+   - affect the process of automatic semicolon insertion.
+
+   white space characters are:
+   unicode     name            formal name     string representation
+   \u000A      line feed       <LF>            \n
+   \u000D      carriage return <CR>            \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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..cf6c0ce862de7d10c96a940b35a2664a211e04af
GIT binary patch
literal 770
zc${5QQHz^E5Z+rvL_{QnaD;FyAxO?%W7>wk^eM6Snj=X|lzR!K?CCVO?MB18cS#=m
zOZ!*4di1s}%6!gz^L_4&&gQF|1Z}R@)8%ry{=#x7B$KCiKMj94Z<22eM10%}s47+#
zqXm;7C{Ltd#a7q*GgjoPqBXuI6G<iP6ye`e!RQ@__mFWas8r<O|5_=CGNa<84SEsf
zT&I(%f^AVdrc`V}>bDLxrTgs}FS8#`k_on#orucpKH~JDf_^GaP5OMofzpGJkT;Sf
zEBA0!lPp`p?(XkRbXRcD8Tq4A(=;lyNz(Ovb)D#){=yUUkqZ36f#V)B=_YZM&Ofaj
z<?+B}3yvA=>y_B)JYB@@ZM;qtjiFUZDr5?k^y(1N3M{D}$U&&D@eybaA}tr?*7;1;
zF>-%Zl4mm_??rhiyr|sO16HFj2!leYAt%{WEeJ^vdSs|N;Xo{Sr2K6d*kM5a?NeR0
zx-oG+P{tweaX7M!@|WZBo6+~mzDZtvop`c*`Z@6BCSAv|p8pbe`p7XI*ETG4hB_9)
zwqfF{23<UA(7_j`i&{v9bL^-KnRtkthO=<cppAPC8o1kS_YgY6s(XO3e{Oi~fnl~h
g3)RtfFOWAzCP8frnNDMe3GO2szeWbKl&XV%1F?GKWdHyG
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-003.js
@@ -0,0 +1,43 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3716d0020d3ffcbcc54c52e022f90deed660a17c
GIT binary patch
literal 748
zc${5PQES^U5LORkj4{T95=sa`gb>oLE7{0f*+Y`Kox8*vvFS?~L$z<Im}&=EX_CkN
zrvAan9;-$X=+oVO-*?h!7R9#-S>LRt%jI<So#$96u8vo~t>GwYf}b2^c-Ts;Dqa?s
z3$9QyktoTFjmZzqF;Pt6qn7q(yvQ}n_zdot<m_JHC(HzsOqFu@I;9<`7BYD>mfblM
z!i1x#hD}lTFiCeN%Iw#~lu{-)s7!M*&^43_^M;vZ<rcjplYFcCsXWe^${t?sPXBTB
z^%~|yUE<jiAMgL4M<>R;iQ0|HT(Dh*>m*%8@l9f8`V15MiAi|t;bDuJYT+TnZT(<R
z>vux=NjOiVud$m(=^_O5@4{80<3N>v=j~lHE-(-1NIgj0(;&r4%~^#&>0aue`HU<_
znU;%k)2bAcswPm~lomT7=trvL4zGrBNnd(XZB_0IM`>p771O;<-v5|5_{0R9w*?+}
z#>BhvcoKZU<Gz%6<$Ys%Q29Dtg`s)rIdpo&bG^W}9CAY1E&<1O;j+O1Mh$u}wtUhf
zdh3Fx7jdDZRdvmQ(*|wmH)z3!ZtIMY6VU880CZsct+r(arw*xi+o!~D5vxzm9O8P7
R9SosOY`7p6akOec{s82y-=F{h
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-004.js
@@ -0,0 +1,52 @@
+/* -*- 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-004.js
+   Corresponds To:     ecma/LexicalExpressions/7.4.1-1-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-004";
+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 null = true;");
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "var null = true" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f6501c7719655569ddb31015aaefc370ebd72604
GIT binary patch
literal 742
zc${5P-)q}25LORkj4{T95JCt=gb>oLE7?e&${rHW>(V9Jh)rL@7^;0u#Z)`UN|QY9
zui3vj*=1E3g8R7d?!Nn>>1=rullAp#vRF)3KX`_@;_7(y+ZqgKwR6u=Mu)A$vgAd6
zG3N>;6S0y!-x$6(<$0zVQ!_BZSTTi<Ixx6plCwL3pD-0nGNpt4|G7d^Eym>02y{ax
zgmH%x4V%1DH00Qj36mRCW)ycSiuBicH3m-?_;~kvBQH)R->S|M_lE3iF_a3kx-w3S
zEfV^V(*xH`D`YBt2nE}f*h}QGc3*Z~$H{88ypGLH|G?OOViMkZc-Ug98hA)?Tiw8q
zqcE9$TY9?vPAE5-CG*I?jaIQH0ln``x6V3B?vQ?@_e_*{)e?B%DHHETqf4OfP5l1n
zxcxfA!6zoX&x{Mq8l_@VC0MF}4%LIiJq^C%abL)+3{>&_n}cORUq+%jtJvpoM)y*G
z`4?mv%A}YV8%I?#l~%|~Tqmn2GCQ6@n-b6QeA{x#328Y5T+4xH^r2Iu2LszDJ)+G8
zc={0s+PbQWxj<{Q;Z2PeH2TdhAt#`-PXU@eD`=itcF=H1Wo^Gjf+4Xx<by*Tua<)@
O^ob4U#3HV)8j-)ZINetO
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-005.js
@@ -0,0 +1,52 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..27560a1a2bc02bbbbe7a5915dee7014cc2e9eb3a
GIT binary patch
literal 758
zc${rfQES^U5LSgT#u#Hl2qlCfLI_URm28B)lszPw+oem=5u3h*F%<inYE|tZt4;FQ
zU$?)ti^r-lhCrwLzWYAiNu$a9Iws4j#c(zoF20EjaxL`!;>GHQlPb9rprYMIL0O6-
zKc5N>ipy9lk*^KjHOE+U4UZ^ok3^nfmGSA^awYgm!Y4>2S6mmW`!9qJtudF<7&7$X
zYHxtS5W_k@+>vm#25oK#4Q1-xku1`O4pN{rWK|ZY#Rj}MRbr#r9|n7=@a7!0M&1~6
zo!*Zne=6bZFr7$e@VNT>S=x!(S5>dWlVzMNCiAP<yy;Imu%Ef2Z)&hhVRM+&gWU#F
z?V-(+)P5X|lgZ88O(w}SqTt^~ix_hUp1JhCa_lk-5-9bUmq1x}Ua(gurtej;&DmDr
z2Ym*ffl7*Lv39THci#uzB^MIKy7>KZv{x%NSNdQUe1ZM8P+1wU5KUmq9F1^8!cL@I
zzU}uvgewL7fqi5-vNx+A*mBrA{U3O-OcqgOX717BCh=S^uxy7Mk%mjCW4rXciUB>T
zqDMo^BVB@9i~6{TOOH`?;2g@TXwhaBZCY>F8-yHDtgcb|{>1j{9m}c(4zY2!JVyLB
Yv09|z5ZABlXrG=Ei*|@j98{f=U-O{iFaQ7m
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-006.js
@@ -0,0 +1,58 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..1bfdc78aacf406de1dafb614508003b11237f6ae
GIT binary patch
literal 742
zc${5P(Q4Z;6jd+A7-NhHA%qZ$2*IRVSF({kl|3Y$*QHCmVVk~$F;x3D6;tgXD^2pa
zui0--@mL*(LB~4xoO5-h**v;U$m%AZE|=5zJI}FDTpg}|8UAQqZyq?xaKDjQRlF>&
z7F?lZB2khT>xTE6-$XHmPue<|@gmo%CTDoZBxm;mKVl}BWU7?@|CCPX2TX`2km?*J
z4-GMzYFHP?9t}BZ$dt)7s-~?y6J_?Z6EKxM27+xX>_xacX`rnr73TUZNmg!fkjg`?
zewk(XPf|zKA}7ft->A!@hG$EBx<9=rvP#l;9^E9(o&JW2`OGA|Zs9(|&2dsU34?V0
zHFC6TE0lx#4Q9$t=jkGJ@4`6IH9$Wq>5GM`M_KL)=M&=sb1%h81+2nWrI=L59nkIr
z6BW`ARLL!RU+}OiWnNiI7wJyw2mFjIN12w3at#-rD*wJ_N8p}kOuQM7-&^?1g!7H*
zsdM`_dHZA1I}N?|=t!RfcXXA;Vc5)g0klUP({T;kB4?yy6R=DZMm4%{RigvvhC{kU
zF9UG(M@-PJx@JMUMgv+k+Hl!#pA&KhTKx)O+%diO&@jA~MQptq&VYD6F}kE<5!0>X
Qpbzhe0YhRFOS>rf1IAO`R{#J2
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-007.js
@@ -0,0 +1,51 @@
+/* -*- 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();
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2b9263e8b29626a94df751428a1f91b50d1e9512
GIT binary patch
literal 756
zc${5PU2EGg6jg;W#t36V2qA<bLNIC9g>2+uQ1*~yZkLi|!#3SR7(=!1Qf;bjWaaB|
zzioePipQ!l1Ugqo=bo#3HJz{SVzj=ECd=g{`pPrN6<5dWUsf=f*N5*MWOyhgR247s
z;esoWOvFm^d}H{)gt1}@o^)z&%JWRCj8AaSBxer-K0qp%WJ=5X|8s?;I+4kvvFy&6
z5au|ZXxQYZ8VQpdP^QAbTp7JP6-D~9vx2?hs1|}$km>SqT9nZLN7Uk)LcK&DXH2D!
z&pln8BAzbc>EY#ANSsPus#YzY3AU|Z9VgLzbsL+R{>Ec_$0UB`#o;WOe_9bZl#r?h
z98xGxvmn}TE0mkelSPQZyAPvS>sl$RfWD_nZh`Kl{(+CcGLT8JC^io4m~a$S%BKVM
zC}B^@XQq3}$PMEHGECjO_|3O*`-RJOqf$(&<dmg~zn_UOx&jV7W#aW{^ltd0y1dz{
ztppl@9?T9h`lXOr6|4&S{9vjJ7W>>k8O^l)I*G#2bbNt(ZA2{MJGP6?P|HEswJm&A
zqmO$v5<Ij#6d=7dG0_WIm?Bc&x%j+B2ajsBareC0LFf!?bqnKu-}aha%WC*8vi0tG
c6nO(=wa{A!S){hZ4ctKvzC<>1bygew0r>3VaR2}S
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-008.js
@@ -0,0 +1,53 @@
+/* -*- 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();
+
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9eb5d5b09693f3521ad2c16f871e8ef0d80b1efb
GIT binary patch
literal 762
zc${5PU2EGg6jg;W#t36V2_=LeLI`Qsm2C87lszP#+hru)uub<6#!&1#S4_2yEa&5K
zzi@wPip%O!1iHHC>Yj6tG+zW?BDB5>XRFmL{J~Sm6<3FwKgM{nXp&zXq`xmER247s
zt0h+;nTV9+dDi0N_82Lq;8C{@=R8mKt(IqW&m?CX0iPfdOfpr-@oPvk^gSj-OGq^j
zlZO_t=b}h{U(a-s<wvEM$qZDhGiggNXfy~?L8=v_q$uI?I4Mt7@VI$tu@}Iu%}A6;
zUaGFgRPx{nR#z~L<)KNRoubiy?q;%veI3Q&BDjm%H~ovR%`KDoO$YV~lt-sd<a_br
zYe2MGEfj%$35l}fMZEMeIQM=S>1tQNo+nJaolZZ{6gG91futX)k~Q3rTgC;X<Qvl?
zq?Uq8xpbl)B<v`r<Dj6=YE+}eE_YS&^nHU@To!DZaAVEju?px;>c9RBECm@C%ObnD
ztyL|7hM>J}A*J67nO69m_}*&v^IfM>OsZq|Iu3om^?i=}T|`Xc8n%T_P}fG-GELlR
zqKl_ZB>2)G=snWg1$Oj8CLSQt)GYkeV_@1u8=p~kgwP4rx5pTt4ot@#8pdhILbl!w
da)z8CGJ0rYA=7E-@Cf&jfv=E_EZx;Z{{RoG<rV+{
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-009.js
@@ -0,0 +1,53 @@
+/* -*- 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();
+
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a448fa599266711579e41d679eba3a88f26ca282
GIT binary patch
literal 961
zc${rfVQbqk5LFLjj4{T95K0I|3n64(7ur$AShukzO}msf8@AVdC}pVjHPz<Yo-8Nn
z=lzWR!u^ZM?pAeU2y}Pv?w+3RM$_4GK+cc+{nOKZ|ANPuN-l5rei~bYX&qc~6q8jh
zuqb$z4o|p5!ID4<p3XJi8M7qOVPCs}WD;)_Q+LGEST$+d{uvXTT_$*dQNje1s=W6v
zmI<mFnYh)I#2zJC^mVJE=FutMT>ej@kCi@+x29M3T6XspG*2rxWMYm|i`w}3_hSQH
zszE1+1kYtR6t`n0qw9O(RvnHLRu)KACklzN`ce>OIrjblwfq`t&v2<}&x6pP&W-}T
zhwsLLxnKgGG;kGRUQNhR#bqMhU@{J;?`ICKa*U*#)ycvRr{T%ODb#)<36Gp53Xuu-
zY~ly1nAkU!K0vw@YD({r#VEq;B%6D5Ag={3sTX1)$E?6cA(@a><jL%A-|)DV;EG2q
zdAhx`V@Z`;gx9>Fl}81BE4dO!@1)Q#Y{80pPQ%~ghIg_krqzaH`#9M7yz3k?UIn>&
zL9Q2Nj)K0XQk2-AW%T~rRLRShY5QTp9#9JxEZICPWhs#QsOG!Cn10GcTsR+?ns<C2
z`jd&C=ntTM;#h9WuuZZ?IyM2vvS72eE!eKD3vW$>^oY7Pz*UD>@QS!9+yxk}cN#|1
zAP#9m%Uf@Fpl}Dk^ByLeI??oMQWKul)_@nawPDn43<z1P%H9CH>{*?LXP6spli2Du
dj3(*yiMdI-7O~t~2RsK#3>Xlbn5t`w`~veZAR7Px
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-011.js
@@ -0,0 +1,62 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f05f6a1c5375bad4e36392ad09468cf229ededbc
GIT binary patch
literal 755
zc${5QU2EGg6jg;W#t36V2_b|cLNIC9mA2%q>>=^oE+xr^ZMugrhHBrXVyYcv<?C@j
zt^cgD$Eq>}I=)x;oO7?_$#ij_pygdWp3lee51vDzxH{bYv4Y{W34U>q(S9wVs(4vk
z%(w!{M4}`wRwf^q&qOf=&zjnw@FLe$MrZKABxjETK0_v$WU7?G|0%7|3z-l`kZK(!
z4<<1jYgiSvhe^5<QD(nK<|t)y1<IJWL#DE)P_Rt}{Zt;B@U2-i&`gjD@<u1g$~ANs
zurmhdbuG{4@cj7xMo5xLzE<=fUC+~ymq{8=7k7!d(-%Clw@l&>1omslR15YQtm}cj
zBns2%*9Fm<8=>5En$98&-a`~8I^E6cR_Q0I<OXgq_32PON!U?*dUm@}8woT9?Y@Pa
zelKNSwJOD=N}*EjeRB14<iM5*zm7vz0o_Uch+lx^Ak%VIuG#|jJY(YH<<)iPy;ra(
z>06UjdzQO`d}Dgj+)-N1SLNRyf!s1KAYZ0&6q$ifaesh_LwwtE(GhC92s^feg9d$k
z(jdWIi=ZCT+W>odAqO8L(ww>Yx<MPCHE7}UPOFE|5!Tfd<5t`DT3yTXk6l#nHlfJ7
ZMAixFJIL`GIXuK|WaAF9kgHi2=oPPi;wu0E
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-012.js
@@ -0,0 +1,53 @@
+/* -*- 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();
+
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..754025a13dd5ac209f50b65ecad52a9c2ab6e2a7
GIT binary patch
literal 759
zc${5PU2EGg6jg;W#t36V2_=LeLNIC9m3GZr*+Y`KT}qM-+jI|M4As6(#Z=qKay}mS
z^Y*W%c&yrnKv(zNbB^wnCbQ*zj8=Eic(E8qUwH<(;%a~M!wQD8CVAo@!(Az%s(6uK
z%(()|M64vw*9H&FF;+~$i<b5$JkK=C_zWJH<m^$v2S^2zOcgTtAJPupDHFmNQtiX!
z-T>}I6zTWTSSRcJa8ttM8kD(bXi7%aPvm~eRQmkdAc<4SOLcw#c)Ea>$G=ByH{_{c
zbp=!#f>e;{ZsW8lp|gaop`yW`ded3MSj9;+Ti(UyO@HE%y<rl+AzD@o)q-6L<zZki
z4yVcN(~`ihgjBi7ESZNGyoWG~HB7fszxqdD8OWrV7i&jBr5xBW;j7~JSNL?Oo+WH)
zuq^1SG1XYH&ChOYRZE}|=q@*q(JzI}D)&CV`Zn?t?KNc;kXyzDWSElAOiz>bGI(OT
zP5PcHS;I~D-@H{RCe=ZVPul`^JZ0kT<<<2niNeqfeTq+dh&aTzT?-wdwu`W1JNR7_
zeN3B3aL*#>0_m-VJ-v{F14Npdg$GTvakq&s9=81fLPuD$+Zdm9ZO`vp)^W>1uHJ3Z
bLEZ_nDC#@N@ftgPjyuT4m&iqyRvn{XhSB5z
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-013.js
@@ -0,0 +1,53 @@
+/* -*- 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-013.js
+   Corresponds To:     7.4.3-6-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-013";
+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("default = true;");
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "default = true" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
+
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..d293238415b2cbb4d2c2af18e9a7062413fccde3
GIT binary patch
literal 968
zc${5QZEM>w5LOQpj1k6!P)Z0v3n64(7upfVShukzO}msf8@AVdC}pVjHC5-@nWVh*
zXYBKS;r_*BcdgrD(CMCg?(Vsh2jj_6K+X>Ry_1tY|6IhFYN2m;|5#hyap7DFl%v&5
zqEaGDd&fef<Vm2VNT(&<81f`3-A;K8G}m}zDzye8jZIQnwsXp*;1>z*W0Y{owV}8F
z$1=%GBA2&iN#YEWEc&sPmln|p-dsGExIVso=-K@GH1l4*kGb{|@9r5hP4koz?3ZB3
z<rH<PoCc8;Gu;a1?U3u}>Y-uV<e=0T7Yc(Yn_+!|%SY-8{xIQlh3uYeW-h2_LFkVs
zhe7!czpVYrf=hToaW%t8yV)$?lB(h=!s1Fz;d!FnU^EQJpC?W@4v$AvnfHk_JOd=|
z>BtXEgf3CaOgcBY08eLkPw0iH^pGobj)I-<eOnv1i7Sn1tk`>|<s5gNnPKY9gSnnd
zWIh_v3yj&fOvcK_1y9&gn!SEP9-|Di<811&uD+7EWSvRI9;7mZWy^FCUJ1qWMoi+*
zxiAB;yRq0cUvO2dw)bz)-rXb&)BLB1;W_=n&DP?o(p>6XJU!sTL>f;;18XF>5)n^c
zZtwJa*Xk_vN27AFzkzKMO5F|Ha>yEKI0UFoVNlo&Xcg9l&5A|d5_9yxH6Nkyk+{a~
z0`%86s#eV+71DsZw_f$Y;1vMRdmN~jfx1@|b>LlLZFp5!3*NM<Z9>*^+7>{kYuBot
kRcSOGlApF!Bef=}bO^HvbqgKv0k(+^uZcw*lhr1F0VJa$-2eap
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-014.js
@@ -0,0 +1,62 @@
+/* -*- 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();
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5bc53d621f29c7c79c3eb52c51db6ab9a662a541
GIT binary patch
literal 757
zc${5PU2EGg6jg;W#t36V2qlCfLI`Qsm3CxLWe-W_b}4B#Y|}l2F;x356;tgX-+Vpp
z$L)Vj@mRGDfsS<Ux#wP8ji>Xwge-33(f$1>{vvZIP~!gjhtnTS>&rI@I@+x?RFy1?
zi<v~wLM5nWv9x^O9upJ@&nC4ymPKw<)~Ej<v=omD-b1E@7HH(X|G83kCPFD|$c>NC
zdrJ&P2A0L4h9!rVOod(o+OqywmD%@hs`nFt+0#pd?Ky0%L8}f<lvr25jTvZ!+%%VD
z<qBAmX}QAQAHH_1Bjo(xC$oEae*Ak<izJPw^V`JE^d}v<8=>i|2JA9e9Ujk&c&(7Z
zZUq?zNi<2PALo8LO=nT?5XFhPQ3&|}pEPVayAe`B-mbRNw94Oc)N5d$glQ`GU?UXY
zYV$uIK;)p)a#k)o|46SrgbEuK3XQ2bg;@UnNdGRm`Z}bXo`wg0A}Z+5Oa9U)H}%VH
z(NeIJnNY7Uuil>BtZ}V@$6zM1ft-IXbzUvfIEw6(Pw7dAFrNjE=aM7R@(A@^pI+7&
z(0+}KzHu1o60>z^U>5P|fUr8|(q@egy{OTn$E_wO<cJz|o6?iE8#cR+6E<ApncZPM
b684C5OwK*x2eln-(FSqo8S#i~vN-t#)*<6m
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-015.js
@@ -0,0 +1,53 @@
+/* -*- 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();
+
+
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6bc2ee558ccfd0cfde8087b5d9f9fba7806e5516
GIT binary patch
literal 961
zc${5Qe{0(?5LFLjj4>vJ5JCt=3n64(7upfZShukzO}msf8@AW|QN~d1YpTt)GfDZ;
zzxOfr3HL1~yKB`AgU<Kv-P1iu!^!j{Bp1iQ!P(hC@P#LsDXwn!e_PwVNts-66yx<=
zpp-n%`lno>U}>lX&t?X1jaZtRv}=At#T4FXrS_0#iEc8oopUBQyG-#A<CF=ea?$-C
z(h7v?P9|=RraMgY`1^Jt&Eqq?xqLk0;6R62R%{tDF+*iG-2C*fPR~#cSf5-y%zSS*
zz{0EHP~C_^VWP(k<9v>td!U@GguE~oe6H#vrsC^S$`%sak+?0>hYgxjTp8JmFbXEq
z<Ivp0PwUWLG6B!3xQ=mN9EYdLi&XjHcoa=OOg&uBF;;$F7Nr|aqSG;fC!W+-6f19q
zLgd0f9|xgk1G+cG01hr$N>@VLdygzZ5#^`(%sXN{#boPfp%wyZfZEd%6Z$z9iEQW#
zk&?clN-VIV^1CNcPjSs-mOkIv-D^H(>;v^a>J$@qu8FED6%#5#sk+mgKDeRkTI8#&
zQWQo^qI(kVejQY3Pvf|v%jlX*s&tVG{ITHLJH2yCzp*8g<q`M)dhg#^rkE8kD1oO=
z(RdLB<FPr>U(lh%bNq(o+GK;YJOZxcz*ZR>@T!bHbZm<Zh+ZgE^hX@%6JMt<0N%D5
zRjXzZkF;R3R;l`+aSx#8KQ7cwq3)NWHnhuV!Co0%*y&Z<glrVFO@QsL)2#ZI-K^Wh
g)vIOINV7-mE%MSKPNkd!y6~D<@Q%2|)?GvL2Ul?)?f?J)
new file mode 100644
--- /dev/null
+++ b/js/src/jsapi-tests/binast/parser/multipart/spidermonkey/ecma_2/Exceptions/lexical-016.js
@@ -0,0 +1,62 @@
+/* -*- 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-016
+   Corresponds To:     7.4.3-9-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-016";
+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("class = true;");
+} catch ( e ) {