[Webkit-unassigned] [Bug 108670] [V8] IndexedDB: Minor GC can collect IDBDatabase wrapper with versionchange handler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 1 13:56:16 PST 2013


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





--- Comment #3 from Joshua Bell <jsbell at chromium.org>  2013-02-01 13:58:18 PST ---
Created an attachment (id=186131)
 --> (https://bugs.webkit.org/attachment.cgi?id=186131&action=review)
Attempted repro

So far, no luck trying to repro by:

open connection
assign versionchange handler (w/o connection reference in closure)
drop all references
force GC
open second connection

At this point I see:
* the versionchange handler fire (which would seem to indicate that my GCing was unsuccessful)
* an arbitrarily long pause (up to 20 seconds?); pause can be shortened (in chrome) by opening the inspector. Presumably this is waiting for an actual GC.
* the second connection opens successfully, indicating that the first connection was finally closed

-- 
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