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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt

Issue 1455763002: Use union type in ImageBitmapFactories.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better argument passing Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
index 62cdc6c9dc320898bdbd4a29fadbf936d7052ba6..ce3b8041fdb0f67bd78302bd92d6f4c36b17078a 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
@@ -5,10 +5,10 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS Rejected as expected: undefined
PASS reason instanceof Error is true
-TypeError: Failed to execute 'createImageBitmap' on 'Window': No function was found that matched the signature provided.
+TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or Blob or ImageData or ImageBitmap)'
PASS Rejected as expected: null
PASS reason instanceof Error is true
-TypeError: Failed to execute 'createImageBitmap' on 'Window': No function was found that matched the signature provided.
+TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or Blob or ImageData or ImageBitmap)'
PASS Rejected as expected: empty image
PASS reason instanceof Error is true
InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': No image can be retrieved from the provided element.
@@ -33,12 +33,6 @@ IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he
PASS Rejected as expected: canvas / invalid range
PASS reason instanceof Error is true
IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0.
-PASS Rejected as expected: canvas context / invalid range
-PASS reason instanceof Error is true
-IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0.
-PASS Rejected as expected: canvas context / invalid range
-PASS reason instanceof Error is true
-IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0.
PASS Rejected as expected: canvas imagedata / invalid range
PASS reason instanceof Error is true
IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0.

Powered by Google App Engine
This is Rietveld 408576698