[Webkit-unassigned] [Bug 58471] IndexedDB createObjectStore should throw if options arg is invalid

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 14 13:46:02 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58471


Joshua Bell <jsbell at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsbell at chromium.org




--- Comment #3 from Joshua Bell <jsbell at chromium.org>  2011-10-14 13:46:02 PST ---
Test case #2 is no longer valid - IndexedDB spec has changed to use the (new) WebIDL dictionary type for the options object, which ignores unknown attributes - http://dev.w3.org/2006/webapi/WebIDL/#es-dictionary

Test case #1 is still valid; in Chrome 15 I can pass a string as the options argument and no exception is thrown. Per WebIDL: "If Type(V) is not Object, then throw a TypeError."

-- 
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