2x2.png |
|
1575 |
canvas-frame.css |
|
222 |
|
|
38 |
canvas-grid-reftest.css |
|
269 |
canvas-index.css |
|
334 |
|
|
38 |
canvas-promise-test-worker.js |
Worker script needed by canvas-test.js. |
1018 |
canvas-promise-test.js |
Framework for executing tests with HTMLCanvasElement, main thread
OffscreenCanvas and worker OffscreenCanvas. Canvas tests are specified using
calls to `canvasPromiseTest`, which runs the test on the main thread, using
an HTML and an OffscreenCanvas. Calling `runCanvasTestsInWorker` at the
script level then re-execute the whole script in a worker, this time using
only OffscreenCanvas objects. Example usage:
<script>
runCanvasTestsInWorker();
canvasPromiseTest(async (canvas) => {
// ...
}, "Sample test")
</script>
|
5451 |
canvas-spec.css |
|
682 |
|
|
38 |
canvas-tests.css |
|
1799 |
|
|
38 |
canvas-tests.js |
|
6644 |
|
|
45 |