Bug 62371 - IndexedDB test: behavior of undefined value in record
Summary: IndexedDB test: behavior of undefined value in record
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-06-09 06:01 PDT by Mark Pilgrim (Google)
Modified: 2011-06-09 11:19 PDT (History)
4 users (show)

See Also:

Patch (4.88 KB, patch)
2011-06-09 06:03 PDT, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Hans Wennborg 2011-06-09 06:50:41 PDT
Comment 3 WebKit Review Bot 2011-06-09 11:19:49 PDT
Comment on attachment 96577 [details]

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.