Bug 1455956 - Get rid of dom/workers/test/test_extensionBootstrap.xul, r=kmag
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 10 May 2018 16:05:41 +0200
changeset 417752 7295fb05cd8eb88554f6399ba1f70ded2977e267
parent 417751 df68fd0a3eb1ed3b04345efcba5a92bfcf1f2313
child 417753 bba1deb626b53d9c044a30bdfce49a15f5c00780
push id33979
push userdluca@mozilla.com
push dateThu, 10 May 2018 21:59:38 +0000
treeherdermozilla-central@aabfe960ab59 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag
bugs1455956
milestone62.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 1455956 - Get rid of dom/workers/test/test_extensionBootstrap.xul, r=kmag
dom/workers/test/chrome.ini
dom/workers/test/test_extensionBootstrap.xul
--- a/dom/workers/test/chrome.ini
+++ b/dom/workers/test/chrome.ini
@@ -64,17 +64,16 @@ skip-if = (os == 'linux') # Bug 1244697
 [test_WorkerDebuggerManager.xul]
 skip-if = (os == 'linux') # Bug 1244409
 [test_WorkerDebugger_console.xul]
 [test_WorkerDebugger_frozen.xul]
 [test_WorkerDebugger_promise.xul]
 [test_WorkerDebugger_suspended.xul]
 [test_chromeWorker.xul]
 [test_chromeWorkerJSM.xul]
-[test_extensionBootstrap.xul]
 [test_file.xul]
 [test_fileBlobPosting.xul]
 [test_fileBlobSubWorker.xul]
 [test_filePosting.xul]
 [test_fileReadSlice.xul]
 [test_fileReaderSync.xul]
 [test_fileReaderSyncErrors.xul]
 [test_fileSlice.xul]
deleted file mode 100644
--- a/dom/workers/test/test_extensionBootstrap.xul
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Any copyright is dedicated to the Public Domain.
-  http://creativecommons.org/publicdomain/zero/1.0/
--->
-<window title="DOM Worker Threads Test"
-        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        onload="test();">
-
-  <script type="application/javascript"
-          src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
-  <script type="application/javascript"
-          src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
-  <script type="application/javascript" src="dom_worker_helper.js"/>
-
-  <script type="application/javascript">
-  <![CDATA[
-
-    function test() {
-      const message = "woohoo";
-
-      var observer = {
-        observe: async function(subject, topic, data) {
-          is(topic, "message", "Correct type of event");
-          is(data, message, "Correct message");
-
-          let addon = await AddonManager.getAddonByID("workerbootstrap-test@mozilla.org");
-          addon.uninstall();
-
-          const stages = [ "install", "startup", "shutdown", "uninstall" ];
-          const symbols = [ "Worker", "ChromeWorker" ];
-
-          for (var stage of stages) {
-            for (var symbol of symbols) {
-              is(Services.prefs.getBoolPref("workertest.bootstrap." + stage +
-                                            "." + symbol),
-                 true,
-                 "Symbol '" + symbol + "' present during '" + stage + "'");
-            }
-          }
-
-          SimpleTest.finish();
-        },
-        QueryInterface: ChromeUtils.generateQI([Ci.nsIObserver])
-      };
-
-      var workertestbootstrap = Cc["@mozilla.org/test/workertestbootstrap;1"].
-                                createInstance(Ci.nsIObserver);
-
-      workertestbootstrap.observe(observer, "postMessage", message);
-
-      SimpleTest.waitForExplicitFinish();
-    }
-
-  ]]>
-  </script>
-
-  <body xmlns="http://www.w3.org/1999/xhtml">
-    <p id="display"></p>
-    <div id="content" style="display:none;"></div>
-    <pre id="test"></pre>
-  </body>
-  <label id="test-result"/>
-</window>