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

Side by Side Diff: LayoutTests/fast/forms/formtarget-attribute-input-2.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 <body onload="runTest()"> 3 <body onload="runTest()">
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/common.js"></script> 5 <script src="resources/common.js"></script>
6 <form action="resources/success.txt" method="GET" target="failFrame"> 6 <form action="resources/success.txt" method="GET" target="failFrame">
7 <input type="submit" id="button" formtarget="passFrame"> 7 <input type="submit" id="button" formtarget="passFrame">
8 </form> 8 </form>
9 <script> 9 <script>
10 description("Test for the formtarget attribute in an input tag."); 10 description("Test for the formtarget attribute in an input tag.");
11 11
12 function runTest() { 12 function runTest() {
13 if (window.testRunner) { 13 if (window.testRunner) {
14 testRunner.setAllowUniversalAccessFromFileURLs(true); 14 testRunner.setAllowUniversalAccessFromFileURLs(true);
(...skipping 17 matching lines...) Expand all
32 testFailed("The formtarget attribute was not used."); 32 testFailed("The formtarget attribute was not used.");
33 isSuccessfullyParsed(); 33 isSuccessfullyParsed();
34 if (window.testRunner) 34 if (window.testRunner)
35 testRunner.notifyDone(); 35 testRunner.notifyDone();
36 } 36 }
37 </script> 37 </script>
38 <iframe src="about:blank" id="pass" name="passFrame" onload="passFrameLoaded()"> </iframe> 38 <iframe src="about:blank" id="pass" name="passFrame" onload="passFrameLoaded()"> </iframe>
39 <iframe src="about:blank" id="fail" name="failFrame" onload="failFrameLoaded()"> </iframe> 39 <iframe src="about:blank" id="fail" name="failFrame" onload="failFrameLoaded()"> </iframe>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/formnovalidate-attribute.html ('k') | LayoutTests/fast/forms/formtarget-attribute-input-html.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698