From da7b5230642813e88b5624e827f887d72b348f25 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Mon, 8 Apr 2013 14:42:57 -0400 Subject: [PATCH] Bug 858359 - Select and Select All context menu test adjustments. r=jimm --- .../tests/mochitest/browser_context_menu_tests.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/browser/metro/base/tests/mochitest/browser_context_menu_tests.js b/browser/metro/base/tests/mochitest/browser_context_menu_tests.js index 5a621cdfed76..d779d05884d1 100644 --- a/browser/metro/base/tests/mochitest/browser_context_menu_tests.js +++ b/browser/metro/base/tests/mochitest/browser_context_menu_tests.js @@ -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");