WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
61517
IndexedDB: Support NO_DUPLICATE cursors on LevelDB back-end
https://bugs.webkit.org/show_bug.cgi?id=61517
Summary
IndexedDB: Support NO_DUPLICATE cursors on LevelDB back-end
Hans Wennborg
Reported
2011-05-26 03:55:01 PDT
IndexedDB: Support NO_DUPLICATE cursors on LevelDB back-end
Attachments
Patch
(9.43 KB, patch)
2011-05-26 03:56 PDT
,
Hans Wennborg
tonyg
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Hans Wennborg
Comment 1
2011-05-26 03:56:11 PDT
Created
attachment 94958
[details]
Patch
David Grogan
Comment 2
2011-05-26 11:26:04 PDT
Comment on
attachment 94958
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=94958&action=review
LGTM
> Source/WebCore/ChangeLog:8 > + This is tested by storage/indexeddb/mozilla/indexes.html
The layout tests aren't run with the leveldb backend on the bots, right? You have a local change that forces leveldb?
Hans Wennborg
Comment 3
2011-05-27 01:34:01 PDT
(In reply to
comment #2
)
> (From update of
attachment 94958
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=94958&action=review
> > LGTM > > > Source/WebCore/ChangeLog:8 > > + This is tested by storage/indexeddb/mozilla/indexes.html > > The layout tests aren't run with the leveldb backend on the bots, right? You have a local change that forces leveldb?
Exactly.
Tony Gentilcore
Comment 4
2011-05-27 03:27:51 PDT
Comment on
attachment 94958
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=94958&action=review
> Source/WebCore/ChangeLog:5 > + IndexedDB: Support NO_DUPLICATE cursors on LevelDB back-end
If possible, a link to this part of the spec in the ChangeLog would be nice.
> Source/WebCore/storage/IDBLevelDBBackingStore.cpp:839 > + CursorImplCommon(LevelDBTransaction* transaction, const Vector<char>& lowKey, bool lowOpen, const Vector<char>& highKey, bool highOpen, bool forward, bool unique)
The bools are out of hand. I don't think you should hold up this change, but a future cleanup might be nice to use enums, an options struct or something else to clean up these signatures.
Hans Wennborg
Comment 5
2011-05-27 03:54:13 PDT
(In reply to
comment #4
)
> (From update of
attachment 94958
[details]
)
Thanks for the review!
> View in context:
https://bugs.webkit.org/attachment.cgi?id=94958&action=review
> > > Source/WebCore/ChangeLog:5 > > + IndexedDB: Support NO_DUPLICATE cursors on LevelDB back-end > > If possible, a link to this part of the spec in the ChangeLog would be nice.
Done.
> > > Source/WebCore/storage/IDBLevelDBBackingStore.cpp:839 > > + CursorImplCommon(LevelDBTransaction* transaction, const Vector<char>& lowKey, bool lowOpen, const Vector<char>& highKey, bool highOpen, bool forward, bool unique) > > The bools are out of hand. I don't think you should hold up this change, but a future cleanup might be nice to use enums, an options struct or something else to clean up these signatures.
Will do.
Hans Wennborg
Comment 6
2011-05-27 03:54:58 PDT
Committed
r87491
: <
http://trac.webkit.org/changeset/87491
>
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