Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 6196748. rdar://123455683
Add more fallback logic for the name of a browser action keyboard shortcut https://bugs.webkit.org/show_bug.cgi?id=269997 rdar://123455683 Reviewed by Timothy Hatcher. This change: 1) Makes it so we don't crash if a command has an empty name or description 2) Falls back to the display name for _execute_browser_action if no action title is specified * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCocoa.mm: (WebKit::WebExtension::populateCommandsIfNeeded): * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCommandCocoa.mm: (+[_WKWebExtensionKeyCommand commandWithTitle:image:input:modifierFlags:handler:]): Canonical link: https://commits.webkit.org/275248@main Identifier: 273664.1314@safari-7619.1.5-branch
- Loading branch information