mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 854421 - Part 11: Use rAF instead of setTimeout in a test. r=roc
This commit is contained in:
parent
573e2de8a7
commit
a706976822
@ -35,8 +35,8 @@ function runTests() {
|
||||
scrollTopBefore = doc.body.scrollTop;
|
||||
// send up arrow key event
|
||||
sendKey("UP");
|
||||
|
||||
setTimeout("finish();", 20);
|
||||
|
||||
window.requestAnimationFrame(finish);
|
||||
}
|
||||
|
||||
function finish() {
|
||||
|
Loading…
Reference in New Issue
Block a user