mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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);
|
|
} |