[Webkit-unassigned] [Bug 62286] New: IndexedDB add() should fail if key is NaN

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 08:55:34 PDT 2011


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

           Summary: IndexedDB add() should fail if key is NaN
           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=96428)
 --> (https://bugs.webkit.org/attachment.cgi?id=96428&action=review)
test case

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-construct states "Additionally, if the value is of type float, it is only a valid key if it is not NaN." This test attempts to add a record to an objectstore with NaN as the key.

Expected behavior: throw TYPE_MISMATCH_ERR
Actual behavior: no exception thrown, record added

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