blob: f2e1262eeb68d9f3737966aff963a2ee33d8f6c2 [file] [log] [blame]
Test transferControlToOffscreen.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Successfully created layer for offscreencanvas
PASS offscreenCanvas1.width is width
PASS offscreenCanvas1.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