Skip to content
  • rjw's avatar
    i Added a debug menu to turn back/forward cache on and off. · 683c446f
    rjw authored
            Off by default.  Use with discretion.  Still leaks like
            a sieve.  Useful to provide a sense of potential speed up.
    
            * Debug/DebugUtilities.m:
            (-[DebugUtilities createDebugMenu]):
            (-[BrowserDocument validate_showDOMTree:]):
            (-[BrowserDocument toggleBackForwardEnabled:]):
    
            Changes fro back/forward cache.
    
            * History.subproj/WebHistoryItem.h:
            * History.subproj/WebHistoryItem.m:
            (+[WebHistoryItem setUsePageCache:]):
            (+[WebHistoryItem usePageCache]):
            * WebCoreSupport.subproj/WebBridge.m:
            (-[WebBridge saveDocumentToPageCache:]):
            * WebView.subproj/WebFramePrivate.h:
            * WebView.subproj/WebFramePrivate.m:
            (-[WebFrame _detachFromParent]):
            (-[WebFrame _canCachePage]):
            (-[WebFrame _setState:]):
    
            Tweaked some debugging info.
    
            * khtml/xml/dom_docimpl.cpp:
            (DocumentImpl::~DocumentImpl):
            (DocumentImpl::detach):
    
            Added debugging info.  Fixed property map save function.
    
            * kjs/nodes.cpp:
            (FunctionCallNode::evaluate):
            * kjs/property_map.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    683c446f