Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a6ca84805f7f90806d32c0a97468d6c0be00e827
      
https://github.com/WebKit/WebKit/commit/a6ca84805f7f90806d32c0a97468d6c0be00e827
  Author: Brian Weinstein <[email protected]>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionContext.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionContextPrivate.h
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm
    M Source/WebKit/UIProcess/Extensions/WebExtensionContext.h

  Log Message:
  -----------
  Need a way to reset command state for an extension back to manifest settings
https://bugs.webkit.org/show_bug.cgi?id=289719
rdar://146774947

Reviewed by Timothy Hatcher.

This PR adds an SPI on WKWebExtensionContext that resets command state. The 
next time the commands
are accessed it will reset back to state from the manifest.

* Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionContext.mm:
(-[WKWebExtensionContext _resetCommands]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionContextPrivate.h:
* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::resetCommands):
* Source/WebKit/UIProcess/Extensions/WebExtensionContext.h:

Canonical link: https://commits.webkit.org/292113@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