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

Side by Side Diff: LayoutTests/fast/events/constructors/composition-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 CompositionEvent DOM class."); 9 description("This tests the constructor for the CompositionEvent DOM class.");
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 shouldBeEqualToString("new CompositionEvent('eventType', { data: {koakuma: 12345 } }).data", "[object Object]"); 65 shouldBeEqualToString("new CompositionEvent('eventType', { data: {koakuma: 12345 } }).data", "[object Object]");
66 shouldBeEqualToString("new CompositionEvent('eventType', { data: {valueOf: funct ion () { return 'koakuma'; } } }).data", "[object Object]"); 66 shouldBeEqualToString("new CompositionEvent('eventType', { data: {valueOf: funct ion () { return 'koakuma'; } } }).data", "[object Object]");
67 67
68 // All initializers are passed. 68 // All initializers are passed.
69 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).bubbles", "true"); 69 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).bubbles", "true");
70 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).cancelable", "true"); 70 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).cancelable", "true");
71 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).view", "window"); 71 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).view", "window");
72 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).detail", "111"); 72 shouldBe("new CompositionEvent('eventType', { bubbles: true, cancelable: true, v iew: window, detail: 111, data: 'koakuma' }).detail", "111");
73 shouldBeEqualToString("new CompositionEvent('eventType', { bubbles: true, cancel able: true, view: window, detail: 111, data: 'koakuma' }).data", "koakuma"); 73 shouldBeEqualToString("new CompositionEvent('eventType', { bubbles: true, cancel able: true, view: window, detail: 111, data: 'koakuma' }).data", "koakuma");
74 </script> 74 </script>
75 <script src="../../js/resources/js-test-post.js"></script>
76 </body> 75 </body>
77 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698