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:
Ehsan Akhgari 2014-01-25 11:59:34 -05:00
parent f542b69f47
commit 9d52b78d56

View File

@ -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);