Index: LayoutTests/fast/files/file-reader-abort.html |
diff --git a/LayoutTests/fast/files/file-reader-abort.html b/LayoutTests/fast/files/file-reader-abort.html |
index 4da639c98ce225773a5c3869dd431330bc50b949..c90f4a2c195f78174802d1017bb631a2fcba5128 100644 |
--- a/LayoutTests/fast/files/file-reader-abort.html |
+++ b/LayoutTests/fast/files/file-reader-abort.html |
@@ -40,6 +40,8 @@ function onInputFileChange() |
function runTests() |
{ |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.beginDragWithFiles(['resources/UTF8.txt']); |
eventSender.mouseMoveTo(10, 10); |
eventSender.mouseUp(); |