RESOLVED FIXED 270454
activeTab extension has access to page after turning the extension off, then back on
https://bugs.webkit.org/show_bug.cgi?id=270454
Summary activeTab extension has access to page after turning the extension off, then ...
Timothy Hatcher
Reported 2024-03-04 09:57:15 PST
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
Radar WebKit Bug Importer
Comment 1 2024-03-04 10:07:08 PST
Brian Weinstein
Comment 2 2024-03-04 12:06:30 PST
EWS
Comment 3 2024-03-04 14:01:59 PST
Committed 275651@main (7b1151eb7248): <https://commits.webkit.org/275651@main> Reviewed commits have been landed. Closing PR #25441 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.