mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:42:45 +00:00 
			
		
		
		
	 d4a890080d
			
		
	
	
		d4a890080d
		
	
	
	
	
		
			
			NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			558 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			558 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/Event.idl>
 | |
| #import <HTML/AudioTrack.idl>
 | |
| #import <HTML/VideoTrack.idl>
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/media.html#trackevent
 | |
| [Exposed=Window]
 | |
| interface TrackEvent : Event {
 | |
|     constructor(DOMString type, optional TrackEventInit eventInitDict = {});
 | |
| 
 | |
|     // FIXME: Should be: (VideoTrack or AudioTrack or TextTrack)?
 | |
|     readonly attribute (VideoTrack or AudioTrack)? track;
 | |
| };
 | |
| 
 | |
| dictionary TrackEventInit : EventInit {
 | |
|     // FIXME: Should be: (VideoTrack or AudioTrack or TextTrack)?
 | |
|     (VideoTrack or AudioTrack)? track = null;
 | |
| };
 |