Index: LayoutTests/fast/forms/file/get-file-upload.html |
diff --git a/LayoutTests/fast/forms/file/get-file-upload.html b/LayoutTests/fast/forms/file/get-file-upload.html |
index badb33268a9a9fd4663aba3684d3e2a6841f29c6..fafbe3332a38e35d005c9d9eb65f3c600fd5a160 100644 |
--- a/LayoutTests/fast/forms/file/get-file-upload.html |
+++ b/LayoutTests/fast/forms/file/get-file-upload.html |
@@ -24,6 +24,8 @@ function startOrVerify() |
log('FAIL: ' + query); |
testRunner.notifyDone(); |
} else { |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
// Start the test |
eventSender.beginDragWithFiles(['get-file-upload.html']); |
eventSender.mouseMoveTo(10, 10); |