Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
canvas-createPattern-video-modify.html is an intermittent failure
https://bugs.webkit.org/show_bug.cgi?id=240780 rdar://93731906 Reviewed by Youenn Fablet. The tests relied on the event "loadeddata" to be fired to check if the first video frame got painted. However, at present there's no guarantee that a frame would have been painted at the time this event is fired. This issue is separately tracked in bug 240779 So instead we use the new requestVideoCallbackFrame API which is designed specifically for this case. We also simplify the existing page, using more modern JS features. * LayoutTests/fast/canvas/canvas-createPattern-video-loading.html: * LayoutTests/fast/canvas/canvas-createPattern-video-modify.html: * LayoutTests/media/utilities.js: (once): (fetchWithXHR): (waitForVideoFrame): (waitForVideoFrameUntil): Canonical link: https://commits.webkit.org/250910@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
56 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters