Open Bug 1875211 Opened 2 years ago Updated 1 year ago

Ensure `TransformEnd` notification after the last animation sampled offset was reflected to the content process

Categories

(Core :: Panning and Zooming, defect, P3)

defect

Tracking

()

People

(Reporter: hiro, Unassigned)

References

Details

This is one of the causes of a intermittent failure bug (bug 1875019).

When we sample APZ animations, if the sample is the last one, we set NOTHING state immediately but unfortunately a RepaintRequest call soon after invoked isn't processed immediately because of (probably) RepaintThread.

For the intermittent bug, I will do a workaround to split await Promise.all([promiseApzFlushedRepaints(), transformEndPromise]); into two independent parts await transformEndPromise; and await promiseApzFlushedRepaints();.

CCing Dan since I guess this race also affects scrollend event.

The severity field is not set for this bug.
:botond, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(botond)
Severity: -- → S3
Flags: needinfo?(botond)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.