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

Side by Side Diff: LayoutTests/fast/events/constructors/message-event-constructor-expected.txt

Issue 22915005: MessageEvent constructor should accept a MessagePort as source (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months 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 This tests the constructor for the MessageEvent DOM class. 1 This tests the constructor for the MessageEvent DOM class.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new MessageEvent('eventType').bubbles is false 6 PASS new MessageEvent('eventType').bubbles is false
7 PASS new MessageEvent('eventType').cancelable is false 7 PASS new MessageEvent('eventType').cancelable is false
8 PASS new MessageEvent('eventType').data is null 8 PASS new MessageEvent('eventType').data is null
9 PASS new MessageEvent('eventType').origin is "" 9 PASS new MessageEvent('eventType').origin is ""
10 PASS new MessageEvent('eventType').lastEventId is "" 10 PASS new MessageEvent('eventType').lastEventId is ""
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 PASS new MessageEvent('eventType', { lastEventId: 18446744073709551615 }).lastEv entId is "18446744073709552000" 53 PASS new MessageEvent('eventType', { lastEventId: 18446744073709551615 }).lastEv entId is "18446744073709552000"
54 PASS new MessageEvent('eventType', { lastEventId: NaN }).lastEventId is "NaN" 54 PASS new MessageEvent('eventType', { lastEventId: NaN }).lastEventId is "NaN"
55 PASS new MessageEvent('eventType', { lastEventId: [] }).lastEventId is "" 55 PASS new MessageEvent('eventType', { lastEventId: [] }).lastEventId is ""
56 PASS new MessageEvent('eventType', { lastEventId: [1, 2, 3] }).lastEventId is "1 ,2,3" 56 PASS new MessageEvent('eventType', { lastEventId: [1, 2, 3] }).lastEventId is "1 ,2,3"
57 PASS new MessageEvent('eventType', { lastEventId: {melancholy: 12345} }).lastEve ntId is "[object Object]" 57 PASS new MessageEvent('eventType', { lastEventId: {melancholy: 12345} }).lastEve ntId is "[object Object]"
58 PASS new MessageEvent('eventType', { lastEventId: {valueOf: function () { return 'melancholy'; } } }).lastEventId is "[object Object]" 58 PASS new MessageEvent('eventType', { lastEventId: {valueOf: function () { return 'melancholy'; } } }).lastEventId is "[object Object]"
59 PASS new MessageEvent('eventType', { get lastEventId() { return 123; } }).lastEv entId is "123" 59 PASS new MessageEvent('eventType', { get lastEventId() { return 123; } }).lastEv entId is "123"
60 PASS new MessageEvent('eventType', { get lastEventId() { throw 'MessageEvent Err or'; } }) threw exception MessageEvent Error. 60 PASS new MessageEvent('eventType', { get lastEventId() { throw 'MessageEvent Err or'; } }) threw exception MessageEvent Error.
61 PASS new MessageEvent('eventType', { source: window }).source is window 61 PASS new MessageEvent('eventType', { source: window }).source is window
62 PASS new MessageEvent('eventType', { source: this }).source is this 62 PASS new MessageEvent('eventType', { source: this }).source is this
63 PASS new MessageEvent('eventType', { ports: [channel.port1], source: channel.por t1 }).source is null 63 PASS new MessageEvent('eventType', { ports: [channel.port1], source: channel.por t1 }).source is channel.port1
64 PASS new MessageEvent('eventType', { source: test_object }).source is null 64 PASS new MessageEvent('eventType', { source: test_object }).source is null
65 PASS new MessageEvent('eventType', { source: document }).source is null 65 PASS new MessageEvent('eventType', { source: document }).source is null
66 PASS new MessageEvent('eventType', { source: document.body }).source is null 66 PASS new MessageEvent('eventType', { source: document.body }).source is null
67 PASS new MessageEvent('eventType', { source: undefined }).source is null 67 PASS new MessageEvent('eventType', { source: undefined }).source is null
68 PASS new MessageEvent('eventType', { source: null }).source is null 68 PASS new MessageEvent('eventType', { source: null }).source is null
69 PASS new MessageEvent('eventType', { source: false }).source is null 69 PASS new MessageEvent('eventType', { source: false }).source is null
70 PASS new MessageEvent('eventType', { source: true }).source is null 70 PASS new MessageEvent('eventType', { source: true }).source is null
71 PASS new MessageEvent('eventType', { source: '' }).source is null 71 PASS new MessageEvent('eventType', { source: '' }).source is null
72 PASS new MessageEvent('eventType', { source: 'chocolate' }).source is null 72 PASS new MessageEvent('eventType', { source: 'chocolate' }).source is null
73 PASS new MessageEvent('eventType', { source: 12345 }).source is null 73 PASS new MessageEvent('eventType', { source: 12345 }).source is null
(...skipping 27 matching lines...) Expand all
101 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).origin is "wonderful" 101 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).origin is "wonderful"
102 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).lastEventId is "excellent" 102 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).lastEventId is "excellent"
103 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).source is window 103 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).source is window
104 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).ports[0] is channel.port1 104 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).ports[0] is channel.port1
105 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).ports[1] is channel.port2 105 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).ports[1] is channel.port2
106 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).ports[2] is channel2.port1 106 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).ports[2] is channel2.port1
107 PASS successfullyParsed is true 107 PASS successfullyParsed is true
108 108
109 TEST COMPLETE 109 TEST COMPLETE
110 110
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/constructors/message-event-constructor.html ('k') | Source/core/dom/MessageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698