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

Side by Side Diff: LayoutTests/fast/events/constructors/track-event-constructor-expected.txt

Issue 722523003: IDL: Use user-friendly type names for error messages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | Source/bindings/scripts/idl_types.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This tests the constructor for the TrackEvent DOM class. 1 This tests the constructor for the TrackEvent 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 6
7 *** No initializer passed *** 7 *** No initializer passed ***
8 PASS new TrackEvent('TrackEvent').bubbles is false 8 PASS new TrackEvent('TrackEvent').bubbles is false
9 PASS new TrackEvent('TrackEvent').cancelable is false 9 PASS new TrackEvent('TrackEvent').cancelable is false
10 PASS new TrackEvent('TrackEvent').track is null 10 PASS new TrackEvent('TrackEvent').track is null
11 11
12 *** Bubbles and cancelable true, track is missing *** 12 *** Bubbles and cancelable true, track is missing ***
13 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true }).bubbles i s true 13 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true }).bubbles i s true
14 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true }).cancelabl e is true 14 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true }).cancelabl e is true
15 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true }).track is null 15 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true }).track is null
16 16
17 *** Bubbles and cancelable true, invalid track *** 17 *** Bubbles and cancelable true, invalid track ***
18 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: HTML TrackElement }).bubbles threw exception TypeError: Failed to construct 'TrackEve nt': The 'track' property does not have a VideoTrackOrAudioTrackOrTextTrack type .. 18 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: HTML TrackElement }).bubbles threw exception TypeError: Failed to construct 'TrackEve nt': The 'track' property does not have a (VideoTrack or AudioTrack or TextTrack ) type..
19 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: HTML TrackElement }).cancelable threw exception TypeError: Failed to construct 'Track Event': The 'track' property does not have a VideoTrackOrAudioTrackOrTextTrack t ype.. 19 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: HTML TrackElement }).cancelable threw exception TypeError: Failed to construct 'Track Event': The 'track' property does not have a (VideoTrack or AudioTrack or TextTr ack) type..
20 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: HTML TrackElement }).track threw exception TypeError: Failed to construct 'TrackEvent ': The 'track' property does not have a VideoTrackOrAudioTrackOrTextTrack type.. 20 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: HTML TrackElement }).track threw exception TypeError: Failed to construct 'TrackEvent ': The 'track' property does not have a (VideoTrack or AudioTrack or TextTrack) type..
21 21
22 *** Initialize 'track' with a invalid values *** 22 *** Initialize 'track' with a invalid values ***
23 PASS new TrackEvent('TrackEvent', { track: 10 }).track threw exception TypeError : Failed to construct 'TrackEvent': The 'track' property does not have a VideoTr ackOrAudioTrackOrTextTrack type.. 23 PASS new TrackEvent('TrackEvent', { track: 10 }).track threw exception TypeError : Failed to construct 'TrackEvent': The 'track' property does not have a (VideoT rack or AudioTrack or TextTrack) type..
24 PASS new TrackEvent('TrackEvent', { track: 'string' }).track threw exception Typ eError: Failed to construct 'TrackEvent': The 'track' property does not have a V ideoTrackOrAudioTrackOrTextTrack type.. 24 PASS new TrackEvent('TrackEvent', { track: 'string' }).track threw exception Typ eError: Failed to construct 'TrackEvent': The 'track' property does not have a ( VideoTrack or AudioTrack or TextTrack) type..
25 PASS new TrackEvent('TrackEvent', { track: emptyObject }).track threw exception TypeError: Failed to construct 'TrackEvent': The 'track' property does not have a VideoTrackOrAudioTrackOrTextTrack type.. 25 PASS new TrackEvent('TrackEvent', { track: emptyObject }).track threw exception TypeError: Failed to construct 'TrackEvent': The 'track' property does not have a (VideoTrack or AudioTrack or TextTrack) type..
26 PASS new TrackEvent('TrackEvent', { track: document }).track threw exception Typ eError: Failed to construct 'TrackEvent': The 'track' property does not have a V ideoTrackOrAudioTrackOrTextTrack type.. 26 PASS new TrackEvent('TrackEvent', { track: document }).track threw exception Typ eError: Failed to construct 'TrackEvent': The 'track' property does not have a ( VideoTrack or AudioTrack or TextTrack) type..
27 27
28 *** Bubbles and cancelable true, valid track *** 28 *** Bubbles and cancelable true, valid track ***
29 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: trac kElement.track }).bubbles is true 29 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: trac kElement.track }).bubbles is true
30 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: trac kElement.track }).cancelable is true 30 PASS new TrackEvent('TrackEvent', { bubbles: true, cancelable: true, track: trac kElement.track }).cancelable is true
31 PASS new TrackEvent('TrackEvent', { track: trackElement.track }).track is trackE lement.track 31 PASS new TrackEvent('TrackEvent', { track: trackElement.track }).track is trackE lement.track
32 32
33 *** Initialize 'track' with valid track object *** 33 *** Initialize 'track' with valid track object ***
34 PASS new TrackEvent('TrackEvent', { track: trackElement.track }).track is trackE lement.track 34 PASS new TrackEvent('TrackEvent', { track: trackElement.track }).track is trackE lement.track
35 35
36 PASS successfullyParsed is true 36 PASS successfullyParsed is true
37 37
38 TEST COMPLETE 38 TEST COMPLETE
39 39
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/scripts/idl_types.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698