Index: LayoutTests/fast/forms/file/file-input-reset.html |
diff --git a/LayoutTests/fast/forms/file/file-input-reset.html b/LayoutTests/fast/forms/file/file-input-reset.html |
index 9d7cca1b60cc858a1d34108161392e3144d1b34d..c67ebbbd7a5cd692339ef298cb215fe85d8a96ce 100644 |
--- a/LayoutTests/fast/forms/file/file-input-reset.html |
+++ b/LayoutTests/fast/forms/file/file-input-reset.html |
@@ -1,4 +1,5 @@ |
<!DOCTYPE html> |
+<script src="resources/file-drag-common.js"></script> |
<html> |
<head> |
</head> |
@@ -30,14 +31,6 @@ function click(x, y) { |
eventSender.mouseMoveTo(x, y); |
eventSender.mouseUp(); |
} |
- |
-function dragFilesOntoElement(element, files) { |
- eventSender.beginDragWithFiles(files); |
- var centerX = element.offsetLeft + element.offsetWidth / 2; |
- var centerY = element.offsetTop + element.offsetHeight / 2; |
- eventSender.mouseMoveTo(centerX, centerY); |
- eventSender.mouseUp(); |
-} |
</script> |
</body> |
</html> |