- From: Joshua Bell <notifications@github.com>
- Date: Sun, 22 Jan 2017 20:49:05 -0800
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 23 January 2017 04:49:39 UTC
I haven't spec'd window.onerror integration yet (see https://github.com/w3c/IndexedDB/issues/49) - it's implemented in Firefox but not Chrome. (I hit a performance regression whenever I try, and then get distracted by other shiny things.) Since IDB is exposed in workers there was apparently some trickiness on the spec side too, but that may have been sorted out. But in Firefox, yes - an error from a request that does not have `preventDefault()` called on the event causes the transaction to abort and propagates to window.onerror, but by the time it hits the global error handler it's too late to "preventDefault()" and stop the transaction from aborting. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/issues/140#issuecomment-274399952
Received on Monday, 23 January 2017 04:49:39 UTC