Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8daf738bcfdf6f1c4c306c0f64269ec56b579fef
https://github.com/WebKit/WebKit/commit/8daf738bcfdf6f1c4c306c0f64269ec56b579fef
Author: Sihui Liu <[email protected]>
Date: 2026-01-16 (Fri, 16 Jan 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBSuspendImminently.html
Log Message:
-----------
[iOS] TestWebKitAPI.IndexedDB.IndexedDBSuspendImminently is flaky
https://bugs.webkit.org/show_bug.cgi?id=303952
rdar://166259764
Reviewed by Per Arne Vollan.
Ensure to pass `event` to `onPutSuccess` function, otherwise when event is
dispatched, `event.target.transaction` in
`onPutSuccess` could throw execption as `event` is null. This exception can
cause IndexedDB transaction to abort and
lead to test failure.
The test tries to verify process suspension will abort ongoing transaction so
it needs a long-running transaction, and
it achieves that by creating more put request on put request success. The test
is flakily passing because sometimes
process suspension happens before first put request finishes, so `onPutSuccess`
is not invoked; but it is definitely
expected `onPutSuccess` will be invoked.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBSuspendImminently.html:
Canonical link: https://commits.webkit.org/305719@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications