WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
39850
Add IndexedDB's IDBIndex
https://bugs.webkit.org/show_bug.cgi?id=39850
Summary
Add IndexedDB's IDBIndex
Jeremy Orlow
Reported
2010-05-27 11:03:13 PDT
Add IndexedDB's IDBIndex
Attachments
Patch
(73.62 KB, patch)
2010-05-27 11:07 PDT
,
Jeremy Orlow
no flags
Details
Formatted Diff
Diff
Patch
(91.92 KB, patch)
2010-05-27 12:12 PDT
,
Jeremy Orlow
no flags
Details
Formatted Diff
Diff
Patch
(93.99 KB, patch)
2010-05-28 07:17 PDT
,
Jeremy Orlow
steveblock
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Orlow
Comment 1
2010-05-27 11:04:27 PDT
+ fishd for WebKit layer + andreip for informal review
Jeremy Orlow
Comment 2
2010-05-27 11:07:43 PDT
Created
attachment 57260
[details]
Patch
Darin Fisher (:fishd, Google)
Comment 3
2010-05-27 11:15:55 PDT
Comment on
attachment 57260
[details]
Patch WebKit/chromium/public/WebIDBIndex.h:33
> + // See comment in WebIndexedDatabase for a high level overview these classes.
nit: overview _of_ these classes WebKit/chromium/public/WebIDBIndex.h:38
> + virtual WebString name() { return WebString(); }
should these be const methods? WebKit/chromium/src/WebIDBCallbacksImpl.h:44
> + virtual void onError(const WebKit::WebIDBDatabaseError& error);
nit: the parameter names in this section seem redundant WebKit/* bits look good otherwise
Jeremy Orlow
Comment 4
2010-05-27 12:12:10 PDT
Created
attachment 57266
[details]
Patch
Jeremy Orlow
Comment 5
2010-05-27 12:12:37 PDT
Oops...forgot build files. Also took care of Darin's review comments.
Steve Block
Comment 6
2010-05-28 06:34:47 PDT
Comment on
attachment 57266
[details]
Patch This looks fine to me, but I don't have a good enough grasp of the spec to know where this is heading and to provide a complete review. WebCore/storage/IDBDatabaseError.idl:43 + const unsigned short DEADLOCK_ERR = 33; Are these constant values from the spec? Why have they moved? WebCore/storage/IDBDatabaseError.h:47 + // Keey in sync with what's in the .idl file. Keep WebCore/storage/IDBAny.h:78 + // Only one of the following should ever be in use at any given time. Maybe add a comment to say that set can only be called once.
Jeremy Orlow
Comment 7
2010-05-28 06:40:47 PDT
Oops....I thought Andrei (who hopefully does) had already done an informal review (for that reason).
Jeremy Orlow
Comment 8
2010-05-28 06:46:47 PDT
(In reply to
comment #6
)
> WebCore/storage/IDBDatabaseError.idl:43 > + const unsigned short DEADLOCK_ERR = 33; > Are these constant values from the spec? Why have they moved?
It really doesn't make any sense for them to be in Exception. It's not a normal interface (not sure if it's even legal for them to be there...this was brought up on the w3 bug tracker). And it just felt right. But now that you mention it, I guess we should probably get upstream consensus first. :-/
Andrei Popescu
Comment 9
2010-05-28 07:10:59 PDT
LGTM with two nits: Android make files have indent problems on lines 717 and below. Same with GNUMake on lines 2501 and below
Jeremy Orlow
Comment 10
2010-05-28 07:17:25 PDT
Created
attachment 57327
[details]
Patch
Jeremy Orlow
Comment 11
2010-05-28 07:17:41 PDT
Addressed all comments. Given darin's review of WebKit/chromium, Andrei's review of the domain specific stuff, I think you can easily give a final r+ Steve?
Jeremy Orlow
Comment 12
2010-05-28 07:31:01 PDT
Committed
r60357
: <
http://trac.webkit.org/changeset/60357
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug