[Bug 22540] Fire event when database connection is closed without explicit close() call

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22540

Joshua Bell <jsbell@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|LATER                       |FIXED

--- Comment #8 from Joshua Bell <jsbell@google.com> ---
I took a stab at specifying this in:

https://github.com/w3c/IndexedDB/commit/6bce2d57d5ac9dbfc68c24a69396217cdd5bfa0a

TL;DR:

If connection closes abnormally, abort any outstanding transactions, then fire
"close" at the IDBDatabase. No reason/message.

(This matches the behavior shipping in Chrome.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 2 April 2015 21:43:58 UTC