| 
									
										
										
										
											2024-11-07 19:00:20 +01:00
										 |  |  | #import <DOM/EventTarget.idl> | 
					
						
							|  |  |  | #import <IndexedDB/IDBDatabase.idl> | 
					
						
							|  |  |  | #import <IndexedDB/IDBObjectStore.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [Exposed=(Window,Worker)] | 
					
						
							|  |  |  | interface IDBTransaction : EventTarget { | 
					
						
							| 
									
										
										
										
											2025-04-01 19:51:22 +02:00
										 |  |  |     readonly attribute DOMStringList objectStoreNames; | 
					
						
							| 
									
										
										
										
											2024-11-07 19:00:20 +01:00
										 |  |  |     readonly attribute IDBTransactionMode mode; | 
					
						
							|  |  |  |     readonly attribute IDBTransactionDurability durability; | 
					
						
							| 
									
										
										
										
											2025-04-01 19:51:22 +02:00
										 |  |  |     [SameObject, ImplementedAs=connection] readonly attribute IDBDatabase db; | 
					
						
							| 
									
										
										
										
											2024-11-07 19:00:20 +01:00
										 |  |  |     readonly attribute DOMException? error; | 
					
						
							| 
									
										
										
										
											2025-04-09 23:24:44 +02:00
										 |  |  |     IDBObjectStore objectStore(DOMString name); | 
					
						
							| 
									
										
										
										
											2025-04-09 23:11:12 +02:00
										 |  |  |     undefined commit(); | 
					
						
							| 
									
										
										
										
											2024-12-01 21:57:32 +01:00
										 |  |  |     undefined abort(); | 
					
						
							| 
									
										
										
										
											2024-11-07 19:00:20 +01:00
										 |  |  |      | 
					
						
							|  |  |  |     attribute EventHandler onabort; | 
					
						
							|  |  |  |     attribute EventHandler oncomplete; | 
					
						
							|  |  |  |     attribute EventHandler onerror; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | enum IDBTransactionMode { | 
					
						
							|  |  |  |     "readonly", | 
					
						
							|  |  |  |     "readwrite", | 
					
						
							|  |  |  |     "versionchange" | 
					
						
							|  |  |  | }; |