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: LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt

Issue 240103002: Use StrictTypeChecking for ImageBitmap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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: LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt b/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
index 222ea2c9687adcfa6bf7030f30b182809894db7f..358ee31769a4a474c90f0fecbd1830d95cc1772f 100644
--- a/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt
@@ -6,6 +6,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS createImageBitmap(image) threw exception InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': No image can be retrieved from the provided element..
PASS createImageBitmap(video) threw exception InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': No player can be retrieved from the provided video element..
PASS createImageBitmap(undefined) threw exception TypeError: Failed to execute 'createImageBitmap' on 'Window': No function was found that matched the signature provided..
+PASS createImageBitmap(null) threw exception TypeError: Failed to execute 'createImageBitmap' on 'Window': No function was found that matched the signature provided..
PASS createImageBitmap(image, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0..
PASS createImageBitmap(image, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0..
PASS createImageBitmap(video, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0..

Powered by Google App Engine
This is Rietveld 408576698