Bug 886781 follow-up: Disable the test properly, we can't return from the global scope

Landed on a CLOSED TREE
This commit is contained in:
Ehsan Akhgari 2013-09-19 11:49:04 -04:00
parent 0b1076608d
commit 7e1838537c

View File

@ -19,11 +19,10 @@ SimpleTest.waitForExplicitFinish();
if (navigator.userAgent.indexOf("Windows NT 6.2") >= 0) {
todo(false, "Too many intermittent failures on Windows 8 (bug 886781)");
SimpleTest.finish();
return;
} else {
setTimeout(focusing, 0);
}
setTimeout(focusing, 0);
function focusing() {
document.getElementById("editor").focus();
// This seems to be necessary because the selection is not set up properly otherwise