Index: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-expected.txt b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..084cf9888ec3efd308c0cd99d0452e1318f1d892 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-expected.txt |
@@ -0,0 +1,19 @@ |
+Test OffscreenCanvas transferable. |
+ |
+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 offscreenCanvas.width is 0 |
+PASS offscreenCanvas.height is 0 |
+PASS Transfer a neutered offscreenCanvas should throw an exception: DataCloneError: Failed to execute 'postMessage' on 'Worker': An OffscreenCanvas is neutered and could not be cloned. |
+PASS newOffscreenCanvas.width is width |
+PASS newOffscreenCanvas.height is height |
+PASS ctx = newOffscreenCanvas.getContext('2d') did not throw exception. |
+PASS ctx is an instance of OffscreenCanvasRenderingContext2D |
+PASS Transfer an offscreenCanvas with a context should throw an exception: DataCloneError: Failed to execute 'postMessage' on 'Worker': An OffscreenCanvas with a context could not be cloned. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |