Bug 259656

Summary: Host permissions requested with permissions.request lost after browser restart
Product: WebKit Reporter: OlegWock <olegwock>
Component: WebKit ExtensionsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez, marcosc, sihui_liu, timothy, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: All   
OS: All   

OlegWock
Reported 2023-07-31 12:18:04 PDT
After extension was granted host permission requested with `browser.permissions.request`, everything works as expected, but after browser restart those permissions are lost. This affects both manifest v2 and v3 extension. API permissions (like `tabs`) work as expected and are persisted between browser restarts Minimal extension with reproduction: https://github.com/OlegWock/webkit-webext-bug-repro (all related code located in extension's popup)
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-07 12:19:14 PDT
Note You need to log in before you can comment on or make changes to this bug.