Changeset 64773 in webkit
- Timestamp:
- Aug 5, 2010 12:33:42 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r64763 r64773 1 2010-08-05 Michael Saboff <msaboff@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Fixed https://bugs.webkit.org/show_bug.cgi?id=43401 where array 6 content aren't properly initialized as part of unshift. 7 8 * runtime/JSArray.cpp: 9 (JSC::JSArray::unshiftCount): 10 1 11 2010-08-05 Jian Li <jianli@chromium.org> 2 12 -
trunk/JavaScriptCore/runtime/JSArray.cpp
r64620 r64773 851 851 setArrayStorage(storage); 852 852 m_vectorLength += count; 853 } else if ( (!m_indexBias) && (!increaseVectorPrefixLength(m_vectorLength + count))) {853 } else if (!increaseVectorPrefixLength(m_vectorLength + count)) { 854 854 throwOutOfMemoryError(exec); 855 855 return; 856 856 } 857 858 for (int i = 0; i < count; i++) 859 m_vector[i] = JSValue(); 857 860 } 858 861 -
trunk/LayoutTests/ChangeLog
r64769 r64773 1 2010-08-05 Michael Saboff <msaboff@apple.com> 2 3 Reviewed by Darin Adler. 4 5 New regression tests added as part of unshift fix for bug described 6 inhttps://bugs.webkit.org/show_bug.cgi?id=43401. 7 8 * fast/js/script-tests/unshift-multi.js: Added. 9 * fast/js/unshift-multi-expected.txt: Added. 10 * fast/js/unshift-multi.html: Added. 11 1 12 2010-08-05 Martin Robinson <mrobinson@igalia.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.