<!DOCTYPE html>
<title>Tests that the 2D and webgl context of OffscreenCanvas can be constructed on a worker thread.</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
fetch_tests_from_worker(new Worker("OffscreenCanvas-getContext-in-worker.js"));
</script>