Index: LayoutTests/fast/events/drop-with-file-paths.html |
diff --git a/LayoutTests/fast/events/drop-with-file-paths.html b/LayoutTests/fast/events/drop-with-file-paths.html |
index 3fb767570cb45b477f2bd2131b75b1fe18c09488..39dffec00cfffe212c79f86ae7a46385ab2d938b 100644 |
--- a/LayoutTests/fast/events/drop-with-file-paths.html |
+++ b/LayoutTests/fast/events/drop-with-file-paths.html |
@@ -8,6 +8,8 @@ function runTest() { |
window.testRunner.dumpAsText(); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.beginDragWithFiles(['resources/file-for-drop-with-file-paths.html']); |
eventSender.mouseMoveTo(10, 10); |
eventSender.mouseUp(); |