[Webkit-unassigned] [Bug 58660] IndexedDB setVersion() does not trigger versionchange event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 15 11:55:35 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58660





--- Comment #2 from David Grogan <dgrogan at chromium.org>  2011-04-15 11:55:35 PST ---
Assuming that the test fails without those lines commented out (versionChangeEventCount++ etc), I think moz got this one wrong.  A versionchange event should be fired at _other_ open connections, but not the one that calls setVersion.

This is the relevant part of the spec, the crucial bit being "except connection":

Let openDatabases be the set of all IDBDatabase and IDBDatabaseSync objects, except connection, connected to the same database as connection.

Fire a versionchange event at each object in openDatabases that is open.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list