B2G/gecko/toolkit/devtools/debugger/server/dbg-script-actors.js
/**
   * Returns a frame form for use in a protocol message.
   */
Returns a frame form for use in a protocol message.
Returns a frame form for use in a protocol message .
function FA_form() {
    let form = { actor: this.actorID,
                 type: this.frame.type };
    if (this.frame.type === "call") {
      form.callee = this.threadActor.createValueGrip(this.frame.callee);
      form.calleeName = getFunctionName(this.frame.callee);
    }
    let envActor = this.threadActor
                       .createEnvironmentActor(this.frame.environment,
                                               this.frameLifetimePool);
    form.environment = envActor ? envActor.form(this.frame) : envActor;
    form.this = this.threadActor.createValueGrip(this.frame.this);
    form.arguments = this._args();
    if (this.frame.script) {
      form.where = { url: this.frame.script.url,
                     line: this.frame.script.getOffsetLine(this.frame.offset) };
    }
    if (!this.frame.older) {
      form.oldest = true;
    }
    return form;
  }
function FA_form ( ) { let form = { actor : this . actorID , type : this . frame . type } ; if ( this . frame . type === "call" ) { form . callee = this . threadActor . createValueGrip ( this . frame . callee ) ; form . calleeName = getFunctionName ( this . frame . callee ) ; } let envActor = this . threadActor . createEnvironmentActor ( this . frame . environment , this . frameLifetimePool ) ; form . environment = envActor ? envActor . form ( this . frame ) : envActor ; form . this = this . threadActor . createValueGrip ( this . frame . this ) ; form . arguments = this . _args ( ) ; if ( this . frame . script ) { form . where = { url : this . frame . script . url , line : this . frame . script . getOffsetLine ( this . frame . offset ) } ; } if ( ! this . frame . older ) { form . oldest = true ; } return form ; }
Returns a frame form for use in a protocol message.
Returns a frame form for use in a protocol message .