[Webkit-unassigned] [Bug 62328] New: IndexedDB createObjectStore should throw if options argument has a getter function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 8 14:47:21 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62328
Summary: IndexedDB createObjectStore should throw if options
argument has a getter function
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: tony at chromium.org, hans at chromium.org,
dgrogan at chromium.org
Created an attachment (id=96486)
--> (https://bugs.webkit.org/attachment.cgi?id=96486&action=review)
test case
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#options-object-concept states "if any attribute [of an options object] has a getter function or its value is an object, a NOT_TRANSIENT_ERR exception must be thrown."
To test this, I create an object called Options that contains a getter called autoIncrement, and pass an instance of this Options object in as the second parameter to createObjectStore.
WebKit fails this test.
Expected behavior: throw webkitIDBDatabaseException.NON_TRANSIENT_ERR
Actual behavior: creates objectstore, does not throw
Test case attached.
--
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