LibWeb: Implement IDB's "get the parent" algorithms

This allows events to bubble up through request -> transaction ->
connection, and gives us a bunch of WPT subtest passes.
This commit is contained in:
Zaggy1024
2026-03-05 22:11:48 -06:00
committed by Gregory Bertilson
parent 96d98f5189
commit 2c48aa0b67
Notes: github-actions[bot] 2026-03-21 05:00:44 +00:00
8 changed files with 39 additions and 15 deletions

View File

@@ -2,8 +2,8 @@ Harness status: OK
Found 12 tests
10 Pass
2 Fail
11 Pass
1 Fail
Pass Explicitly committed data can be read back out.
Pass commit() on a version change transaction does not cause errors.
Pass A committed transaction becomes inactive immediately.
@@ -15,4 +15,4 @@ Pass Calling abort on a committed transaction throws and does not prevent persis
Pass Calling txn.commit() when txn is inactive should throw.
Pass Transactions with same scope should stay in program order, even if one calls commit.
Fail Transactions that explicitly commit and have errors should abort.
Fail Transactions that handle all errors properly should behave as expected when an explicit commit is called in an onerror handler.
Pass Transactions that handle all errors properly should behave as expected when an explicit commit is called in an onerror handler.