Truly independent web browser
Tests/LibWeb: Wait for the frame a hover-lane test’s hover follows
sideshowbarkerf43c542f805f
diff --git a/Tests/LibWeb/Text/input/HTML/frame-in-flight/hover-lane-mouse-move-handed-to-an-iframe-goes-to-it-after-the-task-moved-boxes.html b/Tests/LibWeb/Text/input/HTML/frame-in-flight/hover-lane-mouse-move-handed-to-an-iframe-goes-to-it-after-the-task-moved-boxes.htmlindex 41d88f6b210..4507877ecb3 100644--- a/Tests/LibWeb/Text/input/HTML/frame-in-flight/hover-lane-mouse-move-handed-to-an-iframe-goes-to-it-after-the-task-moved-boxes.html+++ b/Tests/LibWeb/Text/input/HTML/frame-in-flight/hover-lane-mouse-move-handed-to-an-iframe-goes-to-it-after-the-task-moved-boxes.html@@ -27,7 +27,9 @@internals.injectHoverPointer(80, 50, frameTime + 16, id);iframe.contentWindow.internals.injectClockTick(frameTime + 32);}, [document, iframe.contentDocument]);- // The hover follows the frame that moved the element under the pointer, between two tasks once it landed.+ // The hover follows the frame that moved the element under the pointer, between two tasks once it landed. Where the+ // rendering update after those two frames lays the document out again, the hover follows that update's frame.+ await twoFramesLanded();await twoFramesLanded();await nextTask();println(`mousemove targets: ${targets.join(", ")}`);