[Webkit-unassigned] [Bug 221430] New: Create stub methods to support finer-grained control over loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 15:24:40 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221430

            Bug ID: 221430
           Summary: Create stub methods to support finer-grained control
                    over loading
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The Cocoa API for loading content through file URLs, NSData objects, and HTML strings lack the same context provided for NSURLRequests.

This is unfortunate because NSURLRequest supports hinting to the networking subsystem about things like 'allowsConstrainedNetworkAccess' (indicates whether connections may use the network when the user has specified Low Data Mode), or 'allowsExpensiveNetworkAccess' (connections may use a network interface that the system considers expensive), and 'networkServiceType' (hints if the content is video, text, voice, etc.)

This first patch adds stubs for a proposed API that calls into the existing load features. Subsequent patches will expand the logic to thread state properly.

-- 
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/20210204/546557c1/attachment.htm>


More information about the webkit-unassigned mailing list