The default bug view has changed. See this FAQ.

doubles and floats can't be used in dictionaries

RESOLVED FIXED in mozilla14

Status

()

Core
XPConnect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: smaug, Assigned: dougt)

Tracking

Trunk
mozilla14
x86_64
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

This is rather major regression
Version: 12 Branch → Trunk
(Assignee)

Updated

5 years ago
Assignee: nobody → doug.turner
(Assignee)

Comment 1

5 years ago
Created attachment 609910 [details] [diff] [review]
patch v.1
Attachment #609910 - Flags: review?(khuey)
Attachment #609910 - Flags: review?(khuey) → review+
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.