OLD | NEW |
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 |
OLD | NEW |