[webkit-changes] [WebKit/WebKit] c5eb2b: Add wasPrivateRelayed to WKNavigationResponse

nmahendru noreply at github.com
Fri Jan 24 12:45:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c5eb2bcf1f2a3cb4cbb5cc2c908a017463629643
      https://github.com/WebKit/WebKit/commit/c5eb2bcf1f2a3cb4cbb5cc2c908a017463629643
  Author: Nitin Mahendru <nitinmahendru at apple.com>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponse.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponsePrivate.h

  Log Message:
  -----------
  Add wasPrivateRelayed to WKNavigationResponse
https://bugs.webkit.org/show_bug.cgi?id=286373
rdar://142577061

Reviewed by Alex Christensen.

WKWebView._wasPrivateRelayed is only valid after pageload has committed.
This is another way to get the same info as a response from WebKit for provisional loads/loads
that have not committed yet.

* Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponse.mm:
(-[WKNavigationResponse _wasPrivateRelayed]):
* Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponsePrivate.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list