mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 725015. (Av3) Add missing 'return', Set needed preference, Make todo() message more explicit. r=mounir.
This commit is contained in:
parent
7e5d6bc2dc
commit
8853c87b42
@ -262,10 +262,12 @@ function checkChangeIsEnabled(aWindow, aNext)
|
||||
});
|
||||
}
|
||||
|
||||
SpecialPowers.pushPrefEnv({"set": [["dom.disable_window_move_resize", false]]}, function() {
|
||||
SimpleTest.waitForFocus(function() {
|
||||
if (screen.width <= 200 || screen.height <= 200) {
|
||||
todo(false, "The screen is too small to run this test.");
|
||||
todo(false, "The screen needs to be bigger than 200px*200px to run this test.");
|
||||
SimpleTest.finish();
|
||||
return;
|
||||
}
|
||||
|
||||
backValues();
|
||||
@ -318,6 +320,7 @@ SimpleTest.waitForFocus(function() {
|
||||
}, w, false);
|
||||
});
|
||||
});
|
||||
}); // SpecialPowers.pushPrefEnv()
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user