From 4fb11cd5966461bccc3ed1599b808237be6b0de9 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 10 Feb 2018 02:49:12 -0500 Subject: Move WebExtensions enabled Add-ons Manager --- .../webextensions/test/mochitest/.eslintrc.js | 7 ++ .../test/mochitest/file_bug687194.xpi | Bin 0 -> 5659 bytes .../webextensions/test/mochitest/file_empty.html | 2 + .../webextensions/test/mochitest/mochitest.ini | 9 ++ .../test/mochitest/test_bug609794.html | 27 +++++ .../test/mochitest/test_bug687194.html | 133 +++++++++++++++++++++ .../test/mochitest/test_bug887098.html | 52 ++++++++ 7 files changed, 230 insertions(+) create mode 100644 toolkit/mozapps/webextensions/test/mochitest/.eslintrc.js create mode 100644 toolkit/mozapps/webextensions/test/mochitest/file_bug687194.xpi create mode 100644 toolkit/mozapps/webextensions/test/mochitest/file_empty.html create mode 100644 toolkit/mozapps/webextensions/test/mochitest/mochitest.ini create mode 100644 toolkit/mozapps/webextensions/test/mochitest/test_bug609794.html create mode 100644 toolkit/mozapps/webextensions/test/mochitest/test_bug687194.html create mode 100644 toolkit/mozapps/webextensions/test/mochitest/test_bug887098.html (limited to 'toolkit/mozapps/webextensions/test/mochitest') diff --git a/toolkit/mozapps/webextensions/test/mochitest/.eslintrc.js b/toolkit/mozapps/webextensions/test/mochitest/.eslintrc.js new file mode 100644 index 000000000..383da0f41 --- /dev/null +++ b/toolkit/mozapps/webextensions/test/mochitest/.eslintrc.js @@ -0,0 +1,7 @@ +"use strict"; + +module.exports = { // eslint-disable-line no-undef + "extends": [ + "../../../../../testing/mochitest/mochitest.eslintrc.js" + ] +}; diff --git a/toolkit/mozapps/webextensions/test/mochitest/file_bug687194.xpi b/toolkit/mozapps/webextensions/test/mochitest/file_bug687194.xpi new file mode 100644 index 000000000..e215cffad Binary files /dev/null and b/toolkit/mozapps/webextensions/test/mochitest/file_bug687194.xpi differ diff --git a/toolkit/mozapps/webextensions/test/mochitest/file_empty.html b/toolkit/mozapps/webextensions/test/mochitest/file_empty.html new file mode 100644 index 000000000..b6c8a53b4 --- /dev/null +++ b/toolkit/mozapps/webextensions/test/mochitest/file_empty.html @@ -0,0 +1,2 @@ + +Nothing to see here diff --git a/toolkit/mozapps/webextensions/test/mochitest/mochitest.ini b/toolkit/mozapps/webextensions/test/mochitest/mochitest.ini new file mode 100644 index 000000000..b14cfe87a --- /dev/null +++ b/toolkit/mozapps/webextensions/test/mochitest/mochitest.ini @@ -0,0 +1,9 @@ +[DEFAULT] +support-files = + file_empty.html + file_bug687194.xpi + +[test_bug609794.html] +[test_bug687194.html] +skip-if = e10s || os == "android" # this test creates its own child process, no need to run it in e10s +[test_bug887098.html] diff --git a/toolkit/mozapps/webextensions/test/mochitest/test_bug609794.html b/toolkit/mozapps/webextensions/test/mochitest/test_bug609794.html new file mode 100644 index 000000000..d13e6ef2f --- /dev/null +++ b/toolkit/mozapps/webextensions/test/mochitest/test_bug609794.html @@ -0,0 +1,27 @@ + + + + + Test for Bug 609794 + + + + +Mozilla Bug 609794 +

+ +
+
+
+ + diff --git a/toolkit/mozapps/webextensions/test/mochitest/test_bug687194.html b/toolkit/mozapps/webextensions/test/mochitest/test_bug687194.html new file mode 100644 index 000000000..8f99ea73a --- /dev/null +++ b/toolkit/mozapps/webextensions/test/mochitest/test_bug687194.html @@ -0,0 +1,133 @@ + + + + Test for registering/unregistering chrome OOP + + + + + + + + diff --git a/toolkit/mozapps/webextensions/test/mochitest/test_bug887098.html b/toolkit/mozapps/webextensions/test/mochitest/test_bug887098.html new file mode 100644 index 000000000..535799b27 --- /dev/null +++ b/toolkit/mozapps/webextensions/test/mochitest/test_bug887098.html @@ -0,0 +1,52 @@ + + + + + + Test for Bug 887098 + + + + + +Mozilla Bug 887098 +

+ + +
+
+ + -- cgit v1.2.3