summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/drag-image-to-desktop.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/drag-image-to-desktop.html')
-rw-r--r--WebCore/manual-tests/drag-image-to-desktop.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/WebCore/manual-tests/drag-image-to-desktop.html b/WebCore/manual-tests/drag-image-to-desktop.html
new file mode 100644
index 0000000..abcd395
--- /dev/null
+++ b/WebCore/manual-tests/drag-image-to-desktop.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<body>
+<span style="">
+<p>This page tests WebKit's behavior when dragging an image with a file extension that doesn't match its MIME type or actual file type
+<p>Prerequisites:<br>
+<ul><li>run the LayoutTest's webserver (WebKitTools/run-webkit-httpd)</ul>
+<p>Steps to test:<br>
+<ol><li>drag and drop the image below to the desktop</ol>
+<img src="http://127.0.0.1:8000/misc/resources/generatedimage.bat" width="88" height="31">
+<p>Expected results:<br>
+The file should have .gif extension <em>(not .bat or .jpg/.jpeg)</em>
+</body>
+</html>