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

Side by Side Diff: LayoutTests/fast/forms/file/input-file-value.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <input type="file" name="file" id="file"> 7 <input type="file" name="file" id="file">
8 8
9 <script> 9 <script>
10 description("This tests the value attribute in file input forms"); 10 description("This tests the value attribute in file input forms");
11 11
12 if (window.testRunner) { 12 if (window.testRunner) {
13 var file = document.getElementById("file"); 13 var file = document.getElementById("file");
14 dragFilesOntoInput(file, ["foo.txt"]); 14 dragFilesOntoInput(file, ["foo.txt"]);
(...skipping 17 matching lines...) Expand all
32 } 32 }
33 33
34 function dragFilesOntoInput(input, files) { 34 function dragFilesOntoInput(input, files) {
35 eventSender.beginDragWithFiles(files); 35 eventSender.beginDragWithFiles(files);
36 moveMouseToCenterOfElement(input); 36 moveMouseToCenterOfElement(input);
37 eventSender.mouseUp(); 37 eventSender.mouseUp();
38 } 38 }
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/file/input-file-entries.html ('k') | LayoutTests/fast/forms/file/input-file-write-files.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698