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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/submit-dialog-close-event.html

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <dialog> 7 <dialog>
8 <form method="dialog"> 8 <form method="dialog">
9 <input id="goodbye" type="submit" value="Goodbye"> 9 <input id="goodbye" type="submit" value="Goodbye">
10 <input id="hello" type="submit" value="Hello"> 10 <input id="hello" type="submit" value="Hello">
11 </form> 11 </form>
12 </dialog> 12 </dialog>
13 <script> 13 <script>
14 description('Tests submitting a dialog on a close event triggered by a previous submission.'); 14 description('Tests submitting a dialog on a close event triggered by a previous submission.');
(...skipping 21 matching lines...) Expand all
36 shouldBeEqualToString('dialog.returnValue', 'Hello'); 36 shouldBeEqualToString('dialog.returnValue', 'Hello');
37 finishJSTest(); 37 finishJSTest();
38 }); 38 });
39 document.querySelector('#hello').click(); 39 document.querySelector('#hello').click();
40 } 40 }
41 41
42 testGoodbye(); 42 testGoodbye();
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698