| 
									
										
										
										
											2021-10-14 16:53:39 +01:00
										 |  |  | #import <DOM/Event.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-07 19:29:22 -07:00
										 |  |  | // https://html.spec.whatwg.org/#errorevent | 
					
						
							| 
									
										
										
										
											2023-09-03 02:00:01 +12:00
										 |  |  | [Exposed=(Window,Worker)] | 
					
						
							| 
									
										
										
										
											2021-10-14 16:53:39 +01:00
										 |  |  | interface ErrorEvent : Event { | 
					
						
							|  |  |  |     constructor(DOMString type, optional ErrorEventInit eventInitDict = {}); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     readonly attribute DOMString message; | 
					
						
							|  |  |  |     readonly attribute USVString filename; | 
					
						
							|  |  |  |     readonly attribute unsigned long lineno; | 
					
						
							|  |  |  |     readonly attribute unsigned long colno; | 
					
						
							|  |  |  |     readonly attribute any error; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dictionary ErrorEventInit : EventInit { | 
					
						
							|  |  |  |     DOMString message = ""; | 
					
						
							|  |  |  |     USVString filename = ""; | 
					
						
							|  |  |  |     unsigned long lineno = 0; | 
					
						
							|  |  |  |     unsigned long colno = 0; | 
					
						
							|  |  |  |     any error = null; | 
					
						
							|  |  |  | }; |