mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:42:43 +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.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			931 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			931 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // https://html.spec.whatwg.org/multipage/nav-history-apis.html#location
 | |
| [Exposed=Window]
 | |
| interface Location { // but see also additional creation steps and overridden internal methods
 | |
|     [LegacyUnforgeable] stringifier attribute USVString href;
 | |
|     [LegacyUnforgeable] readonly attribute USVString origin;
 | |
|     [LegacyUnforgeable] attribute USVString protocol;
 | |
|     [LegacyUnforgeable] attribute USVString host;
 | |
|     [LegacyUnforgeable] attribute USVString hostname;
 | |
|     [LegacyUnforgeable] attribute USVString port;
 | |
|     [LegacyUnforgeable] attribute USVString pathname;
 | |
|     [LegacyUnforgeable] attribute USVString search;
 | |
|     [LegacyUnforgeable] attribute USVString hash;
 | |
| 
 | |
|     [LegacyUnforgeable] undefined assign(USVString url);
 | |
|     [LegacyUnforgeable] undefined replace(USVString url);
 | |
|     [LegacyUnforgeable] undefined reload();
 | |
| 
 | |
|     // TODO: [LegacyUnforgeable, SameObject] readonly attribute DOMStringList ancestorOrigins;
 | |
| };
 |