Backed out 2 changesets (bug 1422915)for eslint failure on /builds/worker/checkouts/gecko/testing/marionette/server.js:391:5 r=backout on a CLOSED TREE
authorTiberius Oros <toros@mozilla.com>
Wed, 06 Dec 2017 14:04:06 +0200
changeset 708679 0a040f4441d0a284b1b51daa8567a8ed7feb1b6f
parent 708678 c408aa5f26f9c0e2a7ffcae82364379a73d9f1da
child 708680 3e891763f31727c1cc84dbda8061bd1dc14d4d94
push id92403
push userVYV03354@nifty.ne.jp
push dateWed, 06 Dec 2017 22:18:41 +0000
reviewersbackout
bugs1422915
milestone59.0a1
backs outd61481e31a93819cb54e07525294c8b42b8f7e90
a30ad544bf0feae8395af0eb597a929befdcb679
Backed out 2 changesets (bug 1422915)for eslint failure on /builds/worker/checkouts/gecko/testing/marionette/server.js:391:5 r=backout on a CLOSED TREE Backed out changeset d61481e31a93 (bug 1422915) Backed out changeset a30ad544bf0f (bug 1422915)
testing/marionette/server.js
--- a/testing/marionette/server.js
+++ b/testing/marionette/server.js
@@ -380,20 +380,21 @@ server.TCPListener = class {
     }
 
     for (let k of this.alteredPrefs) {
       logger.debug(`Resetting recommended pref ${k}`);
       Preferences.reset(k);
     }
     this.alteredPrefs.clear();
 
+    Services.obs.notifyObservers(this, NOTIFY_RUNNING);
+
     // Shutdown server socket, and no longer listen for new connections
     this.acceptConnections = false;
 
-    Services.obs.notifyObservers(this, NOTIFY_RUNNING, false);
     this.alive = false;
   }
 
   onSocketAccepted(serverSocket, clientSocket) {
     let input = clientSocket.openInputStream(0, 0, 0);
     let output = clientSocket.openOutputStream(0, 0, 0);
     let transport = new DebuggerTransport(input, output);