Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5d59ec36262dc5ef610fe661dfae743918441365
https://github.com/WebKit/WebKit/commit/5d59ec36262dc5ef610fe661dfae743918441365
Author: Claudio Saavedra <[email protected]>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
A
LayoutTests/storage/indexeddb/multiple-unhandled-exceptions-in-request-event-handlers-expected.txt
A
LayoutTests/storage/indexeddb/multiple-unhandled-exceptions-in-request-event-handlers.html
M Source/WebCore/Modules/indexeddb/IDBRequest.cpp
Log Message:
-----------
IndexedDB: Remove unnecessary assertion in
IDBRequest::uncaughtExceptionInEventHandler()
https://bugs.webkit.org/show_bug.cgi?id=307675
Reviewed by Sihui Liu.
The assertion is incorrect, as it assumes that only one event handler can have
an uncaught exception for an IDBRequest, but it's actually possible to have more
than one event handler, and more than one of them can have unhandled exceptions
as
the test-case shows.
Test:
storage/indexeddb/multiple-unhandled-exceptions-in-request-event-handlers.html
*
LayoutTests/storage/indexeddb/multiple-unhandled-exceptions-in-request-event-handlers-expected.txt:
Added.
*
LayoutTests/storage/indexeddb/multiple-unhandled-exceptions-in-request-event-handlers.html:
Added.
* Source/WebCore/Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::uncaughtExceptionInEventHandler):
Canonical link: https://commits.webkit.org/307481@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications