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

Side by Side Diff: LayoutTests/fast/events/constructors/message-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 MessageEvent DOM class."); 9 description("This tests the constructor for the MessageEvent DOM class.");
10 10
11 var test_object = {nyannyan: 123}; 11 var test_object = {nyannyan: 123};
12 12
13 // No initializer is passed. 13 // No initializer is passed.
14 shouldBe("new MessageEvent('eventType').bubbles", "false"); 14 shouldBe("new MessageEvent('eventType').bubbles", "false");
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).data", "test_object"); 125 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).data", "test_object");
126 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable : true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source : window, ports: [channel.port1, channel.port2, channel2.port1] }).origin", "won derful"); 126 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable : true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source : window, ports: [channel.port1, channel.port2, channel2.port1] }).origin", "won derful");
127 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable : true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source : window, ports: [channel.port1, channel.port2, channel2.port1] }).lastEventId", "excellent"); 127 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable : true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source : window, ports: [channel.port1, channel.port2, channel2.port1] }).lastEventId", "excellent");
128 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).source", "window"); 128 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).source", "window");
129 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).ports[0]", "channel.port1" ); 129 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).ports[0]", "channel.port1" );
130 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).ports[1]", "channel.port2" ); 130 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).ports[1]", "channel.port2" );
131 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).ports[2]", "channel2.port1 "); 131 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por ts: [channel.port1, channel.port2, channel2.port1] }).ports[2]", "channel2.port1 ");
132 </script> 132 </script>
133 </body> 133 </body>
134 </html> 134 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698