B2G/gecko/browser/components/sessionstore/src/SessionStore.jsm
/**
   * On window open
   * @param aWindow
   *        Window reference
   */
On window open
@param aWindow
Window reference
On window open @param aWindow Window reference
function ssi_onOpen(aWindow) {
    var _this = this;
    aWindow.addEventListener("load", function(aEvent) {
      aEvent.currentTarget.removeEventListener("load", arguments.callee, false);
      _this.onLoad(aEvent.currentTarget);
    }, false);
    return;
  }
function ssi_onOpen ( aWindow ) { var _this = this ; aWindow . addEventListener ( "load" , function ( aEvent ) { aEvent . currentTarget . removeEventListener ( "load" , arguments . callee , false ) ; _this . onLoad ( aEvent . currentTarget ) ; } , false ) ; return ; }
On window open
 @param aWindow
        Window reference
On window open @param aWindow Window reference