| 
									
										
										
										
											2024-09-17 16:44:42 +01:00
										 |  |  | #import <Crypto/Crypto.idl> | 
					
						
							| 
									
										
										
										
											2023-03-07 18:15:52 +00:00
										 |  |  | #import <Fetch/Request.idl> | 
					
						
							|  |  |  | #import <Fetch/Response.idl> | 
					
						
							| 
									
										
										
										
											2024-03-30 10:04:31 +00:00
										 |  |  | #import <HighResolutionTime/Performance.idl> | 
					
						
							| 
									
										
										
										
											2024-04-04 21:48:58 -04:00
										 |  |  | #import <HTML/ImageBitmap.idl> | 
					
						
							| 
									
										
										
										
											2023-03-07 18:21:49 +00:00
										 |  |  | #import <HTML/MessagePort.idl> | 
					
						
							| 
									
										
										
										
											2024-05-19 17:58:06 +12:00
										 |  |  | #import <IndexedDB/IDBFactory.idl> | 
					
						
							| 
									
										
										
										
											2023-03-07 18:15:52 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-14 07:28:08 -04:00
										 |  |  | // https://html.spec.whatwg.org/#timerhandler | 
					
						
							|  |  |  | typedef (DOMString or Function) TimerHandler; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | // https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope | 
					
						
							|  |  |  | interface mixin WindowOrWorkerGlobalScope { | 
					
						
							|  |  |  |     [Replaceable] readonly attribute USVString origin; | 
					
						
							|  |  |  |     readonly attribute boolean isSecureContext; | 
					
						
							|  |  |  |     readonly attribute boolean crossOriginIsolated; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-04 00:28:49 +09:00
										 |  |  |     // https://html.spec.whatwg.org/multipage/webappapis.html#dom-reporterror | 
					
						
							|  |  |  |     undefined reportError(any e); | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // timers | 
					
						
							| 
									
										
										
										
											2023-03-14 07:28:08 -04:00
										 |  |  |     long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments); | 
					
						
							|  |  |  |     undefined clearTimeout(optional long id = 0); | 
					
						
							|  |  |  |     long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments); | 
					
						
							|  |  |  |     undefined clearInterval(optional long id = 0); | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // ImageBitmap | 
					
						
							| 
									
										
										
										
											2024-04-04 21:48:58 -04:00
										 |  |  |     Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options = {}); | 
					
						
							|  |  |  |     Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options = {}); | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-07 18:15:52 +00:00
										 |  |  |     // https://fetch.spec.whatwg.org/#fetch-method | 
					
						
							|  |  |  |     [NewObject] Promise<Response> fetch(RequestInfo input, optional RequestInit init = {}); | 
					
						
							| 
									
										
										
										
											2024-03-30 10:04:31 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // https://w3c.github.io/hr-time/#the-performance-attribute | 
					
						
							|  |  |  |     [Replaceable] readonly attribute Performance performance; | 
					
						
							| 
									
										
										
										
											2024-05-19 17:58:06 +12:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // https://w3c.github.io/IndexedDB/#factory-interface | 
					
						
							|  |  |  |     [SameObject] readonly attribute IDBFactory indexedDB; | 
					
						
							| 
									
										
										
										
											2024-09-17 16:44:42 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // https://w3c.github.io/webcrypto/#crypto-interface | 
					
						
							|  |  |  |     [SameObject] readonly attribute Crypto crypto; | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | }; |