Skip to content
  • kbalazs@webkit.org's avatar
    2011-03-14 Balazs Kelemen <kbalazs@webkit.org> · 38955ed6
    kbalazs@webkit.org authored
            Reviewed by Adam Roben.
    
            [Qt][WK2]Unbreak InjectedBundle on Qt
            https://bugs.webkit.org/show_bug.cgi?id=54109
    
            No code changes so no new tests.
    
            Revert the changes that were needed to use KURL
            in WebKitTestRunner.
    
            * Configurations/WebCore.xcconfig:
            * WebCore.exp.in:
    2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
    
            Reviewed by Adam Roben.
    
            [Qt][WK2]Unbreak InjectedBundle on Qt
            https://bugs.webkit.org/show_bug.cgi?id=54109
    
            Add API's to WKURL and WKString to satisfy
            WebKitTestRunner's needs.
    
            * Shared/API/c/WKString.cpp:
            (WKStringIsEqualToUTF8CStringIgnoringCase):
            * Shared/API/c/WKString.h:
            * Shared/API/c/WKURL.cpp:
            (WKURLCopyHostName):
            (WKURLCopyScheme):
            * Shared/API/c/WKURL.h:
            * Shared/WebString.h:
            (WebKit::WebString::equalToUTF8StringIgnoringCase):
            * Shared/WebURL.h: Added OwnPtr<KURL> member to be able
            to lazily parse the URL and store the result.
            (WebKit::WebURL::host):
            (WebKit::WebURL::protocol):
            (WebKit::WebURL::parseURLIfNecessary):
            * win/WebKit2.def: Revert the symbol exports that were
            needed to use KURL in WebKitTestRunner.
    2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
    
            Reviewed by Adam Roben.
    
            [Qt][WK2]Unbreak InjectedBundle on Qt
            https://bugs.webkit.org/show_bug.cgi?id=54109
    
            * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
            (WTR::InjectedBundlePage::willSendRequestForFrame): Use new WebKit2
            API's instead of KURL to analyze the URL.
            * WebKitTestRunner/StringFunctions.h:
            (WTR::adoptWK): Moved from InjectedBundlePage.cpp to make it available globally
            in the WebKitTestRunner project.
            (WTR::toWK): Use adoptWK.
            (WTR::operator<<): Added helper for printing a WKURL.
            * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Do not link
            against WebCore.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    38955ed6