Bug 62371

Summary: IndexedDB test: behavior of undefined value in record
Product: WebKit Reporter: Mark Pilgrim (Google) <pilgrim>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dgrogan, hans, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Mark Pilgrim (Google)
Reported 2011-06-09 06:01:40 PDT
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBObjectStore-get-IDBRequest-any-key states "This function produces the same result if a record with the given key doesn't exist as when a record exists, but has undefined as value. If you need to tell the two situations apart, you can use openCursor with the same key. This will return a cursor with undefined as value if a record exists, or no cursor if no such record exists." This test does exactly that. WebKit passes this test.
Attachments
Patch (4.88 KB, patch)
2011-06-09 06:03 PDT, Mark Pilgrim (Google)
no flags
Mark Pilgrim (Google)
Comment 1 2011-06-09 06:03:58 PDT
Hans Wennborg
Comment 2 2011-06-09 06:50:41 PDT
LGTM
WebKit Review Bot
Comment 3 2011-06-09 11:19:49 PDT
Comment on attachment 96577 [details] Patch Clearing flags on attachment: 96577 Committed r88464: <http://trac.webkit.org/changeset/88464>
WebKit Review Bot
Comment 4 2011-06-09 11:19:53 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.