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

Unified Diff: LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. Created 7 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: LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html b/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html
index 4e93036205ae8da61a14ed760eaff9331658b602..287b49f3044ffdf088fd2a77865e0e3831082c3f 100644
--- a/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html
@@ -9,7 +9,7 @@ description("Ensure correct behavior of createImageBitmap for invalid inputs.");
window.jsTestIsAsync = true;
var InvalidStateError = "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.";
-var TypeError = "TypeError: Type error";
+var TypeError = "TypeError: Failed to execute 'createImageBitmap' on 'Window': No function was found that matched the signature provided.";
var IndexSizeError = "IndexSizeError: Index or size was negative, or greater than the allowed value.";
var image;

Powered by Google App Engine
This is Rietveld 408576698