mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 371900, delete command is not handled in ShortcutKeyDefinitions.cpp so does not need to be defined as internal, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D135491
This commit is contained in:
parent
5f1ff58926
commit
b9ea937848
@ -74,8 +74,9 @@ add_task(async function test_create_and_remove_bookmarks() {
|
||||
"places"
|
||||
);
|
||||
|
||||
// Execute the delete command and check bookmark has been removed.
|
||||
PO._places.controller.doCommand("cmd_delete");
|
||||
// Press the delete key and check that the bookmark has been removed.
|
||||
gLibrary.document.getElementById("placesList").focus();
|
||||
EventUtils.synthesizeKey("VK_DELETE", {}, gLibrary);
|
||||
|
||||
await promiseItemRemovedNotification;
|
||||
|
||||
|
@ -52,7 +52,7 @@ window.addEventListener(
|
||||
<command id="cmd_cut" internal="true" />
|
||||
<command id="cmd_copy" internal="true" />
|
||||
<command id="cmd_paste" internal="true" />
|
||||
<command id="cmd_delete" internal="true" />
|
||||
<command id="cmd_delete" />
|
||||
<command id="cmd_selectAll" internal="true" />
|
||||
<command id="cmd_switchTextDirection" />
|
||||
</commandset>
|
||||
|
Loading…
Reference in New Issue
Block a user