[Webkit-unassigned] [Bug 62415] New: IndexedDB: deleteObjectStore() name argument is required

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 16:59:19 PDT 2011


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

           Summary: IndexedDB: deleteObjectStore() name argument is
                    required
           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=96665)
 --> (https://bugs.webkit.org/attachment.cgi?id=96665&action=review)
test case

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBDatabase-deleteObjectStore-IDBRequest-DOMString-name states that the deleteObjectStore() method's name argument is required and can not be null. This test calls deleteObjectStore() without any arguments. To be clear about what's happening, I first createObjectStore('undefined') (note that is a string) and then deleteObjectStore() twice in a row.

Expected behavior: throw IDBDatabaseException.NON_TRANSIENT_ERR twice
Actual behavior: first delete does not throw, but deletes the object store named "undefined". Second delete throws a NOT_FOUND_ERR.

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