IndexedDB: transaction aborted after uncaught exception in first event handler |
||
Issue descriptionRepro: * Make an IDBRequest * Add two 'success' event listeners * Throw an exception in the first event listener Expected: * Transaction is still active (has not aborted) in second listener Actual: * Transaction is aborted Gecko behaves as expected. The spec https://w3c.github.io/IndexedDB/#fire-success-event says: "If an exception was propagated out from any event handler while dispatching the event in step 3, abort the transaction..." ... implying this happens at the end of dispatch.
,
Mar 7 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Mar 6 2017