| 
									
										
										
										
											2023-04-04 09:28:59 -04:00
										 |  |  | #import <DOM/Event.idl> | 
					
						
							| 
									
										
										
										
											2023-06-13 10:55:03 -04:00
										 |  |  | #import <HTML/AudioTrack.idl> | 
					
						
							| 
									
										
										
										
											2024-07-05 18:57:29 +01:00
										 |  |  | #import <HTML/TextTrack.idl> | 
					
						
							| 
									
										
										
										
											2023-04-04 09:28:59 -04:00
										 |  |  | #import <HTML/VideoTrack.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // https://html.spec.whatwg.org/multipage/media.html#trackevent | 
					
						
							| 
									
										
										
										
											2023-09-03 02:00:01 +12:00
										 |  |  | [Exposed=Window] | 
					
						
							| 
									
										
										
										
											2023-04-04 09:28:59 -04:00
										 |  |  | interface TrackEvent : Event { | 
					
						
							|  |  |  |     constructor(DOMString type, optional TrackEventInit eventInitDict = {}); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-05 18:57:29 +01:00
										 |  |  |     readonly attribute (VideoTrack or AudioTrack or TextTrack)? track; | 
					
						
							| 
									
										
										
										
											2023-04-04 09:28:59 -04:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dictionary TrackEventInit : EventInit { | 
					
						
							| 
									
										
										
										
											2024-07-05 18:57:29 +01:00
										 |  |  |     (VideoTrack or AudioTrack or TextTrack)? track = null; | 
					
						
							| 
									
										
										
										
											2023-04-04 09:28:59 -04:00
										 |  |  | }; |