- fix mistake causing nearly all tests to fail on Windows
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2007 20:42:24 +0000 (20:42 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2007 20:42:24 +0000 (20:42 +0000)
commit0b6dd5d74dd8a8002b8cfd3f81e1864b8bd31987
treea1112046c052d55ee924e9447a16a2b76dbc9f81
parent50df13ecaaf75eb0ca955098a3a3358b52515c60
    - fix mistake causing nearly all tests to fail on Windows

        * DumpRenderTree/win/UIDelegate.cpp:
        (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
        npos, not 0. Also pass URL in to URL function rather than passing the entire message.

        * DumpRenderTree/mac/UIDelegate.mm:
        (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
        than passing the entire message.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/mac/UIDelegate.mm
WebKitTools/DumpRenderTree/win/UIDelegate.cpp