[Webkit-unassigned] [Bug 40054] [indexedDB] It is impossible to create object stores

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 12:50:35 PDT 2010


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





--- Comment #13 from Jeremy Orlow <jorlow at chromium.org>  2010-06-02 12:50:34 PST ---
Andrei, I'm sorry for not realizing this sooner, but all we need to do for IndexedDB is annotate all of our function that return an IDBRequest object with [CallWith=ScriptExecutionContext] and then pass that into the IDBRequest when we're creating it.  It's already an ActiveDOMObject, so it knows when the script execution context goes away.  I'm not sure why this didn't occur to me sooner.  Sorry for the run around.  :-(

For IndexedDatabaseRequest, instead of passing the Frame* on instantiation, we should probably try to derive the frame from the scriptExecutionContext (see if it's a document, and if so cast...otherwise ASSERT and put a FIXME: Make this work within workers) and pass that in instead.  This can be done in a subsequent patch if you'd rather, though it's easy enough you might just want to do it here?

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