REGRESSION (r168256): ASSERTION FAILED: (buffer + m_length) == position loading vanit...
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 May 2014 23:39:04 +0000 (23:39 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 May 2014 23:39:04 +0000 (23:39 +0000)
commit6f136284bf0c1e17ba2f8e3a48d25264775da69c
tree747306e5bbc01eee3da29540ad8cbd65d5f43817
parent9f244646c47956e0e139529365945121a746f203
REGRESSION (r168256): ASSERTION FAILED: (buffer + m_length) == position loading vanityfair.com article.
<https://webkit.org/b/168256>
<rdar://problem/16816316>

Source/JavaScriptCore:
Make resolveRopeSlowCase8() behave like its 16-bit counterpart and not
clear the fibers. The caller takes care of this.

Test: fast/dom/getElementById-with-rope-string-arg.html

Reviewed by Geoffrey Garen.

* runtime/JSString.cpp:
(JSC::JSRopeString::resolveRopeSlowCase8):

LayoutTests:
Reviewed by Geoffrey Garen.

* fast/dom/getElementById-with-rope-string-arg-expected.txt: Added.
* fast/dom/getElementById-with-rope-string-arg.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/getElementById-with-rope-string-arg-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/getElementById-with-rope-string-arg.html [new file with mode: 0644]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSString.cpp