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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html

Issue 2251493003: Adding nullability support to ImageBitmapRenderingContext.transferImageBitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Layout tests and code update for resetting the canvas Created 4 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html b/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html
similarity index 92%
copy from third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html
copy to third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html
index b4e1e5e1e0d36c77cc05d238fcd188698d79076e..521a470d8c3272539308a5e229f44072d5cdc03e 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html
@@ -15,8 +15,10 @@ function consumeImageBitmap(image) {
var dstCanvas = document.getElementById('dstCanvas');
var dstCtx = dstCanvas.getContext('bitmaprenderer');
dstCtx.transferFromImageBitmap(image);
+ dstCtx.transferFromImageBitmap(null);
Justin Novosad 2016/08/18 15:27:27 This test seems redundant with the other one. Tes
if (window.testRunner) {
testRunner.notifyDone();
}
}
-</script>
+</script>
+

Powered by Google App Engine
This is Rietveld 408576698