Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 778b4272eb823f94bfb1162f0aa935096b09f105
      
https://github.com/WebKit/WebKit/commit/778b4272eb823f94bfb1162f0aa935096b09f105
  Author: Wenson Hsieh <[email protected]>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm

  Log Message:
  -----------
  REGRESSION (256117@main): Unable to toggle network connection integrity using 
`-_setNetworkConnectionIntegrityEnabled:`
https://bugs.webkit.org/show_bug.cgi?id=247246

Reviewed by Tim Horton.

* Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences.mm:
(-[WKWebpagePreferences _setNetworkConnectionIntegrityEnabled:]):

Add or remove the `Enabled` flag, instead of unconditionally adding the flag.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:

Add a simple API test to exercise the change.

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


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

Reply via email to