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

Side by Side Diff: LayoutTests/fast/dom/HTMLDialogElement/synthetic-click-inert.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 <style> 3 <style>
4 dialog { 4 dialog {
5 /* Don't needlessly span the whole screen. */ 5 /* Don't needlessly span the whole screen. */
6 width: 50px; 6 width: 50px;
7 } 7 }
8 </style> 8 </style>
9 <body> 9 <body>
10 <script src="../../js/resources/js-test-pre.js"></script> 10 <script src="../../js/resources/js-test-pre.js"></script>
(...skipping 17 matching lines...) Expand all
28 debug('Calling click() on ' + element.tagName); 28 debug('Calling click() on ' + element.tagName);
29 element.click(); 29 element.click();
30 shouldBe('clicked', 'expectedElement'); 30 shouldBe('clicked', 'expectedElement');
31 31
32 clicked = null; 32 clicked = null;
33 debug('Calling dispatchEvent() on ' + element.tagName); 33 debug('Calling dispatchEvent() on ' + element.tagName);
34 element.dispatchEvent(new Event('click')); 34 element.dispatchEvent(new Event('click'));
35 shouldBe('clicked', 'expectedElement'); 35 shouldBe('clicked', 'expectedElement');
36 }); 36 });
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