1 This tests the constructor for the MediaKeyMessageEvent DOM class.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS new MediaKeyMessageEvent('eventType').bubbles is false
7 PASS new MediaKeyMessageEvent('eventType').cancelable is false
8 PASS new MediaKeyMessageEvent('eventType').messageType is "license-request"
9 PASS new MediaKeyMessageEvent('eventType').message is null
10 PASS new MediaKeyMessageEvent('eventType', { bubbles: false }).bubbles is false
11 PASS new MediaKeyMessageEvent('eventType', { bubbles: true }).bubbles is true
12 PASS new MediaKeyMessageEvent('eventType', { cancelable: false }).cancelable is false
13 PASS new MediaKeyMessageEvent('eventType', { cancelable: true }).cancelable is true
14 PASS new MediaKeyMessageEvent('eventType', { message: arrayBuffer }).message is arrayBuffer
15 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-request' }).messageType is "license-request"
16 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-renewal' }).messageType is "license-renewal"
17 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-release' }).messageType is "license-release"
18 PASS successfullyParsed is true