Closed Bug 1534618 Opened 6 years ago Closed 6 years ago

Investigate if the JS-interrupting paint code still works

Categories

(Core :: Graphics: WebRender, enhancement, P3)

Other Branch
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: kats, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

When scrolling up and down on Twitter on the HD8 with WR enabled, I saw a lot of checkerboarding. Profile seemed to indicate the content main thread was busy running JS. However we do have a mechanism to interrupt JS and force a repaint which is supposed to help here. We should investigate if that still works or if it's busted.

https://searchfox.org/mozilla-central/rev/8ff2cd0a27e3764d9540abdc5a66b2fb1e4e9644/dom/ipc/ProcessHangMonitor.cpp#638

Blocks: wr-android
Priority: -- → P3

I guess I misremembered what this code does. It seems to be used only for the tab switcher; to force the new tab to paint to make tab switching seem more responsive. It doesn't get used if you're just scrolling around on a page. Bug 1279086 originally added it.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.