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

Side by Side Diff: LayoutTests/fast/canvas/canvas-pattern-behaviour-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 This test covers the behaviour of pattern use and construction 1 This test covers the behaviour of pattern use and construction
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 context.createPattern(green1x1, null) did not throw an exception 6 PASS context.createPattern(green1x1, null) did not throw an exception
7 PASS getPixel(1,1) is [0,128,0,255] 7 PASS getPixel(1,1) is [0,128,0,255]
8 PASS getPixel(98,1) is [0,128,0,255] 8 PASS getPixel(98,1) is [0,128,0,255]
9 PASS getPixel(1,48) is [0,128,0,255] 9 PASS getPixel(1,48) is [0,128,0,255]
10 PASS getPixel(98,48) is [0,128,0,255] 10 PASS getPixel(98,48) is [0,128,0,255]
11 PASS context.createPattern(green1x1, 'null') threw exception Error: SyntaxError: DOM Exception 12. 11 PASS context.createPattern(green1x1, 'null') threw exception SyntaxError: An inv alid or illegal string was specified..
12 PASS context.createPattern(green1x1, undefined) threw exception Error: SyntaxErr or: DOM Exception 12. 12 PASS context.createPattern(green1x1, undefined) threw exception SyntaxError: An invalid or illegal string was specified..
13 PASS context.createPattern(green1x1, 'undefined') threw exception Error: SyntaxE rror: DOM Exception 12. 13 PASS context.createPattern(green1x1, 'undefined') threw exception SyntaxError: A n invalid or illegal string was specified..
14 PASS context.createPattern(green1x1, {toString:function(){ return null;}}) threw exception Error: SyntaxError: DOM Exception 12. 14 PASS context.createPattern(green1x1, {toString:function(){ return null;}}) threw exception SyntaxError: An invalid or illegal string was specified..
15 PASS context.createPattern(green1x1, '') did not throw an exception 15 PASS context.createPattern(green1x1, '') did not throw an exception
16 PASS getPixel(1,1) is [0,128,0,255] 16 PASS getPixel(1,1) is [0,128,0,255]
17 PASS getPixel(98,1) is [0,128,0,255] 17 PASS getPixel(98,1) is [0,128,0,255]
18 PASS getPixel(1,48) is [0,128,0,255] 18 PASS getPixel(1,48) is [0,128,0,255]
19 PASS getPixel(98,48) is [0,128,0,255] 19 PASS getPixel(98,48) is [0,128,0,255]
20 PASS context.createPattern(green1x1, {toString:function(){ return 'repeat';}}) d id not throw an exception 20 PASS context.createPattern(green1x1, {toString:function(){ return 'repeat';}}) d id not throw an exception
21 PASS getPixel(1,1) is [0,128,0,255] 21 PASS getPixel(1,1) is [0,128,0,255]
22 PASS getPixel(98,1) is [0,128,0,255] 22 PASS getPixel(98,1) is [0,128,0,255]
23 PASS getPixel(1,48) is [0,128,0,255] 23 PASS getPixel(1,48) is [0,128,0,255]
24 PASS getPixel(98,48) is [0,128,0,255] 24 PASS getPixel(98,48) is [0,128,0,255]
25 PASS getPixel(1,1) is [0,128,0,255] 25 PASS getPixel(1,1) is [0,128,0,255]
26 PASS getPixel(98,1) is [0,128,0,255] 26 PASS getPixel(98,1) is [0,128,0,255]
27 PASS getPixel(1,48) is [0,128,0,255] 27 PASS getPixel(1,48) is [0,128,0,255]
28 PASS getPixel(98,48) is [0,128,0,255] 28 PASS getPixel(98,48) is [0,128,0,255]
29 PASS successfullyParsed is true 29 PASS successfullyParsed is true
30 30
31 TEST COMPLETE 31 TEST COMPLETE
32 32
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-overloads-drawImage-expected.txt ('k') | LayoutTests/fast/canvas/canvas-putImageData.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698