commit 85c86acf14255b234b99e60ea295708012e92fb1
parent 68f0638062a25c387c9c7c0441358ac508de18e6
Author: James Teh <jteh@mozilla.com>
Date: Wed, 12 Nov 2025 05:14:26 +0000
Bug 1635774 part 1: Add ids to some <key> elements that previously didn't have them. r=Gijs
Subsequent patches will implement customisation of keyboard shortcuts based on <key> elements.
However, this is only possible for <key> elements which have ids.
Differential Revision: https://phabricator.services.mozilla.com/D266790
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/base/content/browser-sets.inc b/browser/base/content/browser-sets.inc
@@ -214,10 +214,10 @@
<key id="goForwardKb2" data-l10n-id="nav-fwd-shortcut-alt" command="Browser:Forward" modifiers="accel"/>
#endif
<key id="goHome" keycode="VK_HOME" modifiers="alt"/>
- <key keycode="VK_F5" command="Browser:Reload"/>
+ <key id="key_reload2" keycode="VK_F5" command="Browser:Reload"/>
#ifndef XP_MACOSX
<key id="showAllHistoryKb" data-l10n-id="history-show-all-shortcut" command="Browser:ShowAllHistory" modifiers="accel,shift"/>
- <key keycode="VK_F5" command="Browser:ReloadSkipCache" modifiers="accel"/>
+ <key id="key_reload_skip_cache2" keycode="VK_F5" command="Browser:ReloadSkipCache" modifiers="accel"/>
<key id="key_enterFullScreen" keycode="VK_F11" command="View:FullScreen"/>
<key id="key_exitFullScreen" keycode="VK_F11" command="View:FullScreen" reserved="true" disabled="true"/>
#else