function ClientPort(portid, clientWindow) {
  this._clientWindow = clientWindow
  this._window = null;
  // messages posted to the worker before the worker has loaded.
  this._pendingMessagesOutgoing = [];
  AbstractPort.call(this, portid);
}
/**
 * ClientPort
 *
 * Client side of the entangled ports. The ClientPort is used by both XUL
 * windows and Content windows to communicate with the worker
 *
 * constructor:
 * @param {integer} portid
 * @param {nsiDOMWindow} clientWindow, optional
 */
ClientPort
Client side of the entangled ports. The ClientPort is used by both XUL
windows and Content windows to communicate with the worker

@param {integer} portid
@param {nsiDOMWindow} clientWindow, optional
ClientPort Client side of the entangled ports . The ClientPort is used by both XUL windows and Content windows to communicate with the worker @param { integer } portid @param { nsiDOMWindow } clientWindow optional
function ClientPort(portid, clientWindow) {
  this._clientWindow = clientWindow
  this._window = null;
  this._pendingMessagesOutgoing = [];
  AbstractPort.call(this, portid);
}
function ClientPort ( portid , clientWindow ) { this . _clientWindow = clientWindow this . _window = null ; this . _pendingMessagesOutgoing = [ ] ; AbstractPort . call ( this , portid ) ; }
ClientPort
 Client side of the entangled ports.
ClientPort Client side of the entangled ports .
// messages posted to the worker before the worker has loaded.