function click() {
synthesizeMouseAtCenter(select, { });
++clicks;
// At least two clicks were required for bug 644542, sometimes more;
// delay is long enough that this doesn't look like a double
// click, and also allows time for popup to show and for painting.
setTimeout(clicks < 4 ? click : done, 500);
}
function done() {
ok(true, "No crash on opening dropdown");
SimpleTest.finish();
}
SimpleTest.waitForExplicitFinish();
SimpleTest.requestFlakyTimeout("untriaged");
// waitForFocus is most likely not the right thing to wait for, but
// without this the first click is ineffective (even with a reflow forced
// before synthesizeMouse).
SimpleTest.waitForFocus(click);
</script>
</pre>
</body>
</html>
¤ Dauer der Verarbeitung: 0.28 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.