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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test the handling of invalid arguments in canvas getImageData(). 1 Test the handling of invalid arguments in canvas getImageData().
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS ctx.getImageData(NaN, 10, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9. 6 PASS ctx.getImageData(NaN, 10, 10, 10) threw exception NotSupportedError: The im plementation did not support the requested type of object or operation..
7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception Error: NotSupportedError: DOM Exception 9. 7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception NotSupportedError: The im plementation did not support the requested type of object or operation..
8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception Error: NotSupportedError: DOM Exception 9. 8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception NotSupportedError: The im plementation did not support the requested type of object or operation..
9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception Error: NotSupportedError: DOM Exception 9. 9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception NotSupportedError: The im plementation did not support the requested type of object or operation..
10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception Error: NotSupportedE rror: DOM Exception 9. 10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception NotSupportedError: T he implementation did not support the requested type of object or operation..
11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception Error: NotSupportedE rror: DOM Exception 9. 11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception NotSupportedError: T he implementation did not support the requested type of object or operation..
12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception Error: NotSupportedE rror: DOM Exception 9. 12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception NotSupportedError: T he implementation did not support the requested type of object or operation..
13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception Error: NotSupportedE rror: DOM Exception 9. 13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception NotSupportedError: T he implementation did not support the requested type of object or operation..
14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception Error: NotSupported Error: DOM Exception 9. 14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception Error: NotSupported Error: DOM Exception 9. 15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception Error: NotSupported Error: DOM Exception 9. 16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception Error: NotSupported Error: DOM Exception 9. 17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
18 PASS ctx.getImageData(10, 10, 0, 10) threw exception Error: IndexSizeError: DOM Exception 1. 18 PASS ctx.getImageData(10, 10, 0, 10) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
19 PASS ctx.getImageData(10, 10, 10, 0) threw exception Error: IndexSizeError: DOM Exception 1. 19 PASS ctx.getImageData(10, 10, 10, 0) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
20 PASS successfullyParsed is true 20 PASS successfullyParsed is true
21 21
22 TEST COMPLETE 22 TEST COMPLETE
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698