Bug
1745595 wait for expected geometry after move or resize r=whimboo,webdriver-reviewers
The requestAnimationFrame() callback used in IdlePromise() may run sooner than
1/60 second, providing insufficient time for changes to be effected.
https://searchfox.org/mozilla-central/rev/
e567185fa464270f94430e7cf62d134f4df9a69f/layout/base/nsRefreshDriver.cpp#1730-1731
Waiting for the "resize" and "MozUpdateWindowPos" events should provide
minimum wait in the common cases that the OS completes the changes requested.
This change should also resolve
https://bugzilla.mozilla.org/show_bug.cgi?id=
1702255
Differential Revision: https://phabricator.services.mozilla.com/
D147729