B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * The "locationChange" message type handler. We redirect any message to
   * the UI for displaying.
   *
   * @private
   * @param string aType
   *        Message type.
   * @param object aPacket
   *        The message received from the server.
   */
The "locationChange" message type handler. We redirect any message to
the UI for displaying.

@private
@param string aType
Message type.
@param object aPacket
The message received from the server.
The " locationChange " message type handler . We redirect any message to the UI for displaying . @private @param string aType Message type . @param object aPacket The message received from the server .
function WCCP__onLocationChange(aType, aPacket)
  {
    if (!this.owner || aPacket.from != this._consoleActor) {
      return;
    }
    this.owner.onLocationChange(aPacket.uri, aPacket.title);
    if (aPacket.state == "stop" && !aPacket.nativeConsoleAPI) {
      this.owner.logWarningAboutReplacedAPI();
    }
  }
function WCCP__onLocationChange ( aType , aPacket ) { if ( ! this . owner || aPacket . from != this . _consoleActor ) { return ; } this . owner . onLocationChange ( aPacket . uri , aPacket . title ) ; if ( aPacket . state == "stop" && ! aPacket . nativeConsoleAPI ) { this . owner . logWarningAboutReplacedAPI ( ) ; } }
The "locationChange" message type handler.
The " locationChange " message type handler .