Closed Bug 1950378 Opened 22 days ago Closed 20 days ago

Lots of view-transitions reftests time out waiting for a final paint

Categories

(Testing :: web-platform-tests, defect)

defect

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [viewtransitions:m1])

Attachments

(1 file)

Tests get stuck after removing reftest-wait in a loop like:

 0:23.77 pid:378032 1740495241829       Marionette      DEBUG   Force update of layer tree
 0:23.77 pid:378032 1740495241830       Marionette      DEBUG   isMozAfterPaintPending: true
 0:23.80 pid:378032 1740495241862       Marionette      DEBUG   flushRendering ignoreThrottledAnimations:false

Because the animation keeps running ~infinitely. I think after removing reftest-wait we should probably not wait infinitely for a paint?

If reftest-wait has been removed, it's a strong signal that the
screenshot should be taken. Wait for the next paint, but not more than
that.

This prevents issues with a few view-transition tests that have very
long-running opacity animations, causing timeouts, see
https://hg.mozilla.org/try/rev/ef7d1b85f7c253b38772169a61e61410f0722ef9.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dd947e550d42 Don't wait for multiple paints after reftest-wait has been removed. r=jgraham,webdriver-reviewers
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Whiteboard: [viewtransitions:m1]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: