Bug 259656
| Summary: | Host permissions requested with permissions.request lost after browser restart | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | OlegWock <olegwock> |
| Component: | WebKit Extensions | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/113515767>