michael@0: function test() { michael@0: waitForExplicitFinish(); michael@0: var privateWin = OpenBrowserWindow({private: true}); michael@0: michael@0: whenDelayedStartupFinished(privateWin, function () { michael@0: privateWin.BrowserOpenTab(); michael@0: privateWin.BrowserTryToCloseWindow(); michael@0: ok(true, "didn't prompt"); michael@0: michael@0: executeSoon(finish); michael@0: }); michael@0: }