Skip to content
  • mitz@apple.com's avatar
    [Cocoa] Add -[WKNavigationData response] · 634f4981
    mitz@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123918
    
    Reviewed by Sam Weinig.
    
    * Shared/WebNavigationDataStore.h: Added a ResourceResponse data member.
    (WebKit::WebNavigationDataStore::encode): Encode the response.
    (WebKit::WebNavigationDataStore::decode): Decode the response.
    * UIProcess/Cocoa/WKNavigationData.h: Declared new property.
    * UIProcess/Cocoa/WKNavigationData.mm:
    (-[WKNavigationData response]): Added.
    * UIProcess/WebNavigationData.h:
    (WebKit::WebNavigationData::response): Added.
    * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
    (WebKit::WebFrameLoaderClient::updateGlobalHistory): Set the response in the data store.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    634f4981