Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7b1151eb72481d791968bce427be4775ff616789
      
https://github.com/WebKit/WebKit/commit/7b1151eb72481d791968bce427be4775ff616789
  Author: Brian Weinstein <bweinst...@apple.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm

  Log Message:
  -----------
  activeTab extension has access to page after turning the extension off, then 
back on
https://bugs.webkit.org/show_bug.cgi?id=270454
rdar://124016968

Reviewed by Timothy Hatcher.

When an extension is unloaded, clear the map of open tabs and windows. That 
will clear any active tab permissions,
and lead to new window and tab IDs getting created if the extension is turned 
back on.

While we're here, clear a bunch more extension state that should be refreshed 
if the extension is loaded again.

* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::unload):

Canonical link: https://commits.webkit.org/275651@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to