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

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

Issue 2354083003: media: Change MediaKeyMessageEventInit to require both attributes (Closed)
Patch Set: update media-key-message-event-constructor test Created 4 years, 2 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
OLDNEW
1 This tests the constructor for the MediaKeyMessageEvent DOM class. 1 This tests the constructor for the MediaKeyMessageEvent 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 MediaKeyMessageEvent('eventType').bubbles is false 6 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-request', mes sage: arrayBuffer }).bubbles is false
7 PASS new MediaKeyMessageEvent('eventType').cancelable is false 7 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-request', mes sage: arrayBuffer }).cancelable is false
8 PASS new MediaKeyMessageEvent('eventType').messageType is "license-request" 8 PASS new MediaKeyMessageEvent('eventType', { bubbles: false, messageType: 'licen se-request', message: arrayBuffer }).bubbles is false
9 PASS new MediaKeyMessageEvent('eventType').message is null 9 PASS new MediaKeyMessageEvent('eventType', { bubbles: true, messageType: 'licens e-request', message: arrayBuffer }).bubbles is true
10 PASS new MediaKeyMessageEvent('eventType', { bubbles: false }).bubbles is false 10 PASS new MediaKeyMessageEvent('eventType', { cancelable: false, messageType: 'li cense-request', message: arrayBuffer }).cancelable is false
11 PASS new MediaKeyMessageEvent('eventType', { bubbles: true }).bubbles is true 11 PASS new MediaKeyMessageEvent('eventType', { cancelable: true, messageType: 'lic ense-request', message: arrayBuffer }).cancelable is true
12 PASS new MediaKeyMessageEvent('eventType', { cancelable: false }).cancelable is false 12 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-request', mes sage: arrayBuffer }).message is arrayBuffer
13 PASS new MediaKeyMessageEvent('eventType', { cancelable: true }).cancelable is t rue 13 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-request', mes sage: arrayBuffer }).messageType is "license-request"
14 PASS new MediaKeyMessageEvent('eventType', { message: arrayBuffer }).message is arrayBuffer 14 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-renewal', mes sage: arrayBuffer }).messageType is "license-renewal"
15 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-request' }).m essageType is "license-request" 15 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-release', mes sage: arrayBuffer }).messageType is "license-release"
16 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-renewal' }).m essageType is "license-renewal"
17 PASS new MediaKeyMessageEvent('eventType', { messageType: 'license-release' }).m essageType is "license-release"
18 PASS successfullyParsed is true 16 PASS successfullyParsed is true
19 17
20 TEST COMPLETE 18 TEST COMPLETE
21 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698