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