OLD | NEW |
(Empty) | |
| 1 This tests the constructor for the MIDIMessageEvent DOM class. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS new MIDIMessageEvent('eventType').bubbles is false |
| 7 PASS new MIDIMessageEvent('eventType').cancelable is false |
| 8 PASS new MIDIMessageEvent('eventType').receivedTime is 0.0 |
| 9 PASS new MIDIMessageEvent('eventType').data is null |
| 10 PASS new MIDIMessageEvent('eventType', { bubbles: false }).bubbles is false |
| 11 PASS new MIDIMessageEvent('eventType', { bubbles: true }).bubbles is true |
| 12 PASS new MIDIMessageEvent('eventType', { cancelable: false }).cancelable is fals
e |
| 13 PASS new MIDIMessageEvent('eventType', { cancelable: true }).cancelable is true |
| 14 PASS new MIDIMessageEvent('eventType', { receivedTime: 3.14 }).receivedTime is 3
.14 |
| 15 PASS new MIDIMessageEvent('eventType', { data: new Uint8Array(16) }).data.toStri
ng() is "[object Uint8Array]" |
| 16 PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receiv
edTime: 1976.0501, data: new Uint8Array(3) }).bubbles is true |
| 17 PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receiv
edTime: 1976.0501, data: new Uint8Array(3) }).cancelable is true |
| 18 PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receiv
edTime: 1976.0501, data: new Uint8Array(3) }).receivedTime is 1976.0501 |
| 19 PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receiv
edTime: 1976.0501, data: new Uint8Array(3) }).data.toString() is "[object Uint8A
rray]" |
| 20 PASS successfullyParsed is true |
| 21 |
| 22 TEST COMPLETE |
| 23 |
OLD | NEW |