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

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

Issue 48903019: Delete js-test-post.js. (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 <body> 2 <body>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 <script> 4 <script>
5 description("Tests the capture attribute of &lt;input type='file'&gt;"); 5 description("Tests the capture attribute of &lt;input type='file'&gt;");
6 6
7 var input = document.createElement("input"); 7 var input = document.createElement("input");
8 8
9 shouldBeTrue("'capture' in input"); 9 shouldBeTrue("'capture' in input");
10 shouldBe("input.capture", "false"); 10 shouldBe("input.capture", "false");
(...skipping 17 matching lines...) Expand all
28 shouldBe("input.hasAttribute('capture')", "true"); 28 shouldBe("input.hasAttribute('capture')", "true");
29 29
30 input.capture = false; 30 input.capture = false;
31 shouldBe("input.capture", "false"); 31 shouldBe("input.capture", "false");
32 shouldBe("input.hasAttribute('capture')", "false"); 32 shouldBe("input.hasAttribute('capture')", "false");
33 33
34 input.capture = true; 34 input.capture = true;
35 shouldBe("input.capture", "true"); 35 shouldBe("input.capture", "true");
36 shouldBe("input.hasAttribute('capture')", "true"); 36 shouldBe("input.hasAttribute('capture')", "true");
37 </script> 37 </script>
38 <script src="../../js/resources/js-test-post.js"></script>
39 </html> 38 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/file/display-none-upload-button.html ('k') | LayoutTests/fast/forms/file/file-input-change-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698