Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ced9c800ec4609fd8ed19590023ef6b3e4cc96e
      
https://github.com/WebKit/WebKit/commit/4ced9c800ec4609fd8ed19590023ef6b3e4cc96e
  Author: Wenson Hsieh <[email protected]>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h
    M Source/WebKit/Platform/cocoa/NetworkIssueReporter.mm

  Log Message:
  -----------
  Upstream support for reporting connections to unlisted trackers as issues in 
Xcode
https://bugs.webkit.org/show_bug.cgi?id=258321

Reviewed by Tim Horton and Aditya Keerthi.

Upstream code from WebKitAdditions, in NetworkIssueReporter. This uses new 
CFNetwork and libnetwork
SPIs to raise any connections to unlisted trackers as issues in Xcode, if the 
relevant debug
settings are enabled (i.e. `ne_tracker_should_save_stacktrace` returns `true`).

* Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h:
* Source/WebKit/Platform/cocoa/NetworkIssueReporter.mm:
(WebKit::NetworkIssueReporter::isEnabled):
(WebKit::NetworkIssueReporter::shouldReport):
(WebKit::NetworkIssueReporter::NetworkIssueReporter):
(WebKit::NetworkIssueReporter::~NetworkIssueReporter):
(WebKit::NetworkIssueReporter::report):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to