Closed
Bug 893331
Opened 11 years ago
Closed 6 years ago
<input type=range> — "Assertion failure: value == minimum (Unsanitized value)"
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla65
People
(Reporter: jruderman, Assigned: bryce)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, testcase)
Attachments
(4 files)
Assertion failure: value == minimum (Unsanitized value), at layout/forms/nsRangeFrame.cpp:449
Reporter | ||
Comment 1•11 years ago
|
||
Updated•6 years ago
|
status-firefox59:
--- → affected
status-firefox60:
--- → affected
Flags: in-testsuite?
OS: Mac OS X → Unspecified
Updated•6 years ago
|
Component: DOM: Core & HTML → Layout
Comment 2•6 years ago
|
||
Looks like just an issue of reserializing a float... We should probably just loosen the assertion?
Assignee | ||
Comment 3•6 years ago
|
||
I'm hitting this on Windows while trying to test Shaka player[0] with local builds. The `Angel One (HLS, MP4, multilingual)` video seems to result in the issue, for whatever reason. :xidorn, you mention relaxing the assert, in what way should it be relaxed/loosened? [0]: https://shaka-player-demo.appspot.com
Flags: needinfo?(xidorn+moz)
Comment 4•6 years ago
|
||
Maybe change the assertion to something like `abs(value - minimum) <= 1e-6`...
Flags: needinfo?(xidorn+moz)
Assignee | ||
Comment 5•6 years ago
|
||
GetValueAsFractionOfRange asserts that input == minimum if the range has maximum <= minimum. This assert is sane at face value, but floating point rounding issues can cause it to be triggered when input is essentially minimum. This changeset relaxes the assertion to check the input is within an epsilon value of minimum (1e-6).
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D10648
Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/711abaf3cd72 Relax assert checking if value is within range for nsRangeFrame. r=TYLin https://hg.mozilla.org/integration/autoland/rev/4ac91f9693e2 Add crashtest to verify assertion doesn't unexpectedly fire. r=TYLin
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/711abaf3cd72 https://hg.mozilla.org/mozilla-central/rev/4ac91f9693e2
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•6 years ago
|
Assignee: nobody → bvandyk
Updated•6 years ago
|
status-firefox63:
--- → wontfix
status-firefox64:
--- → wontfix
status-firefox-esr60:
--- → wontfix
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•