RESOLVED FIXED Bug 38594
Change IndexedDB to use events instead of callbacks
https://bugs.webkit.org/show_bug.cgi?id=38594
Summary Change IndexedDB to use events instead of callbacks
Jeremy Orlow
Reported 2010-05-05 10:33:49 PDT
Change IndexedDB to use events instead of callbacks
Attachments
Patch (47.17 KB, patch)
2010-05-05 10:46 PDT, Jeremy Orlow
no flags
Patch (50.65 KB, patch)
2010-05-05 12:36 PDT, Jeremy Orlow
no flags
Patch (87.08 KB, patch)
2010-05-06 10:41 PDT, Jeremy Orlow
japhet: review+
Jeremy Orlow
Comment 1 2010-05-05 10:46:35 PDT
Jeremy Orlow
Comment 2 2010-05-05 12:36:56 PDT
Jeremy Orlow
Comment 3 2010-05-05 16:14:21 PDT
I know it's big, but can one of you guys take a look? I'm planning on starting on the JSC bindings tomorrow.
Jeremy Orlow
Comment 4 2010-05-06 10:41:16 PDT
Jeremy Orlow
Comment 5 2010-05-06 10:43:10 PDT
Now with JSC bindings and support for build systems other than GYP. Please take a look?
Jeremy Orlow
Comment 6 2010-05-06 11:13:31 PDT
+ adam in case he's willing to take a look
Jeremy Orlow
Comment 7 2010-05-06 11:28:49 PDT
Nate kindly said he'd take a look. Note: I've only built this on Chromium and mac Safari. I'll be sure to watch the build bots closely when I actually commit in case I messed something up.
Nate Chapin
Comment 8 2010-05-06 14:56:28 PDT
Comment on attachment 55258 [details] Patch Your WebCore/ChangeLog diff is pretty far out of date in terms of the files listed. Plus a couple of nits inline. Besides that, LGTM. > --- a/WebCore/bindings/js/JSEventCustom.cpp > +++ b/WebCore/bindings/js/JSEventCustom.cpp > @@ -38,6 +38,7 @@ > #include "JSCustomEvent.h" > #include "JSCompositionEvent.h" > #include "JSErrorEvent.h" > +#include "JSIDBRequest.h" > #include "JSKeyboardEvent.h" > #include "JSMessageEvent.h" > #include "JSMouseEvent.h" Why is this necessary? > + ASSERT(0); > + return jsUndefined(); > +} Nit (here and in V8IDBRequestCustom.cpp): Any reason not to use ASSERT_NOT_REACHED instead?
Eric Seidel (no email)
Comment 9 2010-05-08 23:16:13 PDT
Attachment 55258 [details] was posted by a committer and has review+, assigning to Jeremy Orlow for commit.
Jeremy Orlow
Comment 10 2010-05-10 02:36:10 PDT
(In reply to comment #8) > (From update of attachment 55258 [details]) > Your WebCore/ChangeLog diff is pretty far out of date in terms of the files listed. Plus a couple of nits inline. Done. > > Besides that, LGTM. > > > --- a/WebCore/bindings/js/JSEventCustom.cpp > > +++ b/WebCore/bindings/js/JSEventCustom.cpp > > @@ -38,6 +38,7 @@ > > #include "JSCustomEvent.h" > > #include "JSCompositionEvent.h" > > #include "JSErrorEvent.h" > > +#include "JSIDBRequest.h" > > #include "JSKeyboardEvent.h" > > #include "JSMessageEvent.h" > > #include "JSMouseEvent.h" > > Why is this necessary? It isn't anymore. > > + ASSERT(0); > > + return jsUndefined(); > > +} > > Nit (here and in V8IDBRequestCustom.cpp): Any reason not to use ASSERT_NOT_REACHED instead? Oops, changed. Btw, wasn't there one other problem you noticed when we were chatting on chat?
Jeremy Orlow
Comment 11 2010-05-10 02:56:29 PDT
WebKit Review Bot
Comment 12 2010-05-10 03:28:54 PDT
http://trac.webkit.org/changeset/59068 might have broken Qt Linux Release minimal
Note You need to log in before you can comment on or make changes to this bug.