gecko/browser/base/content/test/general/browser_private_no_prompt.js
Tim Taubert 83319b6bb9 Bug 932898 - Fix leaks in /browser/base/content/test/general/ r=jaws
From 703bffabe0374690ecce1ca6a82cfb1f1ace30e8 Mon Sep 17 00:00:00 2001
2013-11-02 16:14:52 +01:00

13 lines
296 B
JavaScript

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