B2G/gecko/toolkit/devtools/webconsole/dbg-webconsole-actors.js
/**
   * Handler for location changes. This method sends the new browser location
   * to the remote Web Console client.
   *
   * @see ConsoleProgressListener
   * @param string aState
   *        Tells the location change state:
   *        - "start" means a load has begun.
   *        - "stop" means load completed.
   * @param string aURI
   *        The new browser URI.
   * @param string aTitle
   *        The new page title URI.
   */
Handler for location changes. This method sends the new browser location
to the remote Web Console client.

@see ConsoleProgressListener
@param string aState
Tells the location change state:
- "start" means a load has begun.
- "stop" means load completed.
@param string aURI
The new browser URI.
@param string aTitle
The new page title URI.
Handler for location changes . This method sends the new browser location to the remote Web Console client . @see ConsoleProgressListener @param string aState Tells the location change state : - " start " means a load has begun . - " stop " means load completed . @param string aURI The new browser URI . @param string aTitle The new page title URI .
function WCA_onLocationChange(aState, aURI, aTitle)
  {
    let packet = {
      from: this.actorID,
      type: "locationChange",
      uri: aURI,
      title: aTitle,
      state: aState,
      nativeConsoleAPI: this.hasNativeConsoleAPI(),
    };
    this.conn.send(packet);
  }
function WCA_onLocationChange ( aState , aURI , aTitle ) { let packet = { from : this . actorID , type : "locationChange" , uri : aURI , title : aTitle , state : aState , nativeConsoleAPI : this . hasNativeConsoleAPI ( ) , } ; this . conn . send ( packet ) ; }
Handler for location changes.
Handler for location changes .
// TODO: Bug 792062 - Make the tabNavigated notification reusable by the Web Console