Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1d57cc0609c60594f0a72dacc169ca781cffd93d
      
https://github.com/WebKit/WebKit/commit/1d57cc0609c60594f0a72dacc169ca781cffd93d
  Author: Jessica Lee <[email protected]>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M 
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ParentalControlsContentFilteringTests.mm

  Log Message:
  -----------
  Check willContinueLoading for iframes when provisional frame loads fail.
https://bugs.webkit.org/show_bug.cgi?id=320223
rdar://183162111

Reviewed by Sihui Liu.

When site isolation is enabled, an iframe's shield page fails to load if its 
content is blocked.
The iframe's WebContent is torn down while it's committing the load for the 
shield / substitute data.
The subframe teardown path needs to apply the same willContinueLoading check 
that the main-frame
path already uses before destroying a
process.

Test: 
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ParentalControlsContentFilteringTests.mm

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared):
* 
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ParentalControlsContentFilteringTests.mm:
(TEST(ParentalControlsContentFilteringTests, BlockedIframe)):

Canonical link: 
https://flagged.apple.com:443/proxy?t2=Dc8X8I4lG7&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE4MDg1QG1haW4=&emid=b666a8ab-af4d-4b95-95a6-9b17be5fe72f&c=11



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

Reply via email to