Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d442d6b365cf3f01daa1ad85bd82f11cbe0be34
      
https://github.com/WebKit/WebKit/commit/8d442d6b365cf3f01daa1ad85bd82f11cbe0be34
  Author: Brian Weinstein <bweinst...@apple.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/WebExtension.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPICommands.mm

  Log Message:
  -----------
  Action command should fall back to extension display name if needed
https://bugs.webkit.org/show_bug.cgi?id=289546
rdar://146764816

Reviewed by Timothy Hatcher.

When generating an action command for an extension that doesn't specify any 
commands or an action name, fall back
to the display short name of the extension.

* Source/WebKit/UIProcess/Extensions/WebExtension.cpp:
(WebKit::WebExtension::populateCommandsIfNeeded):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPICommands.mm:
(TestWebKitAPI::TEST(WKWebExtensionAPICommands, 
GetAllCommandsEmptyManifestNoActionName)):

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