[Webkit-unassigned] [Bug 63117] New: IndexedDB createObjectStore should NOT throw if name is null
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 21 21:01:35 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63117
Summary: IndexedDB createObjectStore should NOT throw if name
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 db.createObjectStore(null) should behave identically to calling db.createObjectStore("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 bug 63110 and bug 63114, 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