| Index: LayoutTests/fast/forms/file/input-file-value.html
|
| diff --git a/LayoutTests/fast/forms/file/input-file-value.html b/LayoutTests/fast/forms/file/input-file-value.html
|
| index e1004d622d19629bb4b6183129ccad76ebc48c46..ad68a8b3e1d7a8933aa3911fc2a0f9db7081890d 100644
|
| --- a/LayoutTests/fast/forms/file/input-file-value.html
|
| +++ b/LayoutTests/fast/forms/file/input-file-value.html
|
| @@ -2,6 +2,7 @@
|
| <html>
|
| <head>
|
| <script src="../../../resources/js-test.js"></script>
|
| +<script src="resources/file-drag-common.js"></script>
|
| </head>
|
| <body>
|
| <input type="file" name="file" id="file">
|
| @@ -24,18 +25,6 @@ if (window.testRunner) {
|
| shouldBeEqualToString("file.value", "");
|
| shouldBe("file.files.length", "0");
|
| }
|
| -
|
| -function moveMouseToCenterOfElement(element) {
|
| - var centerX = element.offsetLeft + element.offsetWidth / 2;
|
| - var centerY = element.offsetTop + element.offsetHeight / 2;
|
| - eventSender.mouseMoveTo(centerX, centerY);
|
| -}
|
| -
|
| -function dragFilesOntoInput(input, files) {
|
| - eventSender.beginDragWithFiles(files);
|
| - moveMouseToCenterOfElement(input);
|
| - eventSender.mouseUp();
|
| -}
|
| </script>
|
| </body>
|
| </html>
|
|
|