Closed Bug 1394558 Opened 7 years ago Closed 7 years ago

Permafailing dom/animation/test/crashtests/1272475-2.html | application crashed [@ nsCSSValue::GetFloatValue]

Categories

(Core :: DOM: Animation, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: emilio)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

Summary: Intermittent dom/animation/test/crashtests/1272475-2.html | application crashed [@ nsCSSValue::GetFloatValue] → Permafailing dom/animation/test/crashtests/1272475-2.html | application crashed [@ nsCSSValue::GetFloatValue]
So I see why this happens, and it's because https://github.com/servo/servo/pull/18239/files#diff-3c5f6a072f9431c75cbb2246efa3b1daR71 changed the animation: (&Angle::Radians(ref this), &Angle::Radians(ref other)) From looking like: Angle::from_radians(this.animate(other, procedure)?) To look like: Angle::Radians(this.animate(other, procedure)?) Which doesn't clamp and thus fails the test-case. The previous behaviour is a one-off, really, and rather obscure. If you replace `rad` for `turn` in the test-case, you should get the assertion on debug builds without that patch. Anyway... Anthony, the best idea I have is to ensure f32::animate does never return NaN (at least if both the inputs are NaN?), wdyt?
Flags: needinfo?(emilio)
(Keeping ni? just in case)
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee: nobody → emilio
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.