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

Side by Side Diff: LayoutTests/fast/dom/HTMLDialogElement/dialog-close-event.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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <dialog></dialog> 7 <dialog></dialog>
8 <script> 8 <script>
9 description("Test that dialog receives a close event upon closing."); 9 description("Test that dialog receives a close event upon closing.");
10 10
(...skipping 17 matching lines...) Expand all
28 }; 28 };
29 }); 29 });
30 30
31 dialog.show(); 31 dialog.show();
32 dialog.close(); 32 dialog.close();
33 33
34 // Verify that preventDefault() didn't cancel closing. 34 // Verify that preventDefault() didn't cancel closing.
35 shouldBeFalse('dialog.open'); 35 shouldBeFalse('dialog.open');
36 shouldBe('closedCount', '2'); 36 shouldBe('closedCount', '2');
37 </script> 37 </script>
38 <script src="../../js/resources/js-test-post.js"></script>
39 </body> 38 </body>
40 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698