[Webkit-unassigned] [Bug 62331] New: IndexedDB createObjectStore should throw if options argument value is an object
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 8 15:01:13 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62331
Summary: IndexedDB createObjectStore should throw if options
argument value is an object
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=96490)
--> (https://bugs.webkit.org/attachment.cgi?id=96490&action=review)
test case
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#options-object-concept states "if any attribute has a getter function or its value is an object, a NOT_TRANSIENT_ERR exception must be thrown."
To test this, I create a new Boolean object and use it in the options object when creating an objectstore. According to the above spec text, this should throw.
Expected behavior: throw webkitIDBDatabaseException.NON_TRANSIENT_ERR
Actual behavior: object store created, no exception thrown
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