Enable access to transaction from idbobjectstore (#38737)

Adds the transaction property to IDBObjectStore, as per spec.

Testing: WPT
Fixes: None

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
Ashwin Naren 2025-08-20 19:26:40 -07:00 committed by GitHub
parent b869b7eb96
commit dd7b2a5ee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 15 deletions

View file

@ -13,7 +13,7 @@ interface IDBObjectStore {
attribute DOMString name;
// readonly attribute any keyPath;
// readonly attribute DOMStringList indexNames;
// [SameObject] readonly attribute IDBTransaction transaction;
[SameObject] readonly attribute IDBTransaction? transaction;
readonly attribute boolean autoIncrement;
[NewObject, Throws] IDBRequest put(any value, optional any key);