blob: 6d2d11f21c131a63ed89e84f400d6bcac42a794a [file] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>copyTo() and drawing of the VideoFrame of a WebGL canvas element, OffscreenCanvas and worker OffscreenCanvas</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/gc.js"></script>
</head>
<body>
<script>
// Before the first context: the worker copies the settings of the page when it starts, so this also
// applies to its contexts.
if (window.internals)
internals.settings.setWebGLErrorsToConsoleEnabled(false);
</script>
<script src="resources/videoframe-copyto-utilities.js"></script>
<script src="resources/videoframe-copyto-webgl.js"></script>
<script>
fetch_tests_from_worker(new Worker("resources/videoframe-copyto-worker.js?webgl"));
</script>
</body>
</html>