Bug 1521704 - Move Page Action tests to their own directory. r=adw
authorMark Banner <standard8@mozilla.com>
Thu, 24 Jan 2019 09:21:47 +0000
changeset 515240 2a6e063c6ea28c7703996c123c2f1bfa0b23b650
parent 515239 7259ee92e345359164baba67b035cc5d98b76ff4
child 515241 f4f53e83954a38a7a1cc8f2c6637f5c5d2d150e7
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw
bugs1521704
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1521704 - Move Page Action tests to their own directory. r=adw Differential Revision: https://phabricator.services.mozilla.com/D17383
browser/base/content/moz.build
browser/base/content/test/pageActions/.eslintrc.js
browser/base/content/test/pageActions/browser.ini
browser/base/content/test/pageActions/browser_page_action_menu.js
browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js
browser/base/content/test/pageActions/browser_page_action_menu_clipboard.js
browser/base/content/test/pageActions/browser_page_action_menu_share_mac.js
browser/base/content/test/pageActions/browser_page_action_menu_share_win.html
browser/base/content/test/pageActions/browser_page_action_menu_share_win.js
browser/base/content/test/pageActions/head.js
browser/base/content/test/pageActions/page_action_menu_add_search_engine_0.xml
browser/base/content/test/pageActions/page_action_menu_add_search_engine_1.xml
browser/base/content/test/pageActions/page_action_menu_add_search_engine_2.xml
browser/base/content/test/pageActions/page_action_menu_add_search_engine_many.html
browser/base/content/test/pageActions/page_action_menu_add_search_engine_one.html
browser/base/content/test/pageActions/page_action_menu_add_search_engine_same_names.html
browser/base/moz.build
browser/components/urlbar/tests/browser/browser.ini
browser/components/urlbar/tests/browser/browser_page_action_menu_add_search_engine.js
browser/components/urlbar/tests/browser/browser_page_action_menu_clipboard.js
browser/components/urlbar/tests/browser/browser_page_action_menu_share_mac.js
browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.html
browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.js
browser/components/urlbar/tests/browser/head-common.js
browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_0.xml
browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_1.xml
browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_2.xml
browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_many.html
browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_one.html
browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_same_names.html
browser/components/urlbar/tests/legacy/browser.ini
browser/components/urlbar/tests/legacy/browser_page_action_menu.js
--- a/browser/base/content/moz.build
+++ b/browser/base/content/moz.build
@@ -35,16 +35,19 @@ with Files("test/forms/**"):
     BUG_COMPONENT = ("Core", "Layout: Form Controls")
 
 with Files("test/historySwipeAnimation/**"):
     BUG_COMPONENT = ("Core", "Widget: Cocoa")
 
 with Files("test/keyboard/**"):
     BUG_COMPONENT = ("Firefox", "Keyboard Navigation")
 
+with Files("test/pageActions/**"):
+    BUG_COMPONENT = ("Firefox", "Toolbars and Customization")
+
 with Files("test/pageinfo/**"):
     BUG_COMPONENT = ("Firefox", "Page Info Window")
 
 with Files("test/performance/**"):
     BUG_COMPONENT = ("Firefox", "General")
 
 with Files("test/performance/browser_appmenu.js"):
     BUG_COMPONENT = ("Firefox", "Menus")
@@ -125,16 +128,19 @@ with Files("browser-fullZoom.js"):
     BUG_COMPONENT = ("Firefox", "Tabbed Browsing")
 
 with Files("browser-gestureSupport.js"):
     BUG_COMPONENT = ("Core", "Widget: Cocoa")
 
 with Files("browser-media.js"):
     BUG_COMPONENT = ("Core", "Audio/Video: Playback")
 
+with Files("browser-pageActions.js"):
+    BUG_COMPONENT = ("Firefox", "Toolbars and Customization")
+
 with Files("browser-places.js"):
     BUG_COMPONENT = ("Firefox", "Bookmarks & History")
 
 with Files("browser-plugins.js"):
     BUG_COMPONENT = ("Core", "Plug-ins")
 
 with Files("browser-safebrowsing.js"):
     BUG_COMPONENT = ("Toolkit", "Safe Browsing")
new file mode 100644
--- /dev/null
+++ b/browser/base/content/test/pageActions/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/browser/base/content/test/pageActions/browser.ini
@@ -0,0 +1,21 @@
+[DEFAULT]
+support-files =
+  head.js
+
+[browser_page_action_menu_add_search_engine.js]
+support-files =
+  page_action_menu_add_search_engine_one.html
+  page_action_menu_add_search_engine_many.html
+  page_action_menu_add_search_engine_same_names.html
+  page_action_menu_add_search_engine_0.xml
+  page_action_menu_add_search_engine_1.xml
+  page_action_menu_add_search_engine_2.xml
+[browser_page_action_menu_clipboard.js]
+subsuite = clipboard
+[browser_page_action_menu_share_mac.js]
+skip-if = os != "mac" # Mac only feature
+[browser_page_action_menu_share_win.js]
+support-files =
+  browser_page_action_menu_share_win.html
+skip-if = os != "win" # Windows only feature
+[browser_page_action_menu.js]
rename from browser/components/urlbar/tests/legacy/browser_page_action_menu.js
rename to browser/base/content/test/pageActions/browser_page_action_menu.js
rename from browser/components/urlbar/tests/browser/browser_page_action_menu_add_search_engine.js
rename to browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js
rename from browser/components/urlbar/tests/browser/browser_page_action_menu_clipboard.js
rename to browser/base/content/test/pageActions/browser_page_action_menu_clipboard.js
rename from browser/components/urlbar/tests/browser/browser_page_action_menu_share_mac.js
rename to browser/base/content/test/pageActions/browser_page_action_menu_share_mac.js
rename from browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.html
rename to browser/base/content/test/pageActions/browser_page_action_menu_share_win.html
rename from browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.js
rename to browser/base/content/test/pageActions/browser_page_action_menu_share_win.js
copy from browser/components/urlbar/tests/browser/head-common.js
copy to browser/base/content/test/pageActions/head.js
--- a/browser/components/urlbar/tests/browser/head-common.js
+++ b/browser/base/content/test/pageActions/head.js
@@ -1,65 +1,12 @@
-/* eslint-env mozilla/frame-script */
-
-ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
-
-XPCOMUtils.defineLazyModuleGetters(this, {
-  HttpServer: "resource://testing-common/httpd.js",
-  PlacesUtils: "resource://gre/modules/PlacesUtils.jsm",
-  PlacesTestUtils: "resource://testing-common/PlacesTestUtils.jsm",
-  Preferences: "resource://gre/modules/Preferences.jsm",
-  SearchTestUtils: "resource://testing-common/SearchTestUtils.jsm",
-  UrlbarTestUtils: "resource://testing-common/UrlbarTestUtils.jsm",
-  UrlbarTokenizer: "resource:///modules/UrlbarTokenizer.jsm",
-});
-
-SearchTestUtils.init(Assert, registerCleanupFunction);
-
-function is_element_visible(element, msg) {
-  isnot(element, null, "Element should not be null, when checking visibility");
-  ok(BrowserTestUtils.is_visible(element), msg || "Element should be visible");
-}
-
-function is_element_hidden(element, msg) {
-  isnot(element, null, "Element should not be null, when checking visibility");
-  ok(BrowserTestUtils.is_hidden(element), msg || "Element should be hidden");
-}
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
 
-function runHttpServer(scheme, host, port = -1) {
-  let httpserver = new HttpServer();
-  try {
-    httpserver.start(port);
-    port = httpserver.identity.primaryPort;
-    httpserver.identity.setPrimary(scheme, host, port);
-  } catch (ex) {
-    info("We can't launch our http server successfully.");
-  }
-  is(httpserver.identity.has(scheme, host, port), true, `${scheme}://${host}:${port} is listening.`);
-  return httpserver;
-}
-
-function promisePopupShown(popup) {
-  return BrowserTestUtils.waitForPopupEvent(popup, "shown");
-}
-
-function promisePopupHidden(popup) {
-  return BrowserTestUtils.waitForPopupEvent(popup, "hidden");
-}
-
-function promiseSearchComplete(win = window, dontAnimate = false) {
-  return UrlbarTestUtils.promiseSearchComplete(win, dontAnimate);
-}
-
-function promiseAutocompleteResultPopup(inputText,
-                                        win = window,
-                                        fireInputEvent = false) {
-  return UrlbarTestUtils.promiseAutocompleteResultPopup(inputText,
-    win, waitForFocus, fireInputEvent);
-}
+const {PlacesTestUtils} = ChromeUtils.import("resource://testing-common/PlacesTestUtils.jsm", null);
 
 function promisePageActionPanelOpen() {
   let dwu = window.windowUtils;
   return BrowserTestUtils.waitForCondition(() => {
     // Wait for the main page action button to become visible.  It's hidden for
     // some URIs, so depending on when this is called, it may not yet be quite
     // visible.  It's up to the caller to make sure it will be visible.
     info("Waiting for main page action button to have non-0 size");
@@ -168,24 +115,8 @@ function promiseNodeVisible(node) {
     let bounds = dwu.getBoundsWithoutFlushing(node);
     if (bounds.width > 0 && bounds.height > 0) {
       info(`promiseNodeVisible OK, node.id=${node.id} node.localeName=${node.localName}\n`);
       return true;
     }
     return false;
   });
 }
-
-function promiseSpeculativeConnection(httpserver) {
-  return UrlbarTestUtils.promiseSpeculativeConnection(httpserver);
-}
-
-async function waitForAutocompleteResultAt(index) {
-  return UrlbarTestUtils.waitForAutocompleteResultAt(window, index);
-}
-
-function promiseSuggestionsPresent(msg = "") {
-  return UrlbarTestUtils.promiseSuggestionsPresent(window, msg);
-}
-
-function suggestionsPresent() {
-  return UrlbarTestUtils.suggestionsPresent(window);
-}
rename from browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_0.xml
rename to browser/base/content/test/pageActions/page_action_menu_add_search_engine_0.xml
rename from browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_1.xml
rename to browser/base/content/test/pageActions/page_action_menu_add_search_engine_1.xml
rename from browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_2.xml
rename to browser/base/content/test/pageActions/page_action_menu_add_search_engine_2.xml
rename from browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_many.html
rename to browser/base/content/test/pageActions/page_action_menu_add_search_engine_many.html
--- a/browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_many.html
+++ b/browser/base/content/test/pageActions/page_action_menu_add_search_engine_many.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="UTF-8">
-<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_0" href="http://mochi.test:8888/browser/browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_0.xml">
-<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_1" href="http://mochi.test:8888/browser/browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_1.xml">
-<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_2" href="http://mochi.test:8888/browser/browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_2.xml">
+<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_0" href="http://mochi.test:8888/browser/browser/base/content/test/pageActions/page_action_menu_add_search_engine_0.xml">
+<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_1" href="http://mochi.test:8888/browser/browser/base/content/test/pageActions/page_action_menu_add_search_engine_1.xml">
+<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_2" href="http://mochi.test:8888/browser/browser/base/content/test/pageActions/page_action_menu_add_search_engine_2.xml">
 </head>
 <body></body>
 </html>
rename from browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_one.html
rename to browser/base/content/test/pageActions/page_action_menu_add_search_engine_one.html
--- a/browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_one.html
+++ b/browser/base/content/test/pageActions/page_action_menu_add_search_engine_one.html
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="UTF-8">
-<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_0" href="http://mochi.test:8888/browser/browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_0.xml">
+<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_0" href="http://mochi.test:8888/browser/browser/base/content/test/pageActions/page_action_menu_add_search_engine_0.xml">
 </head>
 <body></body>
 </html>
rename from browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_same_names.html
rename to browser/base/content/test/pageActions/page_action_menu_add_search_engine_same_names.html
--- a/browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_same_names.html
+++ b/browser/base/content/test/pageActions/page_action_menu_add_search_engine_same_names.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="UTF-8">
-<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_0" href="http://mochi.test:8888/browser/browser/base/content/test/urlbar/page_action_menu_add_search_engine_0.xml">
-<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_1" href="http://mochi.test:8888/browser/browser/base/content/test/urlbar/page_action_menu_add_search_engine_0.xml">
+<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_0" href="http://mochi.test:8888/browser/browser/base/content/test/pageActions/page_action_menu_add_search_engine_0.xml">
+<link rel="search" type="application/opensearchdescription+xml" title="page_action_menu_add_search_engine_1" href="http://mochi.test:8888/browser/browser/base/content/test/pageActions/page_action_menu_add_search_engine_0.xml">
 </head>
 <body></body>
 </html>
--- a/browser/base/moz.build
+++ b/browser/base/moz.build
@@ -27,16 +27,17 @@ BROWSER_CHROME_MANIFESTS += [
     'content/test/captivePortal/browser.ini',
     'content/test/contextMenu/browser.ini',
     'content/test/favicons/browser.ini',
     'content/test/forms/browser.ini',
     'content/test/general/browser.ini',
     'content/test/historySwipeAnimation/browser.ini',
     'content/test/keyboard/browser.ini',
     'content/test/metaTags/browser.ini',
+    'content/test/pageActions/browser.ini',
     'content/test/pageinfo/browser.ini',
     'content/test/performance/browser.ini',
     'content/test/performance/hidpi/browser.ini',
     'content/test/performance/lowdpi/browser.ini',
     'content/test/permissions/browser.ini',
     'content/test/plugins/browser.ini',
     'content/test/plugins/xbl/browser.ini',
     'content/test/popupNotifications/browser.ini',
--- a/browser/components/urlbar/tests/browser/browser.ini
+++ b/browser/components/urlbar/tests/browser/browser.ini
@@ -15,32 +15,16 @@ support-files = file_bug562649.html
 support-files =
   redirect_bug623155.sjs
 [browser_bug783614.js]
 skip-if = true # Bug 1521490
 [browser_bug1025195_switchToTabHavingURI_aOpenParams.js]
 [browser_locationBarExternalLoad.js]
 skip-if = true # Bug 1521490
 [browser_moz_action_link.js]
-[browser_page_action_menu_add_search_engine.js]
-support-files =
-  page_action_menu_add_search_engine_one.html
-  page_action_menu_add_search_engine_many.html
-  page_action_menu_add_search_engine_same_names.html
-  page_action_menu_add_search_engine_0.xml
-  page_action_menu_add_search_engine_1.xml
-  page_action_menu_add_search_engine_2.xml
-[browser_page_action_menu_clipboard.js]
-subsuite = clipboard
-[browser_page_action_menu_share_mac.js]
-skip-if = os != "mac" # Mac only feature
-[browser_page_action_menu_share_win.js]
-support-files =
-  browser_page_action_menu_share_win.html
-skip-if = os != "win" # Windows only feature
 [browser_populateAfterPushState.js]
 [browser_urlbar_blanking.js]
 support-files =
   file_blank_but_not_blank.html
 [browser_urlbar_content_opener.js]
 [browser_urlbar_locationchange_urlbar_edit_dos.js]
 support-files =
   file_urlbar_edit_dos.html
--- a/browser/components/urlbar/tests/browser/head-common.js
+++ b/browser/components/urlbar/tests/browser/head-common.js
@@ -51,134 +51,16 @@ function promiseSearchComplete(win = win
 
 function promiseAutocompleteResultPopup(inputText,
                                         win = window,
                                         fireInputEvent = false) {
   return UrlbarTestUtils.promiseAutocompleteResultPopup(inputText,
     win, waitForFocus, fireInputEvent);
 }
 
-function promisePageActionPanelOpen() {
-  let dwu = window.windowUtils;
-  return BrowserTestUtils.waitForCondition(() => {
-    // Wait for the main page action button to become visible.  It's hidden for
-    // some URIs, so depending on when this is called, it may not yet be quite
-    // visible.  It's up to the caller to make sure it will be visible.
-    info("Waiting for main page action button to have non-0 size");
-    let bounds = dwu.getBoundsWithoutFlushing(BrowserPageActions.mainButtonNode);
-    return bounds.width > 0 && bounds.height > 0;
-  }).then(() => {
-    // Wait for the panel to become open, by clicking the button if necessary.
-    info("Waiting for main page action panel to be open");
-    if (BrowserPageActions.panelNode.state == "open") {
-      return Promise.resolve();
-    }
-    let shownPromise = promisePageActionPanelShown();
-    EventUtils.synthesizeMouseAtCenter(BrowserPageActions.mainButtonNode, {});
-    return shownPromise;
-  }).then(() => {
-    // Wait for items in the panel to become visible.
-    return promisePageActionViewChildrenVisible(BrowserPageActions.mainViewNode);
-  });
-}
-
-async function waitForActivatedActionPanel() {
-  if (!BrowserPageActions.activatedActionPanelNode) {
-    info("Waiting for activated-action panel to be added to mainPopupSet");
-    await new Promise(resolve => {
-      let observer = new MutationObserver(mutations => {
-        if (BrowserPageActions.activatedActionPanelNode) {
-          observer.disconnect();
-          resolve();
-        }
-      });
-      let popupSet = document.getElementById("mainPopupSet");
-      observer.observe(popupSet, { childList: true });
-    });
-    info("Activated-action panel added to mainPopupSet");
-  }
-  if (!BrowserPageActions.activatedActionPanelNode.state == "open") {
-    info("Waiting for activated-action panel popupshown");
-    await promisePanelShown(BrowserPageActions.activatedActionPanelNode);
-    info("Got activated-action panel popupshown");
-  }
-  let panelView =
-    BrowserPageActions.activatedActionPanelNode.querySelector("panelview");
-  if (panelView) {
-    await BrowserTestUtils.waitForEvent(
-      BrowserPageActions.activatedActionPanelNode,
-      "ViewShown"
-    );
-    await promisePageActionViewChildrenVisible(panelView);
-  }
-  return panelView;
-}
-
-function promisePageActionPanelShown() {
-  return promisePanelShown(BrowserPageActions.panelNode);
-}
-
-function promisePageActionPanelHidden() {
-  return promisePanelHidden(BrowserPageActions.panelNode);
-}
-
-function promisePanelShown(panelIDOrNode) {
-  return promisePanelEvent(panelIDOrNode, "popupshown");
-}
-
-function promisePanelHidden(panelIDOrNode) {
-  return promisePanelEvent(panelIDOrNode, "popuphidden");
-}
-
-function promisePanelEvent(panelIDOrNode, eventType) {
-  return new Promise(resolve => {
-    let panel = panelIDOrNode;
-    if (typeof panel == "string") {
-      panel = document.getElementById(panelIDOrNode);
-      if (!panel) {
-        throw new Error(`Panel with ID "${panelIDOrNode}" does not exist.`);
-      }
-    }
-    if ((eventType == "popupshown" && panel.state == "open") ||
-        (eventType == "popuphidden" && panel.state == "closed")) {
-      executeSoon(resolve);
-      return;
-    }
-    panel.addEventListener(eventType, () => {
-      executeSoon(resolve);
-    }, { once: true });
-  });
-}
-
-function promisePageActionViewShown() {
-  info("promisePageActionViewShown waiting for ViewShown");
-  return BrowserTestUtils.waitForEvent(BrowserPageActions.panelNode, "ViewShown").then(async event => {
-    let panelViewNode = event.originalTarget;
-    await promisePageActionViewChildrenVisible(panelViewNode);
-    return panelViewNode;
-  });
-}
-
-function promisePageActionViewChildrenVisible(panelViewNode) {
-  return promiseNodeVisible(panelViewNode.firstElementChild.firstElementChild);
-}
-
-function promiseNodeVisible(node) {
-  info(`promiseNodeVisible waiting, node.id=${node.id} node.localeName=${node.localName}\n`);
-  let dwu = window.windowUtils;
-  return BrowserTestUtils.waitForCondition(() => {
-    let bounds = dwu.getBoundsWithoutFlushing(node);
-    if (bounds.width > 0 && bounds.height > 0) {
-      info(`promiseNodeVisible OK, node.id=${node.id} node.localeName=${node.localName}\n`);
-      return true;
-    }
-    return false;
-  });
-}
-
 function promiseSpeculativeConnection(httpserver) {
   return UrlbarTestUtils.promiseSpeculativeConnection(httpserver);
 }
 
 async function waitForAutocompleteResultAt(index) {
   return UrlbarTestUtils.waitForAutocompleteResultAt(window, index);
 }
 
--- a/browser/components/urlbar/tests/legacy/browser.ini
+++ b/browser/components/urlbar/tests/legacy/browser.ini
@@ -37,18 +37,16 @@ skip-if = (verify && debug && (os == 'wi
 [browser_bug1225194-remotetab.js]
 [browser_bug304198.js]
 [browser_bug556061.js]
 subsuite = clipboard
 [browser_canonizeURL.js]
 [browser_dragdropURL.js]
 [browser_locationBarCommand.js]
 [browser_new_tab_urlbar_reset.js]
-[browser_page_action_menu.js]
-skip-if = os != "win" # Windows only feature
 [browser_pasteAndGo.js]
 subsuite = clipboard
 [../browser/browser_populateAfterPushState.js]
 [browser_removeUnsafeProtocolsFromURLBarPaste.js]
 subsuite = clipboard
 [browser_search_favicon.js]
 [browser_tabMatchesInAwesomebar.js]
 support-files =
@@ -127,31 +125,16 @@ skip-if = (os == "linux" || os == "mac")
 [../browser/browser_bug562649.js]
 support-files = ../browser/file_bug562649.html
 [../browser/browser_bug623155.js]
 support-files =
   ../browser/redirect_bug623155.sjs
 [../browser/browser_bug783614.js]
 [../browser/browser_locationBarExternalLoad.js]
 [../browser/browser_moz_action_link.js]
-[../browser/browser_page_action_menu_add_search_engine.js]
-support-files =
-  ../browser/page_action_menu_add_search_engine_one.html
-  ../browser/page_action_menu_add_search_engine_many.html
-  ../browser/page_action_menu_add_search_engine_same_names.html
-  ../browser/page_action_menu_add_search_engine_0.xml
-  ../browser/page_action_menu_add_search_engine_1.xml
-  ../browser/page_action_menu_add_search_engine_2.xml
-[../browser/browser_page_action_menu_clipboard.js]
-subsuite = clipboard
-[../browser/browser_page_action_menu_share_mac.js]
-skip-if = os != "mac" # Mac only feature
-[../browser/browser_page_action_menu_share_win.js]
-support-files =
-  ../browser/browser_page_action_menu_share_win.html
 [../browser/browser_urlbarCopying.js]
 subsuite = clipboard
 support-files =
   ../browser/authenticate.sjs
 [../browser/browser_urlbar_blanking.js]
 support-files =
   ../browser/file_blank_but_not_blank.html
 [../browser/browser_urlbar_content_opener.js]