Bug 58468 - IndexedDB createObjectStore should throw if name is empty string
Summary: IndexedDB createObjectStore should throw if name is empty string
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 12:12 PDT by Mark Pilgrim (Google)
Modified: 2011-04-26 10:42 PDT (History)
4 users (show)

See Also:


Attachments
test case (1.63 KB, text/html)
2011-04-13 12:12 PDT, Mark Pilgrim (Google)
no flags Details
patch + layouttest (3.92 KB, patch)
2011-04-25 10:32 PDT, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pilgrim (Google) 2011-04-13 12:12:24 PDT
Similar to bug 58465, but I'm opening a separate bug for this because I'm not sure if we're wrong. (The spec is unclear on this point, or if the spec is clear, I haven't found the right sentence to prove one way or the other.) Mozilla throws in this case, but WebKit does not, so someone is definitely wrong.
Comment 1 Mark Pilgrim (Google) 2011-04-13 12:12:59 PDT
Created attachment 89429 [details]
test case
Comment 2 Mark Pilgrim (Google) 2011-04-25 10:27:49 PDT
Spec says that several things can be the empty string, but this is not one of them. Compiling patch.
Comment 3 Mark Pilgrim (Google) 2011-04-25 10:32:07 PDT
Created attachment 90927 [details]
patch + layouttest
Comment 4 Mark Pilgrim (Google) 2011-04-26 10:42:02 PDT
Discussion with SickingJ leads to the conclusion that the spec will be changed to explicitly ALLOW name to be an empty string. Closing this bug.

http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/0349.html