Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 523d833347fe02025235fdda841aedfac41702ad
      
https://github.com/WebKit/WebKit/commit/523d833347fe02025235fdda841aedfac41702ad
  Author: Brian Weinstein <bweinst...@apple.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionController.mm

  Log Message:
  -----------
  Prevent loading extensions on iOS that don't use non-persistent background 
pages
https://bugs.webkit.org/show_bug.cgi?id=267939
rdar://121460660

Reviewed by Timothy Hatcher.

* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::load): Return early from load if we are 
attempting to load a persistent background
page on a platform that doesn't support it.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionController.mm:
(TestWebKitAPI::TEST(WKWebExtensionController, LoadingAndUnloadingContexts)): 
Add test verifying that a persistent
background page doesn't get loaded on iPhone.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to