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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-createImageData.js

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/script-tests/canvas-createImageData.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js b/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js
index c3f2cd391a04a63ee7e65bab4ea9f9b25df7479c..ebbf5455f43bbca1980cb6cc50edb2c0c9cf5eaf 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js
@@ -2,7 +2,7 @@ description("Test canvas createImageData()");
ctx = document.createElement('canvas').getContext('2d');
-shouldThrow("ctx.createImageData(null)", '"Error: NotSupportedError: DOM Exception 9"');
+shouldThrow("ctx.createImageData(null)", '"NotSupportedError: The implementation did not support the requested type of object or operation."');
// create a 100x50 imagedata and fill it with white pixels

Powered by Google App Engine
This is Rietveld 408576698