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

Unified Diff: LayoutTests/fast/canvas/canvas-getImageData-invalid-expected.txt

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/canvas-getImageData-invalid-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-getImageData-invalid-expected.txt b/LayoutTests/fast/canvas/canvas-getImageData-invalid-expected.txt
index eaca7902d46eebc0e601ed8c2fe066145e3034fb..e9e2ea794b2466ef7f5d945ccbaa8b289d58de57 100644
--- a/LayoutTests/fast/canvas/canvas-getImageData-invalid-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-getImageData-invalid-expected.txt
@@ -3,20 +3,20 @@ Test the handling of invalid arguments in canvas getImageData().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ctx.getImageData(NaN, 10, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, NaN, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, 10, NaN, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, 10, 10, NaN) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, Infinity, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, 10, Infinity, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, 10, 10, Infinity) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(undefined, 10, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, undefined, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, 10, undefined, 10) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, 10, 10, undefined) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS ctx.getImageData(10, 10, 0, 10) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS ctx.getImageData(10, 10, 10, 0) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS ctx.getImageData(NaN, 10, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, NaN, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, 10, NaN, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, 10, 10, NaN) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, Infinity, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, 10, Infinity, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, 10, 10, Infinity) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(undefined, 10, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, undefined, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, 10, undefined, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, 10, 10, undefined) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS ctx.getImageData(10, 10, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS ctx.getImageData(10, 10, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698