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 409809 42d88860d41af43de19935ccff75f3901422879c
parent 409808 5ecd65c9136b6b3c924f91679f89b9e3577c3dbc
child 409810 d8970bf476f2dc8743059b08bc4f56aa4da4e4c2
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [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() {