Files
ladybird/Tests/LibWeb/Text/expected/indexeddb-objectstore-handle-identity-after-delete-recreate.txt
Zaggy1024 a7897a7f9d LibWeb: Reuse IDBObjectStore instances in IDBTransaction.objectStore
The spec mandates that the same object store have the same handle on
a transaction.
2026-03-20 23:59:35 -05:00

14 lines
397 B
Plaintext

createHandle === txHandle1: true
txHandle1 === txHandle2: true
txHandle1.name: foo
txHandle1.indexNames: ["by_name"]
after delete, createHandle.name: foo
after delete, createHandle.get(): InvalidStateError
recreateHandle === txHandle3: true
txHandle3 === txHandle1: false
txHandle3.name: foo
txHandle3.indexNames: ["by_value"]
txHandle3.keyPath: key
txHandle1.keyPath: id
txHandle1.indexNames: []