WebCore:
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jun 2007 02:46:18 +0000 (02:46 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jun 2007 02:46:18 +0000 (02:46 +0000)
commit979121f53031ba2f8ea0cc8db39ea35fe0bf7ceb
tree78e071943cab9a013612aca7c08fa743b937b994
parent3171294ed08bac8657f14b89fb37d573a0404306
WebCore:

        Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.

        Fixed <rdar://problem/5222911> Leopard9A446 : VitalSource Bookshelf 4.5:
        Crashes when you click on sign in (stringByEvaluatingJavaScriptFromString
        returning nil instead of "")

        I'm basically rolling out the change for <rdar://problem/4782422> because
        my testing shows that it was backwards.

        * html/HTMLElement.cpp:
        (dumpInnerHTML): New debug-only function to work around gdb being
        perpetually suck-tastic.

        * page/mac/WebCoreFrameBridge.mm:
        (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):

        Return "", not nil. This function never used to return nil, so let's not
        start now. I've filed <rdar://problem/5283271> to cover the documentation bug,

WebKitTools:

        Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.

        Added tests for stringByEvaluatingJavaScriptFromString.

        * DumpRenderTree/DumpRenderTree.m:
        (testStringByEvaluatingJavaScriptFromString):
        (dumpRenderTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/html/HTMLElement.cpp
WebCore/page/mac/WebCoreFrameBridge.mm
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.m