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

Description Mark Pilgrim (Google) 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.
Comment 1 Mark Pilgrim (Google) 2011-06-09 06:03:58 PDT
Created attachment 96577 [details]
Patch
Comment 2 Hans Wennborg 2011-06-09 06:50:41 PDT
LGTM
Comment 3 WebKit Review Bot 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>
Comment 4 WebKit Review Bot 2011-06-09 11:19:53 PDT
All reviewed patches have been landed.  Closing bug.