mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1180827 - Get rid of a couple of setTimeouts/flaky test requests. r=MattN
This commit is contained in:
parent
e3734b27f4
commit
f036df8e47
@ -429,21 +429,28 @@ function runTest() {
|
||||
// Filter with a letter in the middle of the word.
|
||||
synthesizeKey("i", {});
|
||||
synthesizeKey("n", {});
|
||||
setTimeout(function() {
|
||||
waitForMenuChange(1);
|
||||
break;
|
||||
|
||||
case 303:
|
||||
// Continuation of test 302.
|
||||
doKey("down");
|
||||
doKey("return");
|
||||
checkForm("final");
|
||||
expectPopup();
|
||||
restoreForm();
|
||||
doKey("down");
|
||||
}, 500);
|
||||
break;
|
||||
|
||||
case 303:
|
||||
case 304:
|
||||
// Filter is disabled with mozNoFilter.
|
||||
input.setAttribute('mozNoFilter', 'true');
|
||||
synthesizeKey("f", {});
|
||||
setTimeout(function() {
|
||||
waitForMenuChange(3); // no change
|
||||
break;
|
||||
|
||||
case 305:
|
||||
// Continuation of test 304.
|
||||
doKey("down");
|
||||
doKey("return");
|
||||
checkForm("Google");
|
||||
@ -452,7 +459,6 @@ function runTest() {
|
||||
expectPopup();
|
||||
restoreForm();
|
||||
doKey("down");
|
||||
}, 500);
|
||||
break;
|
||||
|
||||
case 400:
|
||||
@ -496,7 +502,6 @@ function startTest() {
|
||||
window.onload = startTest;
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SimpleTest.requestFlakyTimeout("untriaged");
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user