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').data is null |
| 9 PASS new MIDIMessageEvent('eventType', { bubbles: false }).bubbles is false |
| 10 PASS new MIDIMessageEvent('eventType', { bubbles: true }).bubbles is true |
| 11 PASS new MIDIMessageEvent('eventType', { cancelable: false }).cancelable is fals
e |
| 12 PASS new MIDIMessageEvent('eventType', { cancelable: true }).cancelable is true |
| 13 PASS new MIDIMessageEvent('eventType', { data: data }).data == '0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0' is true |
| 14 PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data:
data }).bubbles is true |
| 15 PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data:
data }).cancelable is true |
| 16 PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data:
data }).data == '0,0,0' is true |
| 17 PASS new MIDIMessageEvent('eventType', { data: data }) threw exception TypeError
: Failed to construct 'MIDIMessageEvent': The provided ArrayBufferView value mus
t not be shared.. |
| 18 PASS successfullyParsed is true |
| 19 |
| 20 TEST COMPLETE |
| 21 |
OLD | NEW |