function DC_attachTab(aTabActor, aOnResponse) {
    let self = this;
    let packet = { to: aTabActor, type: DebugProtocolTypes.attach };
    this.request(packet, function(aResponse) {
      if (!aResponse.error) {
        var tabClient = new TabClient(self, aTabActor);
        self._tabClients[aTabActor] = tabClient;
        self.activeTab = tabClient;
      }
      aOnResponse(aResponse, tabClient);
    });
  }
/**
   * Attach to a tab actor.
   *
   * @param string aTabActor
   *        The actor ID for the tab to attach.
   * @param function aOnResponse
   *        Called with the response packet and a TabClient
   *        (which will be undefined on error).
   */
Attach to a tab actor.
@param string aTabActor
The actor ID for the tab to attach.
@param function aOnResponse
Called with the response packet and a TabClient
(which will be undefined on error).
Attach to a tab actor . @param string aTabActor The actor ID for the tab to attach . @param function aOnResponse Called with the response packet and a TabClient ( which will be undefined on error ) .
function DC_attachTab(aTabActor, aOnResponse) {
    let self = this;
    let packet = { to: aTabActor, type: DebugProtocolTypes.attach };
    this.request(packet, function(aResponse) {
      if (!aResponse.error) {
        var tabClient = new TabClient(self, aTabActor);
        self._tabClients[aTabActor] = tabClient;
        self.activeTab = tabClient;
      }
      aOnResponse(aResponse, tabClient);
    });
  }
function DC_attachTab ( aTabActor , aOnResponse ) { let self = this ; let packet = { to : aTabActor , type : DebugProtocolTypes . attach } ; this . request ( packet , function ( aResponse ) { if ( ! aResponse . error ) { var tabClient = new TabClient ( self , aTabActor ) ; self . _tabClients [ aTabActor ] = tabClient ; self . activeTab = tabClient ; } aOnResponse ( aResponse , tabClient ) ; } ) ; }
Attach to a tab actor.
Attach to a tab actor .