Closed
Bug 1275475
Opened 9 years ago
Closed 9 years ago
Fix -Wlogical-op warning in dom/animation/ComputedTimingFunction.cpp
Categories
(Core :: DOM: Animation, defect)
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox46 | --- | unaffected |
firefox47 | --- | unaffected |
firefox48 | --- | fix-optional |
firefox49 | --- | fixed |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.26 KB,
patch
|
daisuke
:
review+
|
Details | Diff | Splinter Review |
dom/animation/ComputedTimingFunction.cpp:33:114 [-Wlogical-op] logical 'or' of collectively exhaustive tests is always true
This assertion in StepTiming() is always true because (aType != StepStart || aType != StepEnd) is true for any value of aType. :)
Attachment #8756194 -
Flags: review?(daisuke)
Comment 1•9 years ago
|
||
Comment on attachment 8756194 [details] [diff] [review]
Wlogical-op_dom-animation.patch
Review of attachment 8756194 [details] [diff] [review]:
-----------------------------------------------------------------
Chris, thank you very much!
Attachment #8756194 -
Flags: review?(daisuke) → review+
Comment 3•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Comment 4•9 years ago
|
||
Comment on attachment 8756194 [details] [diff] [review]
Wlogical-op_dom-animation.patch
Approval Request Comment
[Feature/regressing bug #]: bug 1248532
[User impact if declined]: -Wlogical-op warning failure
[Describe test coverage new/current, TreeHerder]: Has baked on m-c for nearly a month
[Risks and why]: None. Just fixes an assertion from being useless to reporting what is was intended to.
[String/UUID change made/needed]: None
Attachment #8756194 -
Flags: approval-mozilla-aurora?
Comment 5•9 years ago
|
||
Comment on attachment 8756194 [details] [diff] [review]
Wlogical-op_dom-animation.patch
Assertion fix, looks simple, ok to uplift to aurora.
Attachment #8756194 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 6•9 years ago
|
||
Brian, marking this fix-optional for beta as we are now heading into beta 7. It doesn't sound crucial to fix there but let me know if you disagree.
Comment 7•9 years ago
|
||
This should have been nominated for beta approval rather than aurora approval at the time. Do you want to clear the aurora approval since it's meaningless in this context or just switch it over to beta instead?
Flags: needinfo?(lhenry)
Version: unspecified → 48 Branch
Comment 8•9 years ago
|
||
Comment on attachment 8756194 [details] [diff] [review]
Wlogical-op_dom-animation.patch
Thanks Ryan, I missed that one!
Flags: needinfo?(lhenry)
Attachment #8756194 -
Flags: approval-mozilla-aurora+
Assignee | ||
Updated•3 years ago
|
Blocks: Wlogical-op
Assignee | ||
Updated•3 years ago
|
No longer blocks: buildwarning
You need to log in
before you can comment on or make changes to this bug.
Description
•