mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1253284 - Allow reserved attribute without command attribute r=masayuki
MozReview-Commit-ID: A2aEOgTx5Jz --HG-- extra : rebase_source : f0ecefde7d39b63caf1b69cb88e3ed49b1bef084
This commit is contained in:
parent
307e6f9842
commit
fbbac87fd2
@ -357,7 +357,7 @@
|
||||
<key id="key_sanitize" command="Tools:Sanitize" keycode="VK_DELETE" modifiers="accel,shift"/>
|
||||
#ifdef XP_MACOSX
|
||||
<key id="key_sanitize_mac" command="Tools:Sanitize" keycode="VK_BACK" modifiers="accel,shift"/>
|
||||
<key id="key_quitApplication" key="&quitApplicationCmdUnix.key;" modifiers="accel"/>
|
||||
<key id="key_quitApplication" key="&quitApplicationCmdUnix.key;" modifiers="accel" reserved="true"/>
|
||||
#elifdef XP_UNIX
|
||||
<key id="key_quitApplication" key="&quitApplicationCmdUnix.key;" command="cmd_quitApplication" modifiers="accel"/>
|
||||
#endif
|
||||
|
@ -708,7 +708,7 @@ nsXBLWindowKeyHandler::WalkHandlersAndExecute(
|
||||
|
||||
bool isReserved = false;
|
||||
if (commandElement) {
|
||||
if (!IsExecutableElement(commandElement)) {
|
||||
if (aExecute && !IsExecutableElement(commandElement)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user