B2G/gecko/testing/marionette/marionette-server.js
/**
   * Removes listeners for messages from content frame scripts.
   *
   * @param object messageManager
   *        The messageManager object (ChromeMessageBroadcaster or ChromeMessageSender)
   *        from which the listeners should be removed.
   */
Removes listeners for messages from content frame scripts.
@param object messageManager
The messageManager object (ChromeMessageBroadcaster or ChromeMessageSender)
from which the listeners should be removed.
Removes listeners for messages from content frame scripts . @param object messageManager The messageManager object ( ChromeMessageBroadcaster or ChromeMessageSender ) from which the listeners should be removed .
function MDA_removeMessageManagerListeners(messageManager) {
    messageManager.removeMessageListener("Marionette:ok", this);
    messageManager.removeMessageListener("Marionette:done", this);
    messageManager.removeMessageListener("Marionette:error", this);
    messageManager.removeMessageListener("Marionette:log", this);
    messageManager.removeMessageListener("Marionette:shareData", this);
    messageManager.removeMessageListener("Marionette:register", this);
    messageManager.removeMessageListener("Marionette:runEmulatorCmd", this);
    messageManager.removeMessageListener("Marionette:switchToFrame", this);
    messageManager.removeMessageListener("Marionette:switchedToFrame", this);
  }
function MDA_removeMessageManagerListeners ( messageManager ) { messageManager . removeMessageListener ( "Marionette:ok" , this ) ; messageManager . removeMessageListener ( "Marionette:done" , this ) ; messageManager . removeMessageListener ( "Marionette:error" , this ) ; messageManager . removeMessageListener ( "Marionette:log" , this ) ; messageManager . removeMessageListener ( "Marionette:shareData" , this ) ; messageManager . removeMessageListener ( "Marionette:register" , this ) ; messageManager . removeMessageListener ( "Marionette:runEmulatorCmd" , this ) ; messageManager . removeMessageListener ( "Marionette:switchToFrame" , this ) ; messageManager . removeMessageListener ( "Marionette:switchedToFrame" , this ) ; }
Removes listeners for messages from content frame scripts.
Removes listeners for messages from content frame scripts .