function OA_onNameAndParameters(aRequest) {
    if (this.threadActor.state !== "paused") {
      return this.WRONG_STATE_RESPONSE;
    }

    if (this.obj.class !== "Function") {
      return { error: "objectNotFunction",
               message: "nameAndParameters request is only valid for object " +
                        "grips with a 'Function' class." };
    }

    return { name: this.obj.name || null,
             parameters: this.obj.parameterNames };
  }
/**
   * Handle a protocol request to provide the name and parameters of a function.
   *
   * @param aRequest object
   *        The protocol request object.
   */
Handle a protocol request to provide the name and parameters of a function.
@param aRequest object
The protocol request object.
Handle a protocol request to provide the name and parameters of a function . @param aRequest object The protocol request object .
function OA_onNameAndParameters(aRequest) {
    if (this.threadActor.state !== "paused") {
      return this.WRONG_STATE_RESPONSE;
    }
    if (this.obj.class !== "Function") {
      return { error: "objectNotFunction",
               message: "nameAndParameters request is only valid for object " +
                        "grips with a 'Function' class." };
    }
    return { name: this.obj.name || null,
             parameters: this.obj.parameterNames };
  }
function OA_onNameAndParameters ( aRequest ) { if ( this . threadActor . state !== "paused" ) { return this . WRONG_STATE_RESPONSE ; } if ( this . obj . class !== "Function" ) { return { error : "objectNotFunction" , message : "nameAndParameters request is only valid for object " + "grips with a 'Function' class." } ; } return { name : this . obj . name || null , parameters : this . obj . parameterNames } ; }
Handle a protocol request to provide the name and parameters of a function.
Handle a protocol request to provide the name and parameters of a function .