| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../resources/testharness.js"></script> |
| <script src="../resources/testharnessreport.js"></script> |
| <script src="routines.js"></script> |
| <script src="canvas-to-peer-connection.js"></script> |
| function testDescription(subcase) { |
| return Object.keys(subcase).map((k) => `${k}: ${typeof subcase[k] === "function" ? subcase[k].name : subcase[k]}`).join(","); |
| const testcase = {draw: withWebGL}; |
| promise_test(async t => { await testCanvasToPeerConnection(t, testcase); }, testDescription(testcase)); |