Bug 267939
| Summary: | Prevent loading extensions on iOS that don't use non-persistent background pages | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> |
| Component: | WebKit Extensions | Assignee: | Brian Weinstein <bweinstein> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | carlosj-webkit-bugzilla, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Timothy Hatcher
We log an error currently, but you can still load the extension in a WebExtensionController.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/121460660>
Carlos J.
Why does it have to be impossible to load extensions with persistent background pages? Can't Safari on iOS just treat it as non-persistent and let the developer take the responsibility, based on the error, to make sure the code works well in both persistent and non-persistent environments.
Brian Weinstein
Pull request: https://github.com/WebKit/WebKit/pull/31170
EWS
Committed 281313@main (523d833347fe): <https://commits.webkit.org/281313@main>
Reviewed commits have been landed. Closing PR #31170 and removing active labels.