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

Side by Side Diff: LayoutTests/fast/events/constructors/composition-event-constructor.html

Issue 58533003: Move fast/js/resources files to resources. (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="../../../resources/js-test.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
11 var testObject = {nyannyan: 123}; 11 var testObject = {nyannyan: 123};
12 12
13 // No initializer is passed. 13 // No initializer is passed.
14 shouldBe("new CompositionEvent('eventType').bubbles", "false"); 14 shouldBe("new CompositionEvent('eventType').bubbles", "false");
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 </body> 75 </body>
76 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698