haikuwebkit/LayoutTests/js/mozilla/eval/exhaustive-global-strictcal...

31 lines
517 B
Plaintext
Raw Permalink Normal View History

2011-02-16 Oliver Hunt <oliver@apple.com> Reviewed by Geoffrey Garen. Import some mozilla js strict mode regression tests https://bugs.webkit.org/show_bug.cgi?id=54579 Add a bunch of the mozilla strict mode tests, the majority of the tests pass. Those that fail fall into two categories * Tests for features we haven't implemented * Tests that test behaviour of arrays and arguments with non-writable properties * fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-strictcode.html: Added. * fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-strictcode.html: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-strictcode.html: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-strictcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-strictcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-strictcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-strictcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-normalcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-normalcode.html: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-strictcode-expected.txt: Added. * fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-strictcode.html: Added. * fast/js/mozilla/eval/script-tests/TEMPLATE.html: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-direct-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-direct-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-indirect-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-indirect-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-direct-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-direct-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-indirect-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-indirect-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-direct-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-direct-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-indirect-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-indirect-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-direct-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-direct-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-indirect-normalcode.js: Added. * fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-indirect-strictcode.js: Added. * fast/js/mozilla/eval/script-tests/undeclared-name-in-nested-strict-eval.js: Added. * fast/js/mozilla/eval/undeclared-name-in-nested-strict-eval-expected.txt: Added. * fast/js/mozilla/eval/undeclared-name-in-nested-strict-eval.html: Added. * fast/js/mozilla/resources/js-test-post-async.js: Added. * fast/js/mozilla/resources/js-test-post-function.js: Added. * fast/js/mozilla/resources/js-test-post-n.js: Added. * fast/js/mozilla/resources/js-test-post.js: Added. * fast/js/mozilla/resources/js-test-pre.js: Added. * fast/js/mozilla/resources/js-test-style.css: Added. * fast/js/mozilla/resources/mozilla-es5-shell.js: Added. * fast/js/mozilla/resources/mozilla-shell.js: Added. * fast/js/mozilla/strict/10.4.2-expected.txt: Added. * fast/js/mozilla/strict/10.4.2.html: Added. * fast/js/mozilla/strict/10.4.3-expected.txt: Added. * fast/js/mozilla/strict/10.4.3.html: Added. * fast/js/mozilla/strict/10.6-expected.txt: Added. * fast/js/mozilla/strict/10.6.html: Added. * fast/js/mozilla/strict/11.1.5-expected.txt: Added. * fast/js/mozilla/strict/11.1.5.html: Added. * fast/js/mozilla/strict/11.13.1-expected.txt: Added. * fast/js/mozilla/strict/11.13.1.html: Added. * fast/js/mozilla/strict/11.13.2-expected.txt: Added. * fast/js/mozilla/strict/11.13.2.html: Added. * fast/js/mozilla/strict/11.3.1-expected.txt: Added. * fast/js/mozilla/strict/11.3.1.html: Added. * fast/js/mozilla/strict/11.3.2-expected.txt: Added. * fast/js/mozilla/strict/11.3.2.html: Added. * fast/js/mozilla/strict/11.4.1-expected.txt: Added. * fast/js/mozilla/strict/11.4.1.html: Added. * fast/js/mozilla/strict/11.4.4-expected.txt: Added. * fast/js/mozilla/strict/11.4.4.html: Added. * fast/js/mozilla/strict/11.4.5-expected.txt: Added. * fast/js/mozilla/strict/11.4.5.html: Added. * fast/js/mozilla/strict/12.10.1-expected.txt: Added. * fast/js/mozilla/strict/12.10.1.html: Added. * fast/js/mozilla/strict/12.14.1-expected.txt: Added. * fast/js/mozilla/strict/12.14.1.html: Added. * fast/js/mozilla/strict/12.2.1-expected.txt: Added. * fast/js/mozilla/strict/12.2.1.html: Added. * fast/js/mozilla/strict/13.1-expected.txt: Added. * fast/js/mozilla/strict/13.1.html: Added. * fast/js/mozilla/strict/15.10.7-expected.txt: Added. * fast/js/mozilla/strict/15.10.7.html: Added. * fast/js/mozilla/strict/15.3.4.5-expected.txt: Added. * fast/js/mozilla/strict/15.3.4.5.html: Added. * fast/js/mozilla/strict/15.3.5.1-expected.txt: Added. * fast/js/mozilla/strict/15.3.5.1.html: Added. * fast/js/mozilla/strict/15.3.5.2-expected.txt: Added. * fast/js/mozilla/strict/15.3.5.2.html: Added. * fast/js/mozilla/strict/15.4.4.12-expected.txt: Added. * fast/js/mozilla/strict/15.4.4.12.html: Added. * fast/js/mozilla/strict/15.4.4.13-expected.txt: Added. * fast/js/mozilla/strict/15.4.4.13.html: Added. * fast/js/mozilla/strict/15.4.4.6-expected.txt: Added. * fast/js/mozilla/strict/15.4.4.6.html: Added. * fast/js/mozilla/strict/15.4.4.8-expected.txt: Added. * fast/js/mozilla/strict/15.4.4.8.html: Added. * fast/js/mozilla/strict/15.4.4.9-expected.txt: Added. * fast/js/mozilla/strict/15.4.4.9.html: Added. * fast/js/mozilla/strict/15.4.5.1-expected.txt: Added. * fast/js/mozilla/strict/15.4.5.1.html: Added. * fast/js/mozilla/strict/15.5.5.1-expected.txt: Added. * fast/js/mozilla/strict/15.5.5.1.html: Added. * fast/js/mozilla/strict/15.5.5.2-expected.txt: Added. * fast/js/mozilla/strict/15.5.5.2.html: Added. * fast/js/mozilla/strict/8.12.5-expected.txt: Added. * fast/js/mozilla/strict/8.12.5.html: Added. * fast/js/mozilla/strict/8.12.7-expected.txt: Added. * fast/js/mozilla/strict/8.12.7.html: Added. * fast/js/mozilla/strict/8.7.2-expected.txt: Added. * fast/js/mozilla/strict/8.7.2.html: Added. * fast/js/mozilla/strict/B.1.1-expected.txt: Added. * fast/js/mozilla/strict/B.1.1.html: Added. * fast/js/mozilla/strict/B.1.2-expected.txt: Added. * fast/js/mozilla/strict/B.1.2.html: Added. * fast/js/mozilla/strict/assign-to-callee-name-expected.txt: Added. * fast/js/mozilla/strict/assign-to-callee-name.html: Added. * fast/js/mozilla/strict/directive-prologue-01-expected.txt: Added. * fast/js/mozilla/strict/directive-prologue-01.html: Added. * fast/js/mozilla/strict/eval-variable-environment-expected.txt: Added. * fast/js/mozilla/strict/eval-variable-environment.html: Added. * fast/js/mozilla/strict/function-name-arity-expected.txt: Added. * fast/js/mozilla/strict/function-name-arity.html: Added. * fast/js/mozilla/strict/primitive-this-no-writeback-expected.txt: Added. * fast/js/mozilla/strict/primitive-this-no-writeback.html: Added. * fast/js/mozilla/strict/regress-532041-expected.txt: Added. * fast/js/mozilla/strict/regress-532041.html: Added. * fast/js/mozilla/strict/regress-532254-expected.txt: Added. * fast/js/mozilla/strict/regress-532254.html: Added. * fast/js/mozilla/strict/regress-599159-expected.txt: Added. * fast/js/mozilla/strict/regress-599159.html: Added. * fast/js/mozilla/strict/script-tests/10.4.2.js: Added. * fast/js/mozilla/strict/script-tests/10.4.3.js: Added. * fast/js/mozilla/strict/script-tests/10.6.js: Added. * fast/js/mozilla/strict/script-tests/11.1.5.js: Added. * fast/js/mozilla/strict/script-tests/11.13.1.js: Added. * fast/js/mozilla/strict/script-tests/11.13.2.js: Added. * fast/js/mozilla/strict/script-tests/11.3.1.js: Added. * fast/js/mozilla/strict/script-tests/11.3.2.js: Added. * fast/js/mozilla/strict/script-tests/11.4.1.js: Added. * fast/js/mozilla/strict/script-tests/11.4.4.js: Added. * fast/js/mozilla/strict/script-tests/11.4.5.js: Added. * fast/js/mozilla/strict/script-tests/12.10.1.js: Added. * fast/js/mozilla/strict/script-tests/12.14.1.js: Added. * fast/js/mozilla/strict/script-tests/12.2.1.js: Added. * fast/js/mozilla/strict/script-tests/13.1.js: Added. * fast/js/mozilla/strict/script-tests/15.10.7.js: Added. * fast/js/mozilla/strict/script-tests/15.3.4.5.js: Added. * fast/js/mozilla/strict/script-tests/15.3.5.1.js: Added. * fast/js/mozilla/strict/script-tests/15.3.5.2.js: Added. * fast/js/mozilla/strict/script-tests/15.4.4.12.js: Added. * fast/js/mozilla/strict/script-tests/15.4.4.13.js: Added. * fast/js/mozilla/strict/script-tests/15.4.4.6.js: Added. * fast/js/mozilla/strict/script-tests/15.4.4.8.js: Added. * fast/js/mozilla/strict/script-tests/15.4.4.9.js: Added. * fast/js/mozilla/strict/script-tests/15.4.5.1.js: Added. * fast/js/mozilla/strict/script-tests/15.5.5.1.js: Added. * fast/js/mozilla/strict/script-tests/15.5.5.2.js: Added. * fast/js/mozilla/strict/script-tests/8.12.5.js: Added. * fast/js/mozilla/strict/script-tests/8.12.7.js: Added. * fast/js/mozilla/strict/script-tests/8.7.2.js: Added. * fast/js/mozilla/strict/script-tests/B.1.1.js: Added. * fast/js/mozilla/strict/script-tests/B.1.2.js: Added. * fast/js/mozilla/strict/script-tests/TEMPLATE.html: Added. * fast/js/mozilla/strict/script-tests/assign-to-callee-name.js: Added. * fast/js/mozilla/strict/script-tests/directive-prologue-01.js: Added. * fast/js/mozilla/strict/script-tests/eval-variable-environment.js: Added. * fast/js/mozilla/strict/script-tests/function-name-arity.js: Added. * fast/js/mozilla/strict/script-tests/primitive-this-no-writeback.js: Added. * fast/js/mozilla/strict/script-tests/regress-532041.js: Added. * fast/js/mozilla/strict/script-tests/regress-532254.js: Added. * fast/js/mozilla/strict/script-tests/regress-599159.js: Added. * fast/js/mozilla/strict/script-tests/strict-this-is-not-truthy.js: Added. * fast/js/mozilla/strict/script-tests/this-for-function-expression-recursion.js: Added. * fast/js/mozilla/strict/script-tests/unbrand-this.js: Added. * fast/js/mozilla/strict/strict-this-is-not-truthy-expected.txt: Added. * fast/js/mozilla/strict/strict-this-is-not-truthy.html: Added. * fast/js/mozilla/strict/this-for-function-expression-recursion-expected.txt: Added. * fast/js/mozilla/strict/this-for-function-expression-recursion.html: Added. * fast/js/mozilla/strict/unbrand-this-expected.txt: Added. * fast/js/mozilla/strict/unbrand-this.html: Added. Canonical link: https://commits.webkit.org/68710@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-02-16 21:26:26 +00:00
514568: eval in all its myriad flavors
PASS 17 === 17
PASS 4 === 4
PASS 4 === 4
PASS 7 === 7
PASS 7 === 7
PASS 9 === 9
PASS 9 === 9
PASS false === false
PASS 9 === 9
PASS 9 === 9
PASS 23 === 23
PASS 23 === 23
PASS ReferenceError === ReferenceError
PASS 5 === 5
PASS 5 === 5
PASS 8 === 8
PASS 8 === 8
PASS 2 === 2
PASS 2 === 2
PASS true === true
PASS ReferenceError === ReferenceError
PASS ReferenceError === ReferenceError
PASS 71 === 71
PASS 71 === 71
Tests complete!
PASS successfullyParsed is true
TEST COMPLETE