JavaScriptCore:
authorkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Jan 2008 18:28:43 +0000 (18:28 +0000)
committerkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Jan 2008 18:28:43 +0000 (18:28 +0000)
commit6a8ea5dd9b7ab056a0bf7089ea09a611dd6b40cd
tree983b92078bac1c675168e824fb8073c3e997888f
parent37a432ff529f8fdc86c3aa1abe4010a21e43d92e
JavaScriptCore:

        Reviewed by Oliver.

        -<rdar://problem/5622667> REGRESSION (Leopard-ToT): Endless loading loop
        trying to view techreport.com comments
        - We need to set values in the map, because if they are already in the
        map they will not be reset when we use add().

        * kjs/array_instance.cpp:
        (KJS::ArrayInstance::put):

LayoutTests:

        Reviewed by Oliver.

        - <rdar://problem/5622667> REGRESSION (Leopard-ToT): Endless loading
        loop trying to view techreport.com comments
        - Any resetting of a value in an array of sufficient size, would cause
        the second value to be lost.

        * fast/js/array-reset-large-index-expected.txt: Added.
        * fast/js/array-reset-large-index.html: Added.
        * fast/js/resources/array-reset-large-index.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/array_instance.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/array-reset-large-index-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/array-reset-large-index.html [new file with mode: 0644]
LayoutTests/fast/js/resources/array-reset-large-index.js [new file with mode: 0644]