зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1647474
- Wait for frame callbacks on the right window. r=kats
Quite obvious in hindsight :( Differential Revision: https://phabricator.services.mozilla.com/D81128
This commit is contained in:
Родитель
77ef4b13b8
Коммит
88f6ea40ee
|
@ -25,8 +25,8 @@ addLoadEvent(function() {
|
|||
|
||||
// Focus the input box, and wait for the focus to actually happen
|
||||
input.focus();
|
||||
requestAnimationFrame(function() {
|
||||
requestAnimationFrame(function() {
|
||||
win.requestAnimationFrame(function() {
|
||||
win.requestAnimationFrame(function() {
|
||||
// Scroll down a bit
|
||||
win.scrollTo(0, 5000);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче