B2G/gecko/browser/components/sessionstore/test/browser_589246.js
// This will be called before the window is actually closed
This will be called before the window is actually closed
This will be called before the window is actually closed
function onLastWindowClosed(aSubject, aTopic, aData) {
  info("test #" + testNum + ": onLastWindowClosed");
  Services.obs.removeObserver(onLastWindowClosed, "browser-lastwindow-close-granted", false);
  gotLastWindowClosedTopic = true;
}
function onLastWindowClosed ( aSubject , aTopic , aData ) { info ( "test #" + testNum + ": onLastWindowClosed" ) ; Services . obs . removeObserver ( onLastWindowClosed , "browser-lastwindow-close-granted" , false ) ; gotLastWindowClosedTopic = true ; }
This will be called before the window is actually closed
This will be called before the window is actually closed