OLD | NEW |
1 CONSOLE WARNING: line 46: The provided value '3223' is not a valid enum value of
type ImageSmoothingQuality. | 1 CONSOLE WARNING: line 46: The provided value '3223' is not a valid enum value of
type ImageSmoothingQuality. |
2 CONSOLE WARNING: line 46: The provided value 'bad_input' is not a valid enum val
ue of type ImageSmoothingQuality. | 2 CONSOLE WARNING: line 46: The provided value 'bad_input' is not a valid enum val
ue of type ImageSmoothingQuality. |
3 CONSOLE WARNING: line 46: The provided value 'LOW' is not a valid enum value of
type ImageSmoothingQuality. | 3 CONSOLE WARNING: line 46: The provided value 'LOW' is not a valid enum value of
type ImageSmoothingQuality. |
4 CONSOLE WARNING: line 46: The provided value 'Medium' is not a valid enum value
of type ImageSmoothingQuality. | 4 CONSOLE WARNING: line 46: The provided value 'Medium' is not a valid enum value
of type ImageSmoothingQuality. |
5 Tests for the imageSmoothingQuality attribute. | 5 Tests for the imageSmoothingQuality attribute. |
6 | 6 |
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
8 | 8 |
9 | 9 |
10 On getting, must return the last value it was set to. | 10 On getting, must return the last value it was set to. |
11 PASS lowContext.imageSmoothingQuality is 'low' | 11 PASS lowContext.imageSmoothingQuality is 'low' |
12 PASS mediumContext.imageSmoothingQuality is 'medium' | 12 PASS mediumContext.imageSmoothingQuality is 'medium' |
13 PASS highContext.imageSmoothingQuality is 'high' | 13 PASS highContext.imageSmoothingQuality is 'high' |
14 | 14 |
15 FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}. | 15 FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}. |
16 PASS mediumData is highData | 16 PASS mediumData is highData |
17 FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}. | 17 FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}. |
18 | 18 |
19 FAIL sampleAlpha(noFilterData) should be > sampleAlpha(lowData). Was 201 (of typ
e number). | 19 PASS sampleAlpha(noFilterData) is sampleAlpha(lowData) |
20 FAIL sampleAlpha(lowData) should be > sampleAlpha(mediumData). Was 201 (of type
number). | 20 FAIL sampleAlpha(lowData) should be > sampleAlpha(mediumData). Was 201 (of type
number). |
21 PASS sampleAlpha(mediumData) is sampleAlpha(highData) | 21 PASS sampleAlpha(mediumData) is sampleAlpha(highData) |
22 | 22 |
23 | 23 |
24 On setting, it must be set to the new value. | 24 On setting, it must be set to the new value. |
25 highContext.imageSmoothingQuality = 'medium'; | 25 highContext.imageSmoothingQuality = 'medium'; |
26 PASS highContext.imageSmoothingQuality is 'medium' | 26 PASS highContext.imageSmoothingQuality is 'medium' |
27 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData | 27 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData |
28 highContext.imageSmoothingQuality = 'high'; | 28 highContext.imageSmoothingQuality = 'high'; |
29 PASS highContext.imageSmoothingQuality is 'high' | 29 PASS highContext.imageSmoothingQuality is 'high' |
(...skipping 29 matching lines...) Expand all Loading... |
59 highContext.save(); highContext.imageSmoothingQuality = 'medium'; | 59 highContext.save(); highContext.imageSmoothingQuality = 'medium'; |
60 PASS highContext.imageSmoothingQuality is 'medium' | 60 PASS highContext.imageSmoothingQuality is 'medium' |
61 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData | 61 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData |
62 PASS highContext.restore(); highContext.imageSmoothingQuality is 'high' | 62 PASS highContext.restore(); highContext.imageSmoothingQuality is 'high' |
63 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is highData | 63 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is highData |
64 | 64 |
65 PASS successfullyParsed is true | 65 PASS successfullyParsed is true |
66 | 66 |
67 TEST COMPLETE | 67 TEST COMPLETE |
68 | 68 |
OLD | NEW |