LibWeb/IDB: Implement IDBTransaction attributes

This also uncovered a bug, where the transactions type was never set :^)
This commit is contained in:
stelar7
2025-04-01 19:51:22 +02:00
committed by Andrew Kaster
parent 718c805e95
commit 5298ecfc94
Notes: github-actions[bot] 2025-04-09 17:50:19 +00:00
7 changed files with 63 additions and 15 deletions

View File

@@ -4,10 +4,10 @@
[Exposed=(Window,Worker)]
interface IDBTransaction : EventTarget {
[FIXME] readonly attribute DOMStringList objectStoreNames;
readonly attribute DOMStringList objectStoreNames;
readonly attribute IDBTransactionMode mode;
readonly attribute IDBTransactionDurability durability;
[FIXME, SameObject] readonly attribute IDBDatabase db;
[SameObject, ImplementedAs=connection] readonly attribute IDBDatabase db;
readonly attribute DOMException? error;
[FIXME] IDBObjectStore objectStore(DOMString name);
[FIXME] undefined commit();