blob: b85aba4567eb7330766b77473c04baa5ff601318 [file] [log] [blame]
This tests the constructor for the MIDIConnectionEvent DOM class.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS new MIDIConnectionEvent('eventType').bubbles is false
PASS new MIDIConnectionEvent('eventType').cancelable is false
PASS new MIDIConnectionEvent('eventType').port is null
PASS new MIDIConnectionEvent('eventType', { bubbles: false }).bubbles is false
PASS new MIDIConnectionEvent('eventType', { bubbles: true }).bubbles is true
PASS new MIDIConnectionEvent('eventType', { cancelable: false }).cancelable is false
PASS new MIDIConnectionEvent('eventType', { cancelable: true }).cancelable is true
PASS new MIDIConnectionEvent('eventType', { bubbles: true, cancelable: true }).bubbles is true
PASS new MIDIConnectionEvent('eventType', { bubbles: true, cancelable: true }).cancelable is true
PASS successfullyParsed is true
TEST COMPLETE