OLD | NEW |
(Empty) | |
| 1 Test OffscreenCanvas transferable. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS offscreenCanvas.width is width |
| 7 PASS offscreenCanvas.height is height |
| 8 PASS offscreenCanvas.width is 0 |
| 9 PASS offscreenCanvas.height is 0 |
| 10 PASS Transfer a neutered offscreenCanvas should throw an exception: DataCloneErr
or: Failed to execute 'postMessage' on 'Worker': An OffscreenCanvas is neutered
and could not be cloned. |
| 11 PASS newOffscreenCanvas.width is width |
| 12 PASS newOffscreenCanvas.height is height |
| 13 PASS ctx = newOffscreenCanvas.getContext('2d') did not throw exception. |
| 14 PASS ctx is an instance of OffscreenCanvasRenderingContext2D |
| 15 PASS Transfer an offscreenCanvas with a context should throw an exception: DataC
loneError: Failed to execute 'postMessage' on 'Worker': An OffscreenCanvas with
a context could not be cloned. |
| 16 PASS successfullyParsed is true |
| 17 |
| 18 TEST COMPLETE |
| 19 |
OLD | NEW |