forked from KhronosGroup/WebGL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test utils to use video.rVFC (KhronosGroup#3065)
* Update test utils to use video.rVFC The startPlayingAndWaitForVideo function uses various heuristics to determine whether or not a video has started playing. These heuristics mostly rely on currentTime progress, but aren't necessarily reliable when determining whether there is actually new video data to be consumed. This PR adds cross browser support for the video.requestVideoFrameCallback API, which can be used to replace the heuristics, and potentially deflake tests. It applies to the 1.0.1, 1.0.2, 1.0.3, and 2.0.0 conformance test suite snapshots, as well as top-of-tree.
- Loading branch information
1 parent
3429e1b
commit 5885bea
Showing
5 changed files
with
191 additions
and
113 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
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