From abe80cc31d5a40ebed743085011fbcda0c1a9a10 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 23 Apr 2019 15:32:23 -0400 Subject: Issue #1053 - Drop support Android and remove Fennec - Part 1a: Remove mobile/android --- .../extensions/test/mochitest/.eslintrc.js | 10 -- .../extensions/test/mochitest/chrome.ini | 7 - .../components/extensions/test/mochitest/head.js | 15 -- .../extensions/test/mochitest/mochitest.ini | 6 - .../test/mochitest/test_ext_all_apis.html | 23 --- .../test/mochitest/test_ext_pageAction.html | 99 ------------ .../test/mochitest/test_ext_pageAction_popup.html | 169 --------------------- 7 files changed, 329 deletions(-) delete mode 100644 mobile/android/components/extensions/test/mochitest/.eslintrc.js delete mode 100644 mobile/android/components/extensions/test/mochitest/chrome.ini delete mode 100644 mobile/android/components/extensions/test/mochitest/head.js delete mode 100644 mobile/android/components/extensions/test/mochitest/mochitest.ini delete mode 100644 mobile/android/components/extensions/test/mochitest/test_ext_all_apis.html delete mode 100644 mobile/android/components/extensions/test/mochitest/test_ext_pageAction.html delete mode 100644 mobile/android/components/extensions/test/mochitest/test_ext_pageAction_popup.html (limited to 'mobile/android/components/extensions/test/mochitest') diff --git a/mobile/android/components/extensions/test/mochitest/.eslintrc.js b/mobile/android/components/extensions/test/mochitest/.eslintrc.js deleted file mode 100644 index 5f9059e18..000000000 --- a/mobile/android/components/extensions/test/mochitest/.eslintrc.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; - -module.exports = { - "extends": "../../../../../../toolkit/components/extensions/test/mochitest/.eslintrc.js", - - "globals": { - "isPageActionShown": true, - "clickPageAction": true, - }, -}; diff --git a/mobile/android/components/extensions/test/mochitest/chrome.ini b/mobile/android/components/extensions/test/mochitest/chrome.ini deleted file mode 100644 index e19ddf393..000000000 --- a/mobile/android/components/extensions/test/mochitest/chrome.ini +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] -support-files = - head.js -tags = webextensions - -[test_ext_pageAction.html] -[test_ext_pageAction_popup.html] diff --git a/mobile/android/components/extensions/test/mochitest/head.js b/mobile/android/components/extensions/test/mochitest/head.js deleted file mode 100644 index be9683682..000000000 --- a/mobile/android/components/extensions/test/mochitest/head.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -/* exported isPageActionShown clickPageAction */ - -const {classes: Cc, interfaces: Ci, utils: Cu} = Components; - -Cu.import("resource://gre/modules/PageActions.jsm"); - -function isPageActionShown(uuid) { - return PageActions.isShown(uuid); -} - -function clickPageAction(uuid) { - PageActions.synthesizeClick(uuid); -} diff --git a/mobile/android/components/extensions/test/mochitest/mochitest.ini b/mobile/android/components/extensions/test/mochitest/mochitest.ini deleted file mode 100644 index 59ef4bd20..000000000 --- a/mobile/android/components/extensions/test/mochitest/mochitest.ini +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -support-files = - ../../../../../../toolkit/components/extensions/test/mochitest/test_ext_all_apis.js -tags = webextensions - -[test_ext_all_apis.html] diff --git a/mobile/android/components/extensions/test/mochitest/test_ext_all_apis.html b/mobile/android/components/extensions/test/mochitest/test_ext_all_apis.html deleted file mode 100644 index aec3eb7c1..000000000 --- a/mobile/android/components/extensions/test/mochitest/test_ext_all_apis.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - WebExtension test - - - - - - - - - - - diff --git a/mobile/android/components/extensions/test/mochitest/test_ext_pageAction.html b/mobile/android/components/extensions/test/mochitest/test_ext_pageAction.html deleted file mode 100644 index b13c551bd..000000000 --- a/mobile/android/components/extensions/test/mochitest/test_ext_pageAction.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - PageAction Test - - - - - - - - - - - - diff --git a/mobile/android/components/extensions/test/mochitest/test_ext_pageAction_popup.html b/mobile/android/components/extensions/test/mochitest/test_ext_pageAction_popup.html deleted file mode 100644 index 89edc7c29..000000000 --- a/mobile/android/components/extensions/test/mochitest/test_ext_pageAction_popup.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - PageAction Test - - - - - - - - - - - - -- cgit v1.2.3