W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 02 Apr 2015 21:43:56 +0000
To: public-webapps@w3.org
Message-ID: <bug-22540-2927-iC50obIFlU@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC