Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e7316e13961cb67eede460d56d8ddffc7e4f2d1
      
https://github.com/WebKit/WebKit/commit/2e7316e13961cb67eede460d56d8ddffc7e4f2d1
  Author: Kiara Rose <[email protected]>
  Date:   2024-04-03 (Wed, 03 Apr 2024)

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

  Log Message:
  -----------
  Any early attempt to load the background page should return early
https://bugs.webkit.org/show_bug.cgi?id=272120
rdar://125877776

Reviewed by Brian Weinstein.

We return early for premature background page loads. But we're not doing this 
after toggling the enabled
state of the extension. To fix this, we should set 
`m_safeToLoadBackgroundContent` back to false when
the extension unloads, since we use this variable to check if we should return 
early in
`loadBackgroundWebViewIfNeeded`.

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

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



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

Reply via email to