bin/XULRunner21_0/chrome/toolkit/content/global/devtools/dbg-browser-actors.js
/**
   * Disconnects the actor from the browser window.
   */
Disconnects the actor from the browser window.
Disconnects the actor from the browser window .
function BRA_disconnect() {
    windowMediator.removeListener(this);
    this._extraActors = null;
    let e = windowMediator.getEnumerator("navigator:browser");
    while (e.hasMoreElements()) {
      let win = e.getNext();
      this.unwatchWindow(win);
      let evt = win.document.createEvent("Event");
      evt.initEvent("Debugger:Shutdown", true, false);
      win.document.documentElement.dispatchEvent(evt);
    }
  }
function BRA_disconnect ( ) { windowMediator . removeListener ( this ) ; this . _extraActors = null ; let e = windowMediator . getEnumerator ( "navigator:browser" ) ; while ( e . hasMoreElements ( ) ) { let win = e . getNext ( ) ; this . unwatchWindow ( win ) ; let evt = win . document . createEvent ( "Event" ) ; evt . initEvent ( "Debugger:Shutdown" , true , false ) ; win . document . documentElement . dispatchEvent ( evt ) ; } }
Disconnects the actor from the browser window.
Disconnects the actor from the browser window .
// We may have registered event listeners on browser windows to // watch for tab closes, remove those. // Signal our imminent shutdown.