[Webkit-unassigned] [Bug 184987] New: [Cocoa] ResourceRequest constructors should retain 'isTopSite' (and other) state

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 25 11:55:17 PDT 2018


            Bug ID: 184987
           Summary: [Cocoa] ResourceRequest constructors should retain
                    'isTopSite' (and other) state
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

When we convert a ResourceRequest to a cocoa type (e.g., CFURLRequest/NSURLRequest) for Cocoa/CFNetwork API use, and then attempt to build new ResourceRequest objects (perhaps during redirect delegate calls from CFNetwork) using the constructors from CFURLRequest and NSURLRequest, we end up losing useful states (e.g., 'isTopSite()').

We should try to retain this state somewhere, perhaps by using properties on the CFNetwork objects (e.g., _propertyForKey:@"_kCFHTTPCookiePolicyPropertyIsTopLevelNavigation").

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180425/31070d7d/attachment.html>

More information about the webkit-unassigned mailing list