[Webkit-unassigned] [Bug 62284] New: IndexedDB add() should accept empty array as key

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 08:35:38 PDT 2011


           Summary: IndexedDB add() should accept empty array as key
           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=96426)
 --> (https://bugs.webkit.org/attachment.cgi?id=96426&action=review)
test case

Note in http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-construct states "Infinite float values are valid keys. As are empty Arrays."

Expected behavior: add a record with an empty array as key
Actual behavior: FAIL request = objectStore.add([], []); threw exception Error: TYPE_MISMATCH_ERR: DOM Exception 17

Layout test 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