JavaScriptCore:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Feb 2006 01:31:31 +0000 (01:31 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Feb 2006 01:31:31 +0000 (01:31 +0000)
commit67b0a531e429e36f2077817bfa59e41384dbbbc3
treed5c2265145d3ed9ba4553f0b733586fca2e5f9c2
parentf9a33118b77793cd9bb8f5a1bdfc7cd0b9547847
JavaScriptCore:

        Test: fast/js/toString-exception.html

        Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7343
          REGRESSION: fast/js/toString-overrides.html fails when run multiple times

        * kjs/array_object.cpp:
        (ArrayProtoFunc::callAsFunction): Remove the object from the visited elements set before
        returning an error.

LayoutTests:

        Reviewed by Maciej.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7343
          REGRESSION: fast/js/toString-overrides.html fails when run multiple times

        * fast/js/resources/toString-exception.js: Added.
        * fast/js/toString-exception-expected.txt: Added.
        * fast/js/toString-exception.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/array_object.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/resources/toString-exception.js [new file with mode: 0644]
LayoutTests/fast/js/toString-exception-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/toString-exception.html [new file with mode: 0644]