Bug 1431462 - Remove Marionette:getVisibleCookies message listener. r?maja_zf draft
authorAndreas Tolfsen <ato@sny.no>
Thu, 18 Jan 2018 17:28:28 +0000
changeset 722214 cbaf0de5c29775c4b0b74624e32b39eed898a29b
parent 722181 0a543687fd36bc0dc4188c3d33d117b0a8174721
child 746566 e5a322f17eeb22727f7eb7b64e74f4ef9f430f00
push id96096
push userbmo:ato@sny.no
push dateThu, 18 Jan 2018 17:29:21 +0000
reviewersmaja_zf
bugs1431462
milestone59.0a1
Bug 1431462 - Remove Marionette:getVisibleCookies message listener. r?maja_zf The Marionette:getVisibleCookies IPC message listener is not used. MozReview-Commit-ID: G1N0F8jdLHH
testing/marionette/driver.js
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -275,26 +275,24 @@ GeckoDriver.prototype.QueryInterface = X
   Ci.nsIMessageListener,
   Ci.nsIObserver,
   Ci.nsISupportsWeakReference,
 ]);
 
 GeckoDriver.prototype.init = function() {
   this.mm.addMessageListener("Marionette:WebDriver:GetCapabilities", this);
   this.mm.addMessageListener("Marionette:GetLogLevel", this);
-  this.mm.addMessageListener("Marionette:getVisibleCookies", this);
   this.mm.addMessageListener("Marionette:ListenersAttached", this);
   this.mm.addMessageListener("Marionette:Register", this);
   this.mm.addMessageListener("Marionette:switchedToFrame", this);
 };
 
 GeckoDriver.prototype.uninit = function() {
   this.mm.removeMessageListener("Marionette:WebDriver:GetCapabilities", this);
   this.mm.removeMessageListener("Marionette:GetLogLevel", this);
-  this.mm.removeMessageListener("Marionette:getVisibleCookies", this);
   this.mm.removeMessageListener("Marionette:ListenersAttached", this);
   this.mm.removeMessageListener("Marionette:Register", this);
   this.mm.removeMessageListener("Marionette:switchedToFrame", this);
 };
 
 /**
  * Callback used to observe the creation of new modal or tab modal dialogs
  * during the session's lifetime.