[Webkit-unassigned] [Bug 63114] New: IndexedDB createIndex should NOT throw if name arg is null
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 21 20:25:10 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63114
Summary: IndexedDB createIndex should NOT throw if name arg is
null
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, abarth at webkit.org,
hans at chromium.org, dgrogan at chromium.org
Calling objectStore.createIndex(null, null) should behave identically to calling createIndex("null", "null"). I have double-checked this (highly unintuitive) behavior with the author of the WebIDL spec and he confirms it ( http://krijnhoetmer.nl/irc-logs/whatwg/20110622#l-187 ). There was also apparently a WebIDL spec bug recently asking to change this behavior, but it was WONTFIXED ( http://www.w3.org/Bugs/Public/show_bug.cgi?id=12798 ).
End result: null values for DOMString arguments get stringified to the four-character string "null". This affects several functions in WebKit's IndexedDB implementation. I am filing separate bugs for each of them. (See also bug 63110, for instance.)
Patch 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