Index: LayoutTests/http/tests/navigation/resources/javascriptlink.html |
diff --git a/LayoutTests/http/tests/navigation/resources/javascriptlink.html b/LayoutTests/http/tests/navigation/resources/javascriptlink.html |
index a9774493fb6c38c4a59ed5518ea47274a6a6b2a9..47a4d504671e3ec876d7e34af25d9070f79dbfeb 100644 |
--- a/LayoutTests/http/tests/navigation/resources/javascriptlink.html |
+++ b/LayoutTests/http/tests/navigation/resources/javascriptlink.html |
@@ -5,6 +5,8 @@ |
function performUserEvents() { |
if (window.eventSender) { |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(15, 15); |
eventSender.mouseDown(); |
eventSender.mouseUp(); |