B2G/gecko/browser/components/sessionstore/src/SessionStore.jsm
/**
   * Dispatch an SSWindowState_____ event for the given window.
   * @param aWindow the window
   * @param aType the type of event, SSWindowState will be prepended to this string
   */
Dispatch an SSWindowState_____ event for the given window.
@param aWindow the window
@param aType the type of event, SSWindowState will be prepended to this string
Dispatch an SSWindowState_____ event for the given window . @param aWindow the window @param aType the type of event SSWindowState will be prepended to this string
function ssi_sendWindowStateEvent(aWindow, aType) {
    let event = aWindow.document.createEvent("Events");
    event.initEvent("SSWindowState" + aType, true, false);
    aWindow.dispatchEvent(event);
  }
function ssi_sendWindowStateEvent ( aWindow , aType ) { let event = aWindow . document . createEvent ( "Events" ) ; event . initEvent ( "SSWindowState" + aType , true , false ) ; aWindow . dispatchEvent ( event ) ; }
Dispatch an SSWindowState_____ event for the given window.
Dispatch an SSWindowState_____ event for the given window .