patch from bug 1547277 contains logic error
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | fixed |
firefox70 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
bwerth noticed this. On this line
we are missing a negation. This still fixed the bug because we seem to get another SetBounds call right after with the same bounds. But it does mean that we are probably invalidating when we don't need to.
Assignee | ||
Comment 1•5 years ago
|
||
The fixed still worked because we get another SetBounds call right after with the same bounds. But it does mean we are doing some useless invalidation.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
bugherder |
Comment 4•5 years ago
|
||
Is this worth backporting to Beta? I'm thinking no for ESR if it's just causing wasted work but no correctness issues.
Comment 5•5 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #4)
Is this worth backporting to Beta? I'm thinking no for ESR if it's just causing wasted work but no correctness issues.
I am in favor of backporting. Although we don't have a testcase for it, it seems possible that this would fail to invalidate a frame with differing bounds where the rootView has already been resized.
Assignee | ||
Comment 6•5 years ago
|
||
Comment on attachment 9085632 [details]
Bug 1574016. Fix logic error in patch from bug 1547277. r?bradwerth
Beta/Release Uplift Approval Request
- User impact if declined: slightly more invalidating in some cases, possibly not painting a popup in a rare case
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): just invalidates in the correct case instead of accidentally getting the invalidation correct
- String changes made/needed:
Comment 7•5 years ago
|
||
Comment on attachment 9085632 [details]
Bug 1574016. Fix logic error in patch from bug 1547277. r?bradwerth
Fixes an invalidation bug, approved for 69.0b16.
Comment 8•5 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Description
•