B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * The remote object provider allows you to retrieve a given object from
   * a specific cache and have your callback invoked when the desired object is
   * received from the Web Console content instance.
   *
   * @param string aCacheId
   *        Retrieve the desired object from this cache ID.
   * @param string aObjectId
   *        The ID of the object you want.
   * @param string aResultCacheId
   *        The ID of the cache where you want any object references to be
   *        stored into.
   * @param function aCallback
   *        The function you want invoked when the desired object is retrieved.
   */
The remote object provider allows you to retrieve a given object from
a specific cache and have your callback invoked when the desired object is
received from the Web Console content instance.

@param string aCacheId
Retrieve the desired object from this cache ID.
@param string aObjectId
The ID of the object you want.
@param string aResultCacheId
The ID of the cache where you want any object references to be
stored into.
@param function aCallback
The function you want invoked when the desired object is retrieved.
The remote object provider allows you to retrieve a given object from a specific cache and have your callback invoked when the desired object is received from the Web Console content instance . @param string aCacheId Retrieve the desired object from this cache ID . @param string aObjectId The ID of the object you want . @param string aResultCacheId The ID of the cache where you want any object references to be stored into . @param function aCallback The function you want invoked when the desired object is retrieved .
function JST_remoteObjectProvider(aCacheId, aObjectId, aResultCacheId,
                                    aCallback) {
    let message = {
      cacheId: aCacheId,
      objectId: aObjectId,
      resultCacheId: aResultCacheId,
    };
    this.hud.owner.sendMessageToContent("JSTerm:GetEvalObject", message, aCallback);
  }
function JST_remoteObjectProvider ( aCacheId , aObjectId , aResultCacheId , aCallback ) { let message = { cacheId : aCacheId , objectId : aObjectId , resultCacheId : aResultCacheId , } ; this . hud . owner . sendMessageToContent ( "JSTerm:GetEvalObject" , message , aCallback ) ; }
The remote object provider allows you to retrieve a given object from
 a specific cache and have your callback invoked when the desired object is
 received from the Web Console content instance.
The remote object provider allows you to retrieve a given object from a specific cache and have your callback invoked when the desired object is received from the Web Console content instance .