mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 786331 - WebGL tests that use a video can loop indefinitely. r=bjacob
This commit is contained in:
parent
5ef0efd4a6
commit
0122321eae
@ -107,6 +107,7 @@ function runTest(videoElement)
|
||||
runOneIteration(videoElement, true, false, green, red);
|
||||
|
||||
glErrorShouldBe(gl, gl.NO_ERROR, "should be no errors");
|
||||
videoElement.removeEventListener("playing", runTest);
|
||||
finishTest();
|
||||
}
|
||||
</script>
|
||||
|
@ -139,6 +139,7 @@ function runTest(videoElement)
|
||||
runOneIteration(videoElement, true, false, red, green, false, false, false);
|
||||
|
||||
glErrorShouldBe(gl, gl.NO_ERROR, "should be no errors");
|
||||
videoElement.removeEventListener("playing", runTest);
|
||||
finishTest();
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user