mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 924972 - Enforce the focus before running every subtest of test_reftests_with_caret.html
This commit is contained in:
parent
87bb420b41
commit
e680555714
@ -12,6 +12,7 @@
|
|||||||
var doc = iframe.contentDocument;
|
var doc = iframe.contentDocument;
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
doc.body.scrollIntoView();
|
||||||
synthesizeMouse(iframe, 10, 10, {});
|
synthesizeMouse(iframe, 10, 10, {});
|
||||||
|
|
||||||
// Now try to set the caret without moving it
|
// Now try to set the caret without moving it
|
||||||
|
@ -39,7 +39,7 @@ function callbackTestCanvas(canvas)
|
|||||||
reference.parentNode.removeChild(reference);
|
reference.parentNode.removeChild(reference);
|
||||||
}
|
}
|
||||||
canvases = [];
|
canvases = [];
|
||||||
nextTest();
|
SimpleTest.waitForFocus(nextTest);
|
||||||
}
|
}
|
||||||
|
|
||||||
function doSnapShot(iframe) {
|
function doSnapShot(iframe) {
|
||||||
|
Loading…
Reference in New Issue
Block a user