blob: fe93a30ccdec27240763d4edbd71ebe343282518 [file] [log] [blame]
Test transferControlToOffscreen.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS offscreenCanvas.width is width
PASS offscreenCanvas.height is height
PASS transferControlToOffscreen from a canvas with context throws an exception: InvalidStateError: Failed to execute 'transferControlToOffscreen' on 'HTMLCanvasElement': Cannot transfer control from a canvas that has a rendering context.
PASS successfullyParsed is true
TEST COMPLETE