JavaScriptCore:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2007 01:50:54 +0000 (01:50 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2007 01:50:54 +0000 (01:50 +0000)
commit219ac31c31eea148551845f86b124abea9e41fe3
treea5ddc5ccbd41f889c9e134602e60810b7d33e37d
parent4a8fbe1e27393bfecce4b27e05cb9fb0f580e42f
JavaScriptCore:

        Reviewed by Mark.

        - follow-up to previous change

        * kjs/ustring.cpp:
        (KJS::UString::operator=): Make sure to reset the length when
        replacing the buffer contents for a single-owned string.

WebCore:

        Reviewed by Mark.

        - follow-up to previous change to avoid assertion failures in debug

        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::getResponseText): hold JSLock when needed
        (WebCore::XMLHttpRequest::open): ditto
        (WebCore::XMLHttpRequest::didFinishLoading): ditto
        (WebCore::XMLHttpRequest::didReceiveData): ditto
        * xml/XMLHttpRequest.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/ustring.cpp
WebCore/ChangeLog
WebCore/xml/XMLHttpRequest.cpp
WebCore/xml/XMLHttpRequest.h