Skip to content
  • beidson@apple.com's avatar
    WebCore: · af2e011f
    beidson@apple.com authored
    2008-04-14  Brady Eidson  <beidson@apple.com>
    
            Reviewed by Anders
    
            Add a hidden pref to debug WebArchive loading.  With this pref on, when loading a WebArchive,
            if the resource isn't in the ArchiveResourceCollection, the loader will not fall back to the 
            network and will instead fail the load as "cancelled."
    
            * loader/ResourceLoader.cpp:
            (WebCore::ResourceLoader::load): Do the check here.
    
            * page/Settings.cpp:
            (WebCore::Settings::Settings):
            (WebCore::Settings::setWebArchiveDebugModeEnabled):
            * page/Settings.h:
            (WebCore::Settings::webArchiveDebugModeEnabled):
    
    WebKit/mac:
    
    2008-04-14  Brady Eidson  <beidson@apple.com>
    
            Reviewed by Anders
    
            Add a hidden pref to debug WebArchive loading.  With this pref on, when loading a WebArchive,
            if the resource isn't in the ArchiveResourceCollection, the loader will not fall back to the 
            network and will instead fail the load as "cancelled."
    
            * WebView/WebPreferenceKeysPrivate.h:
    
            * WebView/WebPreferences.m:
            (+[WebPreferences initialize]):
            (-[WebPreferences _webArchiveDebugModeEnabled]):
            * WebView/WebPreferencesPrivate.h:
    
            * WebView/WebView.mm:
            (-[WebView _preferencesChangedNotification:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    af2e011f