WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
66049
IndexedDB: Object store records don't need to have keys in all indexes
https://bugs.webkit.org/show_bug.cgi?id=66049
Summary
IndexedDB: Object store records don't need to have keys in all indexes
Hans Wennborg
Reported
2011-08-11 06:17:04 PDT
IndexedDB: Object store records don't need to have keys in all indexes
Attachments
Patch
(7.94 KB, patch)
2011-08-11 06:22 PDT
,
Hans Wennborg
tony
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Hans Wennborg
Comment 1
2011-08-11 06:22:12 PDT
Created
attachment 103611
[details]
Patch
Hans Wennborg
Comment 2
2011-08-11 06:26:15 PDT
The relevant spec text is here:
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-steps-for-storing-a-record-into-an-object-store
, where in 7.2 it says: "If index's key path is a string, then evaluate it on value. If this does not yield a value don't take any further actions for this index. Otherwise set the result to index key." David, would you like to take a look?
David Grogan
Comment 3
2011-08-11 10:00:49 PDT
Comment on
attachment 103611
[details]
Patch LGTM Thanks for fixing this so fast.
Hans Wennborg
Comment 4
2011-08-11 10:01:55 PDT
Tony: would you like to take a look?
Hans Wennborg
Comment 5
2011-08-12 02:32:51 PDT
Committed
r92951
: <
http://trac.webkit.org/changeset/92951
>
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