[webkit-changes] [WebKit/WebKit] 6d48ee: [cocoa] Define and add new Error to surface failed...

Matthew Finkel noreply at github.com
Fri Dec 9 19:27:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d48ee17b3268ad1a688734f135400bbfe98bd73
      https://github.com/WebKit/WebKit/commit/6d48ee17b3268ad1a688734f135400bbfe98bd73
  Author: Matthew Finkel <sysrqb at apple.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

  Log Message:
  -----------
  [cocoa] Define and add new Error to surface failed main resource loads from privacy proxy
https://bugs.webkit.org/show_bug.cgi?id=248893
rdar://problem/103082081

Reviewed by Wenson Hsieh.

Expose the provided "privacy stance" in the NSError as a userinfo dictionary
entry;

Tested manually.

* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(privacyStanceToString):
(-[WKNetworkSessionDelegate URLSession:task:didCompleteWithError:]):

Canonical link: https://commits.webkit.org/257664@main




More information about the webkit-changes mailing list