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

Side by Side Diff: LayoutTests/fast/events/constructors/event-constructors.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 <script> 7 <script>
8 8
9 description("This tests the constructors for all the event DOM classes that have them."); 9 description("This tests the constructors for all the event DOM classes that have them.");
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // One getter returning true. 77 // One getter returning true.
78 test("new Event('eventType', { bubbles: true, get cancelable() { return true; } })", true, true); 78 test("new Event('eventType', { bubbles: true, get cancelable() { return true; } })", true, true);
79 79
80 // One getter returning false. 80 // One getter returning false.
81 test("new Event('eventType', { bubbles: true, get cancelable() { return false; } })", true, false); 81 test("new Event('eventType', { bubbles: true, get cancelable() { return false; } })", true, false);
82 82
83 // One getter throws an exeception. 83 // One getter throws an exeception.
84 shouldThrow("new Event('eventType', { bubbles: true, get cancelable() { throw 'C ustom Error'; } })") 84 shouldThrow("new Event('eventType', { bubbles: true, get cancelable() { throw 'C ustom Error'; } })")
85 </script> 85 </script>
86 <script src="../../js/resources/js-test-post.js"></script>
87 </body> 86 </body>
88 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698