mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
13 lines
414 B
JavaScript
13 lines
414 B
JavaScript
function test() {
|
|
waitForExplicitFinish();
|
|
var privateWin = OpenBrowserWindow({private: true});
|
|
privateWin.addEventListener("load", function onload() {
|
|
privateWin.removeEventListener("load", onload, false);
|
|
ok(true, "Load listener called");
|
|
|
|
privateWin.BrowserOpenTab();
|
|
privateWin.BrowserTryToCloseWindow();
|
|
ok(true, "didn't prompt");
|
|
finish();
|
|
}, false);
|
|
} |