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

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

Issue 1150183007: Re-land: bindings: Use MessageEventInit for MessageEvent constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 ""
11 PASS new MessageEvent('eventType').source is null 11 PASS new MessageEvent('eventType').source is null
12 PASS new MessageEvent('eventType').ports is [] 12 PASS new MessageEvent('eventType').ports is null
13 PASS new MessageEvent('eventType', { bubbles: false }).bubbles is false 13 PASS new MessageEvent('eventType', { bubbles: false }).bubbles is false
14 PASS new MessageEvent('eventType', { bubbles: true }).bubbles is true 14 PASS new MessageEvent('eventType', { bubbles: true }).bubbles is true
15 PASS new MessageEvent('eventType', { cancelable: false }).cancelable is false 15 PASS new MessageEvent('eventType', { cancelable: false }).cancelable is false
16 PASS new MessageEvent('eventType', { cancelable: true }).cancelable is true 16 PASS new MessageEvent('eventType', { cancelable: true }).cancelable is true
17 PASS new MessageEvent('eventType', { data: test_object }).data is test_object 17 PASS new MessageEvent('eventType', { data: test_object }).data is test_object
18 PASS new MessageEvent('eventType', { data: document }).data is document 18 PASS new MessageEvent('eventType', { data: document }).data is document
19 PASS new MessageEvent('eventType', { data: undefined }).data is undefined 19 PASS new MessageEvent('eventType', { data: undefined }).data is null
20 PASS new MessageEvent('eventType', { data: null }).data is null 20 PASS new MessageEvent('eventType', { data: null }).data is null
21 PASS new MessageEvent('eventType', { data: false }).data is false 21 PASS new MessageEvent('eventType', { data: false }).data is false
22 PASS new MessageEvent('eventType', { data: true }).data is true 22 PASS new MessageEvent('eventType', { data: true }).data is true
23 PASS new MessageEvent('eventType', { data: '' }).data is "" 23 PASS new MessageEvent('eventType', { data: '' }).data is ""
24 PASS new MessageEvent('eventType', { data: 'chocolate' }).data is "chocolate" 24 PASS new MessageEvent('eventType', { data: 'chocolate' }).data is "chocolate"
25 PASS new MessageEvent('eventType', { data: 12345 }).data is 12345 25 PASS new MessageEvent('eventType', { data: 12345 }).data is 12345
26 PASS new MessageEvent('eventType', { data: 18446744073709551615 }).data is 18446 744073709552000 26 PASS new MessageEvent('eventType', { data: 18446744073709551615 }).data is 18446 744073709552000
27 PASS new MessageEvent('eventType', { data: NaN }).data is NaN 27 PASS new MessageEvent('eventType', { data: NaN }).data is NaN
28 PASS new MessageEvent('eventType', { data: {valueOf: function () { return test_o bject; } } }).data == test_object is false 28 PASS new MessageEvent('eventType', { data: {valueOf: function () { return test_o bject; } } }).data == test_object is false
29 PASS new MessageEvent('eventType', { get data() { return 123; } }).data is 123 29 PASS new MessageEvent('eventType', { get data() { return 123; } }).data is 123
30 PASS new MessageEvent('eventType', { get data() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error. 30 PASS new MessageEvent('eventType', { get data() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
31 PASS new MessageEvent('eventType', { origin: 'melancholy' }).origin is "melancho ly" 31 PASS new MessageEvent('eventType', { origin: 'melancholy' }).origin is "melancho ly"
32 PASS new MessageEvent('eventType', { origin: '' }).origin is "" 32 PASS new MessageEvent('eventType', { origin: '' }).origin is ""
33 PASS new MessageEvent('eventType', { origin: undefined }).origin is "undefined" 33 PASS new MessageEvent('eventType', { origin: undefined }).origin is ""
34 PASS new MessageEvent('eventType', { origin: null }).origin is "null" 34 PASS new MessageEvent('eventType', { origin: null }).origin is "null"
35 PASS new MessageEvent('eventType', { origin: false }).origin is "false" 35 PASS new MessageEvent('eventType', { origin: false }).origin is "false"
36 PASS new MessageEvent('eventType', { origin: true }).origin is "true" 36 PASS new MessageEvent('eventType', { origin: true }).origin is "true"
37 PASS new MessageEvent('eventType', { origin: 12345 }).origin is "12345" 37 PASS new MessageEvent('eventType', { origin: 12345 }).origin is "12345"
38 PASS new MessageEvent('eventType', { origin: 18446744073709551615 }).origin is " 18446744073709552000" 38 PASS new MessageEvent('eventType', { origin: 18446744073709551615 }).origin is " 18446744073709552000"
39 PASS new MessageEvent('eventType', { origin: NaN }).origin is "NaN" 39 PASS new MessageEvent('eventType', { origin: NaN }).origin is "NaN"
40 PASS new MessageEvent('eventType', { origin: [] }).origin is "" 40 PASS new MessageEvent('eventType', { origin: [] }).origin is ""
41 PASS new MessageEvent('eventType', { origin: [1, 2, 3] }).origin is "1,2,3" 41 PASS new MessageEvent('eventType', { origin: [1, 2, 3] }).origin is "1,2,3"
42 PASS new MessageEvent('eventType', { origin: {melancholy: 12345} }).origin is "[ object Object]" 42 PASS new MessageEvent('eventType', { origin: {melancholy: 12345} }).origin is "[ object Object]"
43 PASS new MessageEvent('eventType', { origin: {valueOf: function () { return 'mel ancholy'; } } }).origin is "[object Object]" 43 PASS new MessageEvent('eventType', { origin: {valueOf: function () { return 'mel ancholy'; } } }).origin is "[object Object]"
44 PASS new MessageEvent('eventType', { get origin() { return 123; } }).origin is " 123" 44 PASS new MessageEvent('eventType', { get origin() { return 123; } }).origin is " 123"
45 PASS new MessageEvent('eventType', { get origin() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error. 45 PASS new MessageEvent('eventType', { get origin() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
46 PASS new MessageEvent('eventType', { lastEventId: 'melancholy' }).lastEventId is "melancholy" 46 PASS new MessageEvent('eventType', { lastEventId: 'melancholy' }).lastEventId is "melancholy"
47 PASS new MessageEvent('eventType', { lastEventId: '' }).lastEventId is "" 47 PASS new MessageEvent('eventType', { lastEventId: '' }).lastEventId is ""
48 PASS new MessageEvent('eventType', { lastEventId: undefined }).lastEventId is "u ndefined" 48 PASS new MessageEvent('eventType', { lastEventId: undefined }).lastEventId is ""
49 PASS new MessageEvent('eventType', { lastEventId: null }).lastEventId is "null" 49 PASS new MessageEvent('eventType', { lastEventId: null }).lastEventId is "null"
50 PASS new MessageEvent('eventType', { lastEventId: false }).lastEventId is "false " 50 PASS new MessageEvent('eventType', { lastEventId: false }).lastEventId is "false "
51 PASS new MessageEvent('eventType', { lastEventId: true }).lastEventId is "true" 51 PASS new MessageEvent('eventType', { lastEventId: true }).lastEventId is "true"
52 PASS new MessageEvent('eventType', { lastEventId: 12345 }).lastEventId is "12345 " 52 PASS new MessageEvent('eventType', { lastEventId: 12345 }).lastEventId is "12345 "
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 channel.port1 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 threw excepti on TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 64 PASS new MessageEvent('eventType', { source: test_object }).source threw excepti on TypeError: Failed to construct 'MessageEvent': member source is not of type E ventTarget..
65 PASS new MessageEvent('eventType', { source: document }).source threw exception TypeError: Failed to construct 'MessageEvent': The optional 'source' property is neither a Window nor MessagePort.. 65 PASS new MessageEvent('eventType', { source: document }).source threw exception TypeError: Failed to construct 'MessageEvent': The optional 'source' property is neither a Window nor MessagePort..
66 PASS new MessageEvent('eventType', { source: document.body }).source threw excep tion TypeError: Failed to construct 'MessageEvent': The optional 'source' proper ty is neither a Window nor MessagePort.. 66 PASS new MessageEvent('eventType', { source: document.body }).source threw excep tion TypeError: Failed to construct 'MessageEvent': The optional 'source' proper ty is neither a Window nor MessagePort..
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 threw exception Typ eError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 69 PASS new MessageEvent('eventType', { source: false }).source threw exception Typ eError: Failed to construct 'MessageEvent': member source is not of type EventTa rget..
70 PASS new MessageEvent('eventType', { source: true }).source threw exception Type Error: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 70 PASS new MessageEvent('eventType', { source: true }).source threw exception Type Error: Failed to construct 'MessageEvent': member source is not of type EventTar get..
71 PASS new MessageEvent('eventType', { source: '' }).source threw exception TypeEr ror: Failed to construct 'MessageEvent': The 'source' property does not have a E ventTarget type.. 71 PASS new MessageEvent('eventType', { source: '' }).source threw exception TypeEr ror: Failed to construct 'MessageEvent': member source is not of type EventTarge t..
72 PASS new MessageEvent('eventType', { source: 'chocolate' }).source threw excepti on TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 72 PASS new MessageEvent('eventType', { source: 'chocolate' }).source threw excepti on TypeError: Failed to construct 'MessageEvent': member source is not of type E ventTarget..
73 PASS new MessageEvent('eventType', { source: 12345 }).source threw exception Typ eError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 73 PASS new MessageEvent('eventType', { source: 12345 }).source threw exception Typ eError: Failed to construct 'MessageEvent': member source is not of type EventTa rget..
74 PASS new MessageEvent('eventType', { source: 18446744073709551615 }).source thre w exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 74 PASS new MessageEvent('eventType', { source: 18446744073709551615 }).source thre w exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
75 PASS new MessageEvent('eventType', { source: NaN }).source threw exception TypeE rror: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 75 PASS new MessageEvent('eventType', { source: NaN }).source threw exception TypeE rror: Failed to construct 'MessageEvent': member source is not of type EventTarg et..
76 PASS new MessageEvent('eventType', { source: {valueOf: function () { return wind ow; } } }).source == window threw exception TypeError: Failed to construct 'Mess ageEvent': The 'source' property does not have a EventTarget type.. 76 PASS new MessageEvent('eventType', { source: {valueOf: function () { return wind ow; } } }).source == window threw exception TypeError: Failed to construct 'Mess ageEvent': member source is not of type EventTarget..
77 PASS new MessageEvent('eventType', { get source() { return window; } }).source i s window 77 PASS new MessageEvent('eventType', { get source() { return window; } }).source i s window
78 PASS new MessageEvent('eventType', { get source() { return 123; } }).source thre w exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type.. 78 PASS new MessageEvent('eventType', { get source() { return 123; } }).source thre w exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
79 PASS new MessageEvent('eventType', { get source() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error. 79 PASS new MessageEvent('eventType', { get source() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
80 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann el2.port1] }).ports[0] is channel.port1 80 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann el2.port1] }).ports[0] is channel.port1
81 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann el2.port1] }).ports[1] is channel.port2 81 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann el2.port1] }).ports[1] is channel.port2
82 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann el2.port1] }).ports[2] is channel2.port1 82 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann el2.port1] }).ports[2] is channel2.port1
83 PASS new MessageEvent('eventType', { ports: [] }).ports is [] 83 PASS new MessageEvent('eventType', { ports: [] }).ports is []
84 PASS new MessageEvent('eventType', { ports: undefined }).ports is [] 84 PASS new MessageEvent('eventType', { ports: undefined }).ports is null
85 PASS new MessageEvent('eventType', { ports: null }).ports is [] 85 PASS new MessageEvent('eventType', { ports: null }).ports is null
86 PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exceptio n TypeError: Failed to construct 'MessageEvent': Invalid Array element type. 86 PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exceptio n TypeError: Failed to construct 'MessageEvent': Invalid Array element type.
87 PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an a rray, nor does it have indexed properties.. 87 PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
88 PASS new MessageEvent('eventType', { ports: document }).ports threw exception Ty peError: Failed to construct 'MessageEvent': 'ports' property is neither an arra y, nor does it have indexed properties.. 88 PASS new MessageEvent('eventType', { ports: document }).ports threw exception Ty peError: Failed to construct 'MessageEvent': The value provided is neither an ar ray, nor does it have indexed properties..
89 PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeE rror: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. 89 PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeE rror: Failed to construct 'MessageEvent': The value provided is neither an array , nor does it have indexed properties..
90 PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeEr ror: Failed to construct 'MessageEvent': 'ports' property is neither an array, n or does it have indexed properties.. 90 PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeEr ror: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
91 PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeErro r: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. 91 PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeErro r: Failed to construct 'MessageEvent': The value provided is neither an array, n or does it have indexed properties..
92 PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an a rray, nor does it have indexed properties.. 92 PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
93 PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeE rror: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. 93 PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeE rror: Failed to construct 'MessageEvent': The value provided is neither an array , nor does it have indexed properties..
94 PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is nei ther an array, nor does it have indexed properties.. 94 PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is n either an array, nor does it have indexed properties..
95 PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeErr or: Failed to construct 'MessageEvent': 'ports' property is neither an array, no r does it have indexed properties.. 95 PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeErr or: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
96 PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is nei ther an array, nor does it have indexed properties.. 96 PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is n either an array, nor does it have indexed properties..
97 PASS new MessageEvent('eventType', { get ports() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error. 97 PASS new MessageEvent('eventType', { get ports() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
98 PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [chan nel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeEr ror: Failed to construct 'MessageEvent': 'ports' property is neither an array, n or does it have indexed properties.. 98 PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [chan nel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeEr ror: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
99 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).bubbles is true 99 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).bubbles is true
100 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).cancelable is true 100 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [ channel.port1, channel.port2, channel2.port1] }).cancelable is true
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] }).data is test_object 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] }).data is test_object
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] }).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] }).origin is "wonderful"
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] }).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] }).lastEventId is "excellent"
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] }).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] }).source is window
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[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[0] is channel.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[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[1] is channel.port2
107 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 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
108 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: { length: 3, 0: channel.port1, 1: channel.port2, 2: channel2.port1} }).ports[2] is channel2.port1 108 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test _object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: { length: 3, 0: channel.port1, 1: channel.port2, 2: channel2.port1} }).ports[2] is channel2.port1
109 PASS successfullyParsed is true 109 PASS successfullyParsed is true
110 110
111 TEST COMPLETE 111 TEST COMPLETE
112 112
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698