mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1114710 - test_leaf_layers_partition_browser_window.xul fails when run as a standalone directory. r=tn
This commit is contained in:
parent
4c80b736b4
commit
6ad8bb118c
@ -96,10 +96,16 @@
|
||||
return;
|
||||
}
|
||||
|
||||
window.focus();
|
||||
// Run the test in a separate window so we get a clean browser window.
|
||||
win = window.open("data:text/html,<html style='overflow:scroll'>",
|
||||
"", "scrollbars=yes,toolbar,menubar,width=500,height=500");
|
||||
setTimeout(setupWindow, 0);
|
||||
}
|
||||
|
||||
function setupWindow() {
|
||||
win.addEventListener("load", doTest, false);
|
||||
win.focus();
|
||||
}
|
||||
|
||||
nextTest();
|
||||
|
Loading…
Reference in New Issue
Block a user