Bug 858359 - Select and Select All context menu test adjustments. r=jimm

This commit is contained in:
Brian R. Bondy 2013-04-08 14:42:57 -04:00
parent 09c491351e
commit da7b523064

View File

@ -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");