NaN dates are not valid keys

RESOLVED FIXED in mozilla15

Status

()

Core
DOM: IndexedDB
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: khuey, Assigned: khuey)

Tracking

unspecified
mozilla15
x86_64
Windows 7
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
Created attachment 624853 [details] [diff] [review]
Patch
Assignee: nobody → khuey
Status: NEW → ASSIGNED
Attachment #624853 - Flags: review?(jonas)
Comment on attachment 624853 [details] [diff] [review]
Patch

Can you add |[new Date(NaN)]| as an invalid key as well. I.e. a nan-date inside an array.
Attachment #624853 - Flags: review?(jonas) → review+
https://hg.mozilla.org/mozilla-central/rev/c91007b3b22a
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.