Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webextensions.api.webRequest - Safari dropped support in Manifest v3 #24571

Open
cgorringe opened this issue Sep 29, 2024 · 1 comment
Open
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions

Comments

@cgorringe
Copy link

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

Compatibility chart says webRequest has Full support since Safari 14. But it isn't fully supported on Manifest v3 on Safari.

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

It needs an asterisk * with a note that it is not supported on Manifest v3 on Safari.

Did you test this? If so, how?

Using a webextension I converted to Manifest v3, which works fine on Chrome, but no longer loads on Safari (tested on 18.0.) Safari gives the error: An extension with a non-persistent background page cannot listen to webRequest events. - but Manifest v3 extensions must be non-persistent. The extension will load if "webRequest" is removed from "permissions" in manifest.json, but then an error occurs when trying to call any chrome.webRequest.* functions in the background service worker script.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

I created an issue for this webextension: internetarchive/wayback-machine-webextension#1046

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest

MDN metadata

MDN page report details
  • Query: webextensions.api.webRequest
  • Report started: 2024-09-29T09:23:20.833Z
@queengooborg queengooborg added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Sep 29, 2024
@rebloor
Copy link
Contributor

rebloor commented Oct 6, 2024

@cgorringe Have you reported through the Apple Developer Forum? As you note in your issue, this seems more like a Safari bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions
Projects
None yet
Development

No branches or pull requests

3 participants