Closed Bug 739760 Opened 12 years ago Closed 12 years ago

doubles and floats can't be used in dictionaries

Categories

(Core :: XPConnect, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: smaug, Assigned: dougt)

References

Details

Attachments

(1 file)

This is rather major regression
Version: 12 Branch → Trunk
Assignee: nobody → doug.turner
Attached patch patch v.1Splinter Review
Attachment #609910 - Flags: review?(khuey)
Are there any actual use cases for float? (assuming that WheelEventInit will be changed)
Blocks: 719320
Probably not, but there is also no reason to not-support it.
You should probably add an explicit cast when casting from 'double' to 'float' to avoid compile-time warnings about loss of precision.
https://hg.mozilla.org/mozilla-central/rev/f2a1b3b8f3ce
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: