Bug 1369214 - test_getProcess.html should explicitly require Services in its process script. r=ochameau
authorAndrew McCreight <continuation@gmail.com>
Wed, 31 May 2017 16:09:06 -0700
changeset 361692 42d88860d41af43de19935ccff75f3901422879c
parent 361691 5ecd65c9136b6b3c924f91679f89b9e3577c3dbc
child 361693 d8970bf476f2dc8743059b08bc4f56aa4da4e4c2
push id31939
push usercbook@mozilla.com
push dateThu, 01 Jun 2017 11:49:28 +0000
treeherdermozilla-central@d96110d76619 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1369214
milestone55.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 1369214 - test_getProcess.html should explicitly require Services in its process script. r=ochameau MozReview-Commit-ID: BIjsqgIedxD
devtools/server/tests/mochitest/test_getProcess.html
--- a/devtools/server/tests/mochitest/test_getProcess.html
+++ b/devtools/server/tests/mochitest/test_getProcess.html
@@ -111,16 +111,17 @@ function runTests() {
       let actor = response.form;
       is(actor, firstActor,
          "Second call to getProcess with the same id returns the same form");
       closeClient();
     });
   }
 
   function processScript() {
+    Components.utils.import('resource://gre/modules/Services.jsm');
     let listener = function () {
       Services.obs.removeObserver(listener, "sdk:loader:destroy");
       sendAsyncMessage("test:getProcess-destroy", null);
     };
     Services.obs.addObserver(listener, "sdk:loader:destroy");
   }
 
   function closeClient() {