Bug 259656 - Host permissions requested with permissions.request lost after browser restart
Summary: Host permissions requested with permissions.request lost after browser restart
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Extensions (show other bugs)
Version: Safari 16
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-31 12:18 PDT by OlegWock
Modified: 2023-08-07 12:19 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OlegWock 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)
Comment 1 Radar WebKit Bug Importer 2023-08-07 12:19:14 PDT
<rdar://problem/113515767>