mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:52:43 +00:00 
			
		
		
		
	 67ceba2e6a
			
		
	
	
		67ceba2e6a
		
	
	
	
	
		
			
			The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			655 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			655 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <URL/URLSearchParams.idl>
 | |
| 
 | |
| // https://url.spec.whatwg.org/#url
 | |
| [Exposed=*, LegacyWindowAlias=webkitURL]
 | |
| interface URL {
 | |
|     constructor(USVString url, optional USVString base);
 | |
| 
 | |
|     stringifier attribute USVString href;
 | |
|     readonly attribute USVString origin;
 | |
|     attribute USVString protocol;
 | |
|     attribute USVString username;
 | |
|     attribute USVString password;
 | |
|     attribute USVString host;
 | |
|     attribute USVString hostname;
 | |
|     attribute USVString port;
 | |
|     attribute USVString pathname;
 | |
|     attribute USVString search;
 | |
|     [SameObject] readonly attribute URLSearchParams searchParams;
 | |
|     attribute USVString hash;
 | |
| 
 | |
|     USVString toJSON();
 | |
| };
 |