Skip to content
  • zecke@webkit.org's avatar
    2007-12-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com> · 5037e00d
    zecke@webkit.org authored
            Reviewed by Sam Weinig.
    
            * Add FrameLoader::shouldTreatSchemeAsLocal which is similar to
            shouldTreatURLAsLocal.
            * Make use of FrameLoader::shouldTreatSchemeAsLocal in SecurityOrigin
            and do not hardcode "file". This is needed for the WebKit/qt port to make
            the Web Inspector work as it using the qrc protocol instead of file.
    
            * loader/FrameLoader.cpp:
            (WebCore::FrameLoader::shouldTreatSchemeAsLocal):
            * loader/FrameLoader.h:
            * platform/SecurityOrigin.cpp:
            (WebCore::SecurityOrigin::isSecureTransitionTo):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5037e00d