Open Bug 1162308 Opened 10 years ago Updated 2 years ago

Add a reftest-only mozAnimationComplete event to allow reftests involving animated images

Categories

(Testing :: Reftest, defect)

defect

Tracking

(Not tracked)

People

(Reporter: seth, Unassigned)

References

Details

Currently there is no safe way to write a reftest involving an animated image. This is because the web platform does not provide any way to detect when an animated image has finished playback. We should add a mozAnimationComplete event dispatched at <img> elements which contain animated images. This can be used to write reftest-wait tests that can actually reliably test animated images.
Having this would have allowed better tests for bug 1160801 and would have made tests possible for bug 1161859. Not to mention all of the animated image issues that we either didn't write tests for at all due to lack of this functionality, or for which we were forced to write mochitests.
See Also: → 655622
We should probably do this for multipart images as well. That would allow us to fix bug 1126091.
Blocks: 1126091

The bug assignee didn't login in Bugzilla in the last 7 months.
:tnikkel, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: seth.bugzilla → nobody
Flags: needinfo?(tnikkel)
Flags: needinfo?(tnikkel)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.