Skip to content
  • jer.noble@apple.com's avatar
    [Mac][WK2] Unable to play video protected by session cookies · b3711302
    jer.noble@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=127207
    
    Reviewed by Sam Weinig.
    
    Recent changes in our underlying media frameworks caused our shimmed methods
    in CookieStorageShim to stop being called. Insert an objective-c shim in addition
    to our original shim to intercept pulling cookies out of cookie storage.
    
    * Shared/mac/CookieStorageShim.mm: Renamed from Source/WebKit2/Shared/mac/CookieStorageShim.cpp.
    (WebKit::CookieStorageShim::initialize): Insert the shim.
    (-[WKNSURLSessionLocal _copyCookiesForRequestUsingAllAppropriateStorageSemantics:]):
        Pass through to webKitCookieStorageCopyRequestHeaderFieldsForURL().
    * WebKit2.xcodeproj/project.pbxproj: Rename CookieStorageShim.cpp -> .mm.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b3711302