[Webkit-unassigned] [Bug 63079] New: IndexedDB: should throw TypeError when index .get() key argument is missing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 21 11:11:05 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63079
Summary: IndexedDB: should throw TypeError when index .get()
key argument is missing
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pilgrim at chromium.org
CC: fishd at chromium.org, tony at chromium.org,
hans at chromium.org, dgrogan at chromium.org
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBIndex-get-IDBRequest-any-key states that the key argument of IDBIndex.get() method is required. As per WebIDL, missing required arguments now throw TypeError. This also applies to the IDBIndex.getKey() method as well.
Attached test case calls .get() and .getKey() with no arguments.
Expected behavior: throw TypeError
Actual behavior: does not throw
Patch included.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list