[Webkit-unassigned] [Bug 62288] New: IndexedDB createObjectStore should throw if key path contains a space

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 09:11:02 PDT 2011


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

           Summary: IndexedDB createObjectStore should throw if key path
                    contains a space
           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=96430)
 --> (https://bugs.webkit.org/attachment.cgi?id=96430&action=review)
test case

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-path-construct states "Note that spaces are not allowed within a key path." Further, http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBDatabase-createObjectStore-IDBObjectStore-DOMString-name-Object-optionalParameters states that "if keyPath is a string and is not a valid key path then a NON_TRANSIENT_ERR error must be thrown."

This test tries to create an object store with a space in the key path.

Expected behavior: throw webkitIDBDatabaseException.NON_TRANSIENT_ERR
Actual behavior: no exception thrown, objectstore created

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