function _getWorkerPort(window) {
    if (!this.workerURL || !this.enabled)
      return null;
    try {
      return getFrameWorkerHandle(this.workerURL, window).port;
    } catch (ex) {
      Cu.reportError("SocialProvider: retrieving worker port failed:" + ex);
      return null;
    }
  }
/**
   * Instantiates a FrameWorker for the provider if one doesn't exist, and
   * returns a reference to a new port to that FrameWorker.
   *
   * Returns null if this provider has no workerURL, or is disabled.
   *
   * @param {DOMWindow} window (optional)
   */
Instantiates a FrameWorker for the provider if one doesn't exist, and
returns a reference to a new port to that FrameWorker.

Returns null if this provider has no workerURL, or is disabled.

@param {DOMWindow} window (optional)
Instantiates a FrameWorker for the provider if one doesn ' t exist and returns a reference to a new port to that FrameWorker . Returns null if this provider has no workerURL or is disabled . @param { DOMWindow } window ( optional )
function _getWorkerPort(window) {
    if (!this.workerURL || !this.enabled)
      return null;
    try {
      return getFrameWorkerHandle(this.workerURL, window).port;
    } catch (ex) {
      Cu.reportError("SocialProvider: retrieving worker port failed:" + ex);
      return null;
    }
  }
function _getWorkerPort ( window ) { if ( ! this . workerURL || ! this . enabled ) return null ; try { return getFrameWorkerHandle ( this . workerURL , window ) . port ; } catch ( ex ) { Cu . reportError ( "SocialProvider: retrieving worker port failed:" + ex ) ; return null ; } }
Instantiates a FrameWorker for the provider if one doesn't exist, and
 returns a reference to a new port to that FrameWorker.
Instantiates a FrameWorker for the provider if one doesn ' t exist and returns a reference to a new port to that FrameWorker .