Open Bug 1556683 Opened 5 years ago Updated 2 years ago

GetPaintedLayerScaleForFrame returns wrong values on non-E10S

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

People

(Reporter: hiro, Unassigned)

References

()

Details

FrameLayerBuilder::GetPaintedLayerScaleForFrame tries to get the root pres context, on Fennec it's the pres context for browser.xul so that the returned value is not useful at all. (there might be cases it's useful though, I've not audited all call sites)

See Also: → 1554024

It sounds like perhaps we should be using aFrame->PresShell()->GetCumulativeResolution() here.

Oh right, looks like it. I did just push a try run to see what happens there. (I'd expect some of wpt fail)
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d814c5e37d64012269906f29e557098c3f86de15

There are more failures than I expected. :/ For example a mochitest failed, it seems the mochitest has been disabled on GeckoView.

Severity: normal → S3
Summary: FrameLayerBuilder::GetPaintedLayerScaleForFrame returns wrong values on non-E10S → GetPaintedLayerScaleForFrame returns wrong values on non-E10S
You need to log in before you can comment on or make changes to this bug.