B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Object properties provider. This function gives you the properties of the
   * remote object you want.
   *
   * @param string aActor
   *        The object actor ID from which you want the properties.
   * @param function aCallback
   *        Function you want invoked once the properties are received.
   */
Object properties provider. This function gives you the properties of the
remote object you want.

@param string aActor
The object actor ID from which you want the properties.
@param function aCallback
Function you want invoked once the properties are received.
Object properties provider . This function gives you the properties of the remote object you want . @param string aActor The object actor ID from which you want the properties . @param function aCallback Function you want invoked once the properties are received .
function WCF_objectPropertiesProvider(aActor, aCallback)
  {
    this.webConsoleClient.inspectObjectProperties(aActor,
      function(aResponse) {
        if (aResponse.error) {
          Cu.reportError("Failed to retrieve the object properties from the " +
                         "server. Error: " + aResponse.error);
          return;
        }
        aCallback(aResponse.properties);
      });
  }
function WCF_objectPropertiesProvider ( aActor , aCallback ) { this . webConsoleClient . inspectObjectProperties ( aActor , function ( aResponse ) { if ( aResponse . error ) { Cu . reportError ( "Failed to retrieve the object properties from the " + "server. Error: " + aResponse . error ) ; return ; } aCallback ( aResponse . properties ) ; } ) ; }
Object properties provider.
Object properties provider .