mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 06:52:25 +00:00
Bug 858359 - Select and Select All context menu test adjustments. r=jimm
This commit is contained in:
parent
09c491351e
commit
da7b523064
@ -175,9 +175,7 @@ gTests.push({
|
||||
ok(ContextMenuUI._menuPopup._visible, "is visible");
|
||||
|
||||
checkContextUIMenuItemVisibility(["context-cut",
|
||||
"context-copy",
|
||||
"context-select",
|
||||
"context-select-all"]);
|
||||
"context-copy"]);
|
||||
|
||||
let menuItem = document.getElementById("context-copy");
|
||||
let popupPromise = waitForEvent(document, "popuphidden");
|
||||
@ -230,7 +228,9 @@ gTests.push({
|
||||
// selected text context:
|
||||
checkContextUIMenuItemVisibility(["context-cut",
|
||||
"context-copy",
|
||||
"context-paste"]);
|
||||
"context-paste",
|
||||
"context-select",
|
||||
"context-select-all"]);
|
||||
|
||||
promise = waitForEvent(document, "popuphidden");
|
||||
ContextMenuUI.hide();
|
||||
@ -254,9 +254,7 @@ gTests.push({
|
||||
ok(ContextMenuUI._menuPopup._visible, "is visible");
|
||||
|
||||
checkContextUIMenuItemVisibility(["context-cut",
|
||||
"context-copy",
|
||||
"context-select",
|
||||
"context-select-all"]);
|
||||
"context-copy"]);
|
||||
|
||||
let menuItem = document.getElementById("context-cut");
|
||||
let popupPromise = waitForEvent(document, "popuphidden");
|
||||
|
Loading…
x
Reference in New Issue
Block a user