- From: Nicolò Ribaudo <notifications@github.com>
- Date: Tue, 06 Oct 2026 08:03:24 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 6 October 2026 15:03:28 UTC
@nicolo-ribaudo commented on this pull request.
> +be created by the methods {{IDBFactory/open}} or {{IDBFactory/deleteDatabase}} of {{IDBFactory}},
+both of which will result in events being fired on the returned {{IDBOpenDBRequest}} instance. Note
+that here {{IDBFactory/open}} and {{IDBFactory/deleteDatabase}} are not annotated with any
+AsyncContext-related extended attribute; only {{IDBOpenDBRequest}} is:</span> [[INDEXEDDB]]
+
+<pre highlight=idl>
+[Exposed=(Window,Worker)]
+interface IDBFactory {
+ [NewObject] IDBOpenDBRequest open(DOMString name,
+ optional [EnforceRange] unsigned long long version);
+ [NewObject] IDBOpenDBRequest deleteDatabase(DOMString name);
+ // ...
+};
+
+[Exposed=(Window,Worker),
+PropagatesAsyncContextToEvents=("success", "error", "blocked", "upgradeneeded")]
Should this annotation be on interfaces, or on their constructor?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1451#pullrequestreview-5430341275
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1451/review/5430341275@github.com>
Received on Tuesday, 6 October 2026 15:03:28 UTC