Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: LayoutTests/fast/forms/file/input-file-element-clone.html

Issue 364503002: Revert of node.cloneNode() should clone the value of file upload elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/forms/file/input-file-element-clone-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/file/input-file-element-clone.html
diff --git a/LayoutTests/fast/forms/file/input-file-element-clone.html b/LayoutTests/fast/forms/file/input-file-element-clone.html
deleted file mode 100644
index e9b9d74ab5f42d9e7d3464f9e3f7e9517c46fb9b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/forms/file/input-file-element-clone.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<script src="../../../resources/js-test.js"></script>
-<script src="resources/file-drag-common.js"></script>
-<form method="GET">
-<input type="file" id="file1">
-</form>
-<script>
-description('Make sure that Node.cloneNode() works as expected for file input type.');
-var file1 = document.getElementById('file1');
-dragFilesOntoInput(file1, ['input-file-element-clone.html']);
-var clone = file1.cloneNode(true);
-shouldBeEqualToString("file1.value", "C:\\fakepath\\input-file-element-clone.html");
-clone.id = "file2";
-document.body.appendChild(clone);
-var file2 = document.getElementById('file2');
-shouldBeEqualToString("file2.value", "C:\\fakepath\\input-file-element-clone.html");
-dragFilesOntoInput(file1, ['input-file-element-clone-expected.txt']);
-shouldBeEqualToString("file1.value", "C:\\fakepath\\input-file-element-clone-expected.txt");
-shouldBeEqualToString("file2.value", "C:\\fakepath\\input-file-element-clone.html");
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/forms/file/input-file-element-clone-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698