Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 112f78d912837acf33c3dd7be43b6d1a117b4e5f
https://github.com/WebKit/WebKit/commit/112f78d912837acf33c3dd7be43b6d1a117b4e5f
Author: Timothy Hatcher <[email protected]>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M Source/WebCore/en.lproj/Localizable.strings
M Source/WebKit/UIProcess/Extensions/WebExtension.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIWebRequest.mm
Log Message:
-----------
Remove webRequest error about non-persistent background content.
https://webkit.org/b/292073
rdar://problem/150051544
Reviewed by Brian Weinstein.
The error was not preventing `webRequest` from being used since Safari 18.
Chrome and Firefox allow webRequest in non-persistent background content,
so we should allow it and drop the non-fatal error.
Update webRequest tests to use manifest v3 and added some v2 tests for coverage.
* Source/WebCore/en.lproj/Localizable.strings: Removed error string.
* Source/WebKit/UIProcess/Extensions/WebExtension.cpp:
(WebKit::WebExtension::populateBackgroundPropertiesIfNeeded): Removed error.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIWebRequest.mm:
(TestWebKitAPI::TEST(WKWebExtensionAPIWebRequest, ManifestV2Persistent)): Added.
(TestWebKitAPI::TEST(WKWebExtensionAPIWebRequest, ManifestV2NonPersistent)):
Added.
Canonical link: https://commits.webkit.org/294142@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes