Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-exceptions-expected.txt

Issue 2517813002: Enable V8BasedStructuredClone by default. (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Test OffscreenCanvas transferable with exception cases. 1 Test OffscreenCanvas transferable with exception cases.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS ctx = offscreenCanvas1.getContext('2d') did not throw exception. 6 PASS ctx = offscreenCanvas1.getContext('2d') did not throw exception.
7 PASS ctx is an instance of OffscreenCanvasRenderingContext2D 7 PASS ctx is an instance of OffscreenCanvasRenderingContext2D
8 PASS worker.postMessage({data: offscreenCanvas1}, [offscreenCanvas1]) threw exce ption DataCloneError: Failed to execute 'postMessage' on 'Worker': An OffscreenC anvas with a context could not be cloned.. 8 PASS worker.postMessage({data: offscreenCanvas1}, [offscreenCanvas1]) threw exce ption DataCloneError: Failed to execute 'postMessage' on 'Worker': An OffscreenC anvas could not be cloned because it had a rendering context..
9 PASS offscreenCanvas2.transferToImageBitmap() threw exception InvalidStateError: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': Cannot transfer an ImageBitmap from a detached OffscreenCanvas. 9 PASS offscreenCanvas2.transferToImageBitmap() threw exception InvalidStateError: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': Cannot transfer an ImageBitmap from a detached OffscreenCanvas.
10 PASS worker.postMessage({data: offscreenCanvas2}, [offscreenCanvas2]) threw exce ption DataCloneError: Failed to execute 'postMessage' on 'Worker': An OffscreenC anvas is detached and could not be cloned.. 10 PASS worker.postMessage({data: offscreenCanvas2}, [offscreenCanvas2]) threw exce ption DataCloneError: Failed to execute 'postMessage' on 'Worker': An OffscreenC anvas could not be cloned because it was detached..
11 PASS offscreenCanvas2.getContext('2d') threw exception InvalidStateError: Failed to execute 'getContext' on 'OffscreenCanvas': OffscreenCanvas object is detache d. 11 PASS offscreenCanvas2.getContext('2d') threw exception InvalidStateError: Failed to execute 'getContext' on 'OffscreenCanvas': OffscreenCanvas object is detache d.
12 PASS ctx.drawImage(offscreenCanvas2, 0, 0) threw exception InvalidStateError: Fa iled to execute 'drawImage' on 'OffscreenCanvasRenderingContext2D': The image so urce is detached. 12 PASS ctx.drawImage(offscreenCanvas2, 0, 0) threw exception InvalidStateError: Fa iled to execute 'drawImage' on 'OffscreenCanvasRenderingContext2D': The image so urce is detached.
13 PASS successfullyParsed is true 13 PASS successfullyParsed is true
14 14
15 TEST COMPLETE 15 TEST COMPLETE
16 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698