B2G/gecko/browser/devtools/webconsole/PropertyPanel.jsm
/**
   * Update a remote object so it can be used with the tree view. This method
   * adds properties to each array element.
   *
   * @private
   * @param array aObject
   *        The remote object you want prepared for use with the tree view.
   * @param number aLevel
   *        The level you want to give to each property in the remote object.
   */
Update a remote object so it can be used with the tree view. This method
adds properties to each array element.

@private
@param array aObject
The remote object you want prepared for use with the tree view.
@param number aLevel
The level you want to give to each property in the remote object.
Update a remote object so it can be used with the tree view . This method adds properties to each array element . @private @param array aObject The remote object you want prepared for use with the tree view . @param number aLevel The level you want to give to each property in the remote object .
function PTV__propertiesToRows(aObject, aLevel)
  {
    aObject.forEach(function(aItem) {
      aItem._level = aLevel;
      aItem._open = false;
      aItem._children = null;
      if (this._releaseObject) {
        ["value", "get", "set"].forEach(function(aProp) {
          let val = aItem[aProp];
          if (val && val.actor) {
            this._objectActors.push(val.actor);
          }
        }, this);
      }
    }, this);
  }
function PTV__propertiesToRows ( aObject , aLevel ) { aObject . forEach ( function ( aItem ) { aItem . _level = aLevel ; aItem . _open = false ; aItem . _children = null ; if ( this . _releaseObject ) { [ "value" , "get" , "set" ] . forEach ( function ( aProp ) { let val = aItem [ aProp ] ; if ( val && val . actor ) { this . _objectActors . push ( val . actor ) ; } } , this ) ; } } , this ) ; }
Update a remote object so it can be used with the tree view.
Update a remote object so it can be used with the tree view .