mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 01:02: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.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			612 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			612 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // https://dom.spec.whatwg.org/#interface-domtokenlist
 | |
| [Exposed=Window]
 | |
| interface DOMTokenList {
 | |
|     readonly attribute unsigned long length;
 | |
|     getter DOMString? item(unsigned long index);
 | |
|     boolean contains(DOMString token);
 | |
|     [CEReactions] undefined add(DOMString... tokens);
 | |
|     [CEReactions] undefined remove(DOMString... tokens);
 | |
|     [CEReactions] boolean toggle(DOMString token, optional boolean force);
 | |
|     [CEReactions] boolean replace(DOMString token, DOMString newToken);
 | |
|     boolean supports(DOMString token);
 | |
|     [CEReactions] stringifier attribute DOMString value;
 | |
|     iterable<DOMString>;
 | |
| };
 |