mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixing bustage from bug 641342.
--HG-- extra : rebase_source : 4d0dc461bb21028b4f0dba4de8c1f925a3c85a47
This commit is contained in:
parent
b8b683195b
commit
a3b8fcc68e
@ -26,11 +26,7 @@
|
||||
SimpleTest.finish();
|
||||
} else {
|
||||
|
||||
// Run the test in a separate window so we get a clean browser window.
|
||||
window.open("data:text/html,<html style='overflow:scroll'><script>opener.doTest(window);</script>",
|
||||
"", "scrollbars=yes,toolbar,menubar,width=500,height=500,chrome");
|
||||
|
||||
function doTest(win) {
|
||||
function doTest(evt) {
|
||||
var initialCount = win.mozPaintCount;
|
||||
|
||||
function nextStep() {
|
||||
@ -54,6 +50,12 @@
|
||||
|
||||
SimpleTest.executeSoon(nextStep);
|
||||
}
|
||||
|
||||
// Run the test in a separate window so we get a clean browser window.
|
||||
var win = window.open("data:text/html,<html style='overflow:scroll'>",
|
||||
"", "scrollbars=yes,toolbar,menubar,width=500,height=500");
|
||||
win.addEventListener('load', doTest, false);
|
||||
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user