B2G/gecko/toolkit/devtools/webconsole/dbg-webconsole-actors.js
/**
   * Handler for page errors received from the PageErrorListener. This method
   * sends the nsIScriptError to the remote Web Console client.
   *
   * @param nsIScriptError aPageError
   *        The page error we need to send to the client.
   */
Handler for page errors received from the PageErrorListener. This method
sends the nsIScriptError to the remote Web Console client.

@param nsIScriptError aPageError
The page error we need to send to the client.
Handler for page errors received from the PageErrorListener . This method sends the nsIScriptError to the remote Web Console client . @param nsIScriptError aPageError The page error we need to send to the client .
function WCA_onPageError(aPageError)
  {
    let packet = {
      from: this.actorID,
      type: "pageError",
      pageError: this.preparePageErrorForRemote(aPageError),
    };
    this.conn.send(packet);
  }
function WCA_onPageError ( aPageError ) { let packet = { from : this . actorID , type : "pageError" , pageError : this . preparePageErrorForRemote ( aPageError ) , } ; this . conn . send ( packet ) ; }
Handler for page errors received from the PageErrorListener.
Handler for page errors received from the PageErrorListener .