Open Bug 1233558 Opened 9 years ago Updated 2 years ago

Update nsARefreshObserver documentation

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: kats, Unassigned)

Details

Spinoff from bug 1209970. Relevant bits quoted below:

(In reply to Mats Palmgren (:mats) from comment #21)
> The documentation for nsARefreshObserver says "When nothing needs to be
> painted, callers
> may not be notified".

(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #22)
> I think that documentation is out of date. My understanding is that now that
> we have DLBI and vsync we tick the refresh driver on vsyncs and always fire
> the refresh observers assuming we get through the other conditions at the
> top of nsRefreshDriver::Tick (and if those conditions cause a bailout then
> we don't need to dispatch a scroll event anyway).

The documentation in question was added with the original landing of nsRefreshDriver back in bug 435441 and is out of date.
Hmmm.  That might have been intended to refer to things like the entire document being in a background tab.  If not, it's probably always been wrong.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.