mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 963760 - Fix the test for bug 682712 to not rely on a mouse click to set the focus on body; r=roc
This commit is contained in:
parent
f542b69f47
commit
9d52b78d56
@ -18,7 +18,7 @@
|
||||
document.body.clientWidth;
|
||||
|
||||
setTimeout(function() {
|
||||
synthesizeMouse(iframe, 10, 10, {});
|
||||
doc.body.focus();
|
||||
|
||||
// Now try to move the caret
|
||||
win.getSelection().collapse(doc.body.firstChild, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user