| OLD | NEW |
| (Empty) |
| 1 This test ensures that putImageData works correctly, the end result should be a
100x100px green square. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS getPixel(0,0) is [0,128,0,255] | |
| 7 PASS getPixel(25,25) is [0,128,0,255] | |
| 8 PASS getPixel(49,0) is [0,128,0,255] | |
| 9 PASS getPixel(0,49) is [0,128,0,255] | |
| 10 PASS getPixel(49,49) is [0,128,0,255] | |
| 11 PASS getPixel(50,0) is [0,0,0,0] | |
| 12 PASS getPixel(0,50) is [0,0,0,0] | |
| 13 PASS getPixel(50,50) is [0,0,0,0] | |
| 14 PASS getPixel(0,50) is [0,128,0,255] | |
| 15 PASS getPixel(25,75) is [0,128,0,255] | |
| 16 PASS getPixel(49,50) is [0,128,0,255] | |
| 17 PASS getPixel(0,99) is [0,128,0,255] | |
| 18 PASS getPixel(49,99) is [0,128,0,255] | |
| 19 PASS getPixel(50,50) is [0,128,0,255] | |
| 20 PASS getPixel(75,75) is [0,128,0,255] | |
| 21 PASS getPixel(99,99) is [0,128,0,255] | |
| 22 PASS getPixel(50,49) is [0,0,0,0] | |
| 23 PASS getPixel(50,0) is [0,128,0,255] | |
| 24 PASS getPixel(50,5) is [0,128,0,255] | |
| 25 PASS getPixel(50,15) is [0,128,0,255] | |
| 26 PASS getPixel(50,25) is [0,128,0,255] | |
| 27 PASS getPixel(50,35) is [0,128,0,255] | |
| 28 PASS getPixel(50,45) is [0,128,0,255] | |
| 29 PASS getPixel(55,0) is [0,128,0,255] | |
| 30 PASS getPixel(55,5) is [0,128,0,255] | |
| 31 PASS getPixel(55,15) is [0,128,0,255] | |
| 32 PASS getPixel(55,25) is [0,128,0,255] | |
| 33 PASS getPixel(55,35) is [0,128,0,255] | |
| 34 PASS getPixel(55,45) is [0,128,0,255] | |
| 35 PASS getPixel(65,0) is [0,128,0,255] | |
| 36 PASS getPixel(65,5) is [0,128,0,255] | |
| 37 PASS getPixel(65,15) is [0,128,0,255] | |
| 38 PASS getPixel(65,25) is [0,128,0,255] | |
| 39 PASS getPixel(65,35) is [0,128,0,255] | |
| 40 PASS getPixel(65,45) is [0,128,0,255] | |
| 41 PASS getPixel(75,0) is [0,128,0,255] | |
| 42 PASS getPixel(75,5) is [0,128,0,255] | |
| 43 PASS getPixel(75,15) is [0,128,0,255] | |
| 44 PASS getPixel(75,25) is [0,128,0,255] | |
| 45 PASS getPixel(75,35) is [0,128,0,255] | |
| 46 PASS getPixel(75,45) is [0,128,0,255] | |
| 47 PASS getPixel(85,0) is [0,128,0,255] | |
| 48 PASS getPixel(85,5) is [0,128,0,255] | |
| 49 PASS getPixel(85,15) is [0,128,0,255] | |
| 50 PASS getPixel(85,25) is [0,128,0,255] | |
| 51 PASS getPixel(85,35) is [0,128,0,255] | |
| 52 PASS getPixel(85,45) is [0,128,0,255] | |
| 53 PASS getPixel(95,0) is [0,128,0,255] | |
| 54 PASS getPixel(95,5) is [0,128,0,255] | |
| 55 PASS getPixel(95,15) is [0,128,0,255] | |
| 56 PASS getPixel(95,25) is [0,128,0,255] | |
| 57 PASS getPixel(95,35) is [0,128,0,255] | |
| 58 PASS getPixel(95,45) is [0,128,0,255] | |
| 59 PASS getPixel(0,25) is [0,128,0,255] | |
| 60 PASS getPixel(99,25) is [0,128,0,255] | |
| 61 PASS getPixel(25,0) is [0,128,0,255] | |
| 62 PASS getPixel(25,99) is [0,128,0,255] | |
| 63 PASS getPixel(50,0) is [0,128,0,255] | |
| 64 PASS getPixel(50,5) is [0,128,0,255] | |
| 65 PASS getPixel(50,15) is [0,128,0,255] | |
| 66 PASS getPixel(50,25) is [0,128,0,255] | |
| 67 PASS getPixel(50,35) is [0,128,0,255] | |
| 68 PASS getPixel(50,45) is [0,128,0,255] | |
| 69 PASS getPixel(55,0) is [0,128,0,255] | |
| 70 PASS getPixel(55,5) is [0,128,0,255] | |
| 71 PASS getPixel(55,15) is [0,128,0,255] | |
| 72 PASS getPixel(55,25) is [0,128,0,255] | |
| 73 PASS getPixel(55,35) is [0,128,0,255] | |
| 74 PASS getPixel(55,45) is [0,128,0,255] | |
| 75 PASS getPixel(65,0) is [0,128,0,255] | |
| 76 PASS getPixel(65,5) is [0,128,0,255] | |
| 77 PASS getPixel(65,15) is [0,128,0,255] | |
| 78 PASS getPixel(65,25) is [0,128,0,255] | |
| 79 PASS getPixel(65,35) is [0,128,0,255] | |
| 80 PASS getPixel(65,45) is [0,128,0,255] | |
| 81 PASS getPixel(75,0) is [0,128,0,255] | |
| 82 PASS getPixel(75,5) is [0,128,0,255] | |
| 83 PASS getPixel(75,15) is [0,128,0,255] | |
| 84 PASS getPixel(75,25) is [0,128,0,255] | |
| 85 PASS getPixel(75,35) is [0,128,0,255] | |
| 86 PASS getPixel(75,45) is [0,128,0,255] | |
| 87 PASS getPixel(85,0) is [0,128,0,255] | |
| 88 PASS getPixel(85,5) is [0,128,0,255] | |
| 89 PASS getPixel(85,15) is [0,128,0,255] | |
| 90 PASS getPixel(85,25) is [0,128,0,255] | |
| 91 PASS getPixel(85,35) is [0,128,0,255] | |
| 92 PASS getPixel(85,45) is [0,128,0,255] | |
| 93 PASS getPixel(95,0) is [0,128,0,255] | |
| 94 PASS getPixel(95,5) is [0,128,0,255] | |
| 95 PASS getPixel(95,15) is [0,128,0,255] | |
| 96 PASS getPixel(95,25) is [0,128,0,255] | |
| 97 PASS getPixel(95,35) is [0,128,0,255] | |
| 98 PASS getPixel(95,45) is [0,128,0,255] | |
| 99 PASS getPixel(0,25) is [0,128,0,255] | |
| 100 PASS getPixel(0,50) is [0,128,0,255] | |
| 101 PASS getPixel(0,75) is [0,128,0,255] | |
| 102 PASS getPixel(99,25) is [0,128,0,255] | |
| 103 PASS getPixel(99,50) is [0,128,0,255] | |
| 104 PASS getPixel(99,75) is [0,128,0,255] | |
| 105 PASS getPixel(25,0) is [0,128,0,255] | |
| 106 PASS getPixel(50,0) is [0,128,0,255] | |
| 107 PASS getPixel(75,0) is [0,128,0,255] | |
| 108 PASS getPixel(25,99) is [0,128,0,255] | |
| 109 PASS getPixel(50,99) is [0,128,0,255] | |
| 110 PASS getPixel(75,99) is [0,128,0,255] | |
| 111 PASS getPixel(0,25) is [0,128,0,255] | |
| 112 PASS getPixel(0,50) is [0,128,0,255] | |
| 113 PASS getPixel(0,75) is [0,128,0,255] | |
| 114 PASS getPixel(10,25) is [0,128,0,255] | |
| 115 PASS getPixel(10,50) is [0,128,0,255] | |
| 116 PASS getPixel(10,75) is [0,128,0,255] | |
| 117 PASS getPixel(99,25) is [0,128,0,255] | |
| 118 PASS getPixel(99,50) is [0,128,0,255] | |
| 119 PASS getPixel(99,75) is [0,128,0,255] | |
| 120 PASS getPixel(89,25) is [0,128,0,255] | |
| 121 PASS getPixel(89,50) is [0,128,0,255] | |
| 122 PASS getPixel(89,75) is [0,128,0,255] | |
| 123 PASS getPixel(25,0) is [0,128,0,255] | |
| 124 PASS getPixel(50,0) is [0,128,0,255] | |
| 125 PASS getPixel(75,0) is [0,128,0,255] | |
| 126 PASS getPixel(25,10) is [0,128,0,255] | |
| 127 PASS getPixel(50,10) is [0,128,0,255] | |
| 128 PASS getPixel(75,10) is [0,128,0,255] | |
| 129 PASS getPixel(25,99) is [0,128,0,255] | |
| 130 PASS getPixel(50,99) is [0,128,0,255] | |
| 131 PASS getPixel(75,99) is [0,128,0,255] | |
| 132 PASS getPixel(25,89) is [0,128,0,255] | |
| 133 PASS getPixel(50,89) is [0,128,0,255] | |
| 134 PASS getPixel(75,89) is [0,128,0,255] | |
| 135 PASS getPixel(11,11) is [0,128,0,255] | |
| 136 PASS getPixel(1,1) is [0,128,0,255] | |
| 137 PASS getPixel(1,1) is [0,128,0,255] | |
| 138 PASS getPixel(10,10) is [0,128,0,255] | |
| 139 PASS getPixel(1,1) is [0,128,0,255] | |
| 140 PASS getPixel(10,10) is [0,128,0,255] | |
| 141 PASS getPixel(1,1) is [0,128,0,255] | |
| 142 PASS getPixel(9,9) is [0,128,0,255] | |
| 143 PASS getPixel(1,1) is [0,128,0,255] | |
| 144 PASS getPixel(9,9) is [0,128,0,255] | |
| 145 PASS getPixel(1,1) is [0,128,0,255] | |
| 146 PASS getPixel(9,9) is [0,128,0,255] | |
| 147 PASS context.putImageData({}, 0, 0) threw exception TypeError: Failed to execute
'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Image
Data'.. | |
| 148 PASS context.putImageData(buffer, NaN, 0, 0, 0, 0, 0) threw exception TypeError:
Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
| 149 PASS context.putImageData(buffer, 0, NaN, 0, 0, 0, 0) threw exception TypeError:
Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
| 150 PASS context.putImageData(buffer, 0, 0, NaN, 0, 0, 0) threw exception TypeError:
Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
| 151 PASS context.putImageData(buffer, 0, 0, 0, NaN, 0, 0) threw exception TypeError:
Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
| 152 PASS context.putImageData(buffer, 0, 0, 0, 0, NaN, 0) threw exception TypeError:
Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
| 153 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, NaN) threw exception TypeError:
Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
| 154 PASS context.putImageData(buffer, Infinity, 0, 0, 0, 0, 0) threw exception TypeE
rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
| 155 PASS context.putImageData(buffer, 0, Infinity, 0, 0, 0, 0) threw exception TypeE
rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
| 156 PASS context.putImageData(buffer, 0, 0, Infinity, 0, 0, 0) threw exception TypeE
rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
| 157 PASS context.putImageData(buffer, 0, 0, 0, Infinity, 0, 0) threw exception TypeE
rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
| 158 PASS context.putImageData(buffer, 0, 0, 0, 0, Infinity, 0) threw exception TypeE
rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
| 159 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, Infinity) threw exception TypeE
rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
| 160 PASS context.putImageData(buffer, undefined, 0, 0, 0, 0, 0) threw exception Type
Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
| 161 PASS context.putImageData(buffer, 0, undefined, 0, 0, 0, 0) threw exception Type
Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
| 162 PASS context.putImageData(buffer, 0, 0, undefined, 0, 0, 0) threw exception Type
Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
| 163 PASS context.putImageData(buffer, 0, 0, 0, undefined, 0, 0) threw exception Type
Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
| 164 PASS context.putImageData(buffer, 0, 0, 0, 0, undefined, 0) threw exception Type
Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
| 165 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, undefined) threw exception Type
Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
| 166 PASS context.putImageData(null, 0, 0, 0, 0, 0, 0) threw exception TypeError: Fai
led to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not
of type 'ImageData'.. | |
| 167 PASS context.putImageData(undefined, 0, 0, 0, 0, 0, 0) threw exception TypeError
: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is
not of type 'ImageData'.. | |
| 168 PASS successfullyParsed is true | |
| 169 | |
| 170 TEST COMPLETE | |
| 171 | |
| 172 | |
| OLD | NEW |