B2G/gecko/toolkit/devtools/webconsole/dbg-webconsole-actors.js
/**
   * Create a grip for the given object.
   *
   * @param object aObject
   *        The object you want.
   * @param object
   *        The object grip.
   */
Create a grip for the given object.
@param object aObject
The object you want.
@param object
The object grip.
Create a grip for the given object . @param object aObject The object you want . @param object The object grip .
function WCA_createObjectActor(aObject)
  {
    let obj = WebConsoleUtils.unwrap(aObject);
    let actor = new WebConsoleObjectActor(obj, this);
    this._objectActorsPool.addActor(actor);
    return actor.grip();
  }
function WCA_createObjectActor ( aObject ) { let obj = WebConsoleUtils . unwrap ( aObject ) ; let actor = new WebConsoleObjectActor ( obj , this ) ; this . _objectActorsPool . addActor ( actor ) ; return actor . grip ( ) ; }
Create a grip for the given object.
Create a grip for the given object .
// We need to unwrap the object, otherwise we cannot access the properties // and methods added by the content scripts.