зеркало из https://github.com/mozilla/gecko-dev.git
Bug 640889 - Disable test in debug Windows < Vista while work proceeds on making it pass with the XP resizer in the way, r=tn, a=test
This commit is contained in:
Родитель
7627ac6dd3
Коммит
183347aaec
|
@ -17,6 +17,15 @@
|
|||
<![CDATA[
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
// Bug 640889 - the test doesn't like seeing the WinXP resizer.
|
||||
var version = Components.classes["@mozilla.org/system-info;1"]
|
||||
.getService(Components.interfaces.nsIPropertyBag2)
|
||||
.getProperty("version");
|
||||
if (navigator.platform.indexOf("Win") == 0 && parseFloat(version) < 6.0) {
|
||||
todo(false, "Bug 640889 - the test doesn't like seeing the WinXP resizer.");
|
||||
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");
|
||||
|
@ -46,6 +55,7 @@
|
|||
|
||||
SimpleTest.executeSoon(nextStep);
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
||||
|
|
Загрузка…
Ссылка в новой задаче