NEW290508
Browser asking for permissions for every site when <all_urls> or *://*/* added as an optional permission
https://bugs.webkit.org/show_bug.cgi?id=290508
Summary Browser asking for permissions for every site when <all_urls> or *://*/* adde...
Ajay
Reported 2025-03-26 22:33:40 PDT
Created attachment 474733 [details] Extension permission prompt Tested on Safari Technology Preview 18.4 Release 215 Steps to reproduce: Step 1: Load a web extension with the following in the manifest Manifest v2 example: { "name": "Extension", "short_name": "Extension", "version": "1.0", "default_locale": "en", "description": "Description", "homepage_url": "https://example.com", "icons": { "16": "icons/icon.png", "32": "icons/icon.png", "64": "icons/icon.png", "128": "icons/icon.png", "256": "icons/icon.png", "512": "icons/icon.png", "1024": "icons/icon.png" }, "permissions": [], "optional_permissions": [ "*://*/*" ], "manifest_version": 2 } Manifest v3 example: { "name": "Extension", "short_name": "Extension", "version": "1.0", "default_locale": "en", "description": "Description", "homepage_url": "https://example.com", "icons": { "16": "icons/icon.png", "32": "icons/icon.png", "64": "icons/icon.png", "128": "icons/icon.png", "256": "icons/icon.png", "512": "icons/icon.png", "1024": "icons/icon.png" }, "permissions": [], "optional_host_permissions": [ "*://*/*" ], "manifest_version": 3 } Step 2: Visit a site that performs async requests (example: https://dictionary.cambridge.org/dictionary/english/test) Expected: Extension icon will stay grey, as only optional host permissions are requested Actual: Extension icon shows a warning icon and requests access to gum.criteo.com
Attachments
Extension permission prompt (90.99 KB, image/png)
2025-03-26 22:33 PDT, Ajay
no flags
Radar WebKit Bug Importer
Comment 1 2025-03-26 22:33:49 PDT
Ajay
Comment 2 2025-03-26 22:35:54 PDT
This bug applies with both *://*/* and <all_urls>
Ajay
Comment 3 2025-09-09 21:23:20 PDT
This bug has not been fixed in Safari 18.6 and is still occurring
Note You need to log in before you can comment on or make changes to this bug.