Index: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-exceptions.html |
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-exceptions.html b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-exceptions.html |
index 18dc0b0a6fc17fa6804a5b67de29b92a75fe1adc..97944a2caba6c0c0cb200f9df19fc7bcb9968acc 100644 |
--- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-exceptions.html |
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferable-exceptions.html |
@@ -26,6 +26,9 @@ shouldThrow("offscreenCanvas2.transferToImageBitmap()"); |
shouldThrow("worker.postMessage({data: offscreenCanvas2}, [offscreenCanvas2])"); |
shouldThrow("offscreenCanvas2.getContext('2d')"); |
+// using a transferred OffscreenCanvas as a source image throws. |
+shouldThrow("ctx.drawImage(offscreenCanvas2, 0, 0)"); |
+ |
finishJSTest(); |
</script> |
</body> |