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