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

Side by Side Diff: LayoutTests/fast/events/constructors/custom-event-constructor.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 constructor for the CustomEvent DOM class."); 9 description("This tests the constructor for the CustomEvent DOM class.");
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 // Detail is null. 37 // Detail is null.
38 shouldBe("new CustomEvent('eventType', { detail: null }).detail", "null"); 38 shouldBe("new CustomEvent('eventType', { detail: null }).detail", "null");
39 39
40 // Detail is a getter. 40 // Detail is a getter.
41 shouldBe("new CustomEvent('eventType', { get detail() { return true; } }).detail ", "true"); 41 shouldBe("new CustomEvent('eventType', { get detail() { return true; } }).detail ", "true");
42 42
43 // Detail throws an exeception. 43 // Detail throws an exeception.
44 shouldThrow("new CustomEvent('eventType', { get detail() { throw 'Custom Error'; } })"); 44 shouldThrow("new CustomEvent('eventType', { get detail() { throw 'Custom Error'; } })");
45 </script> 45 </script>
46 <script src="../../js/resources/js-test-post.js"></script>
47 </body> 46 </body>
48 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698