third_party/gecko-16/win32/bin/chrome/toolkit/content/global/devtools/dbg-browser-actors.js
/**
   * Handle location changes, by sending a tabNavigated notification to the
   * client.
   */
Handle location changes, by sending a tabNavigated notification to the
client.
Handle location changes by sending a tabNavigated notification to the client .
function BTA_onWindowCreated(evt) {
    if (evt.target === this.browser.contentDocument) {
      if (evt.type == "pageshow" && !evt.persisted) {
        return;
      }
      if (this._attached) {
        this.threadActor.clearDebuggees();
        this.threadActor.dbg.enabled = true;
        if (this._progressListener) {
          delete this._progressListener._needsTabNavigated;
        }
        this.conn.send({ from: this.actorID, type: "tabNavigated",
                         url: this.browser.contentDocument.URL });
      }
    }
    if (this._attached) {
      this._addDebuggees(evt.target.defaultView.wrappedJSObject);
    }
  }
function BTA_onWindowCreated ( evt ) { if ( evt . target === this . browser . contentDocument ) { if ( evt . type == "pageshow" && ! evt . persisted ) { return ; } if ( this . _attached ) { this . threadActor . clearDebuggees ( ) ; this . threadActor . dbg . enabled = true ; if ( this . _progressListener ) { delete this . _progressListener . _needsTabNavigated ; } this . conn . send ( { from : this . actorID , type : "tabNavigated" , url : this . browser . contentDocument . URL } ) ; } } if ( this . _attached ) { this . _addDebuggees ( evt . target . defaultView . wrappedJSObject ) ; } }
Handle location changes, by sending a tabNavigated notification to the
 client.
Handle location changes by sending a tabNavigated notification to the client .
// pageshow events for non-persisted pages have already been handled by a // prior DOMWindowCreated event.