Bug 270454
Summary: | activeTab extension has access to page after turning the extension off, then back on | ||
---|---|---|---|
Product: | WebKit | Reporter: | Timothy Hatcher <timothy> |
Component: | WebKit Extensions | Assignee: | Brian Weinstein <bweinstein> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Timothy Hatcher
We keep the temporaryPermissionMatchPattern on the WebExtensionTab object, and that is what needs cleared for activeTab. We should just open windows and tabs in WebExtensionContext::unload, they get repopulated in load() and repopulating will give everything a fresh window / tab ID.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/124016968>
Brian Weinstein
Pull request: https://github.com/WebKit/WebKit/pull/25441
EWS
Committed 275651@main (7b1151eb7248): <https://commits.webkit.org/275651@main>
Reviewed commits have been landed. Closing PR #25441 and removing active labels.