1 Ensure correct behavior of drawImage with ImageBitmaps constructed from ImageBitmaps that are constructed from images (not pinned to memory) and canvases (pinned to memory).
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS d[1] == 255 is true
9 PASS d[3] == 255 is true
10 PASS d[0] == 0 is true
11 PASS d[1] == 255 is true
12 PASS d[2] == 0 is true
13 PASS d[3] == 255 is true
14 PASS d[0] == 0 is true
15 PASS d[1] == 255 is true
16 PASS d[2] == 0 is true
17 PASS d[3] == 255 is true
18 PASS d[0] == 0 is true
19 PASS d[1] == 0 is true
20 PASS d[2] == 0 is true
21 PASS d[3] == 0 is true
22 PASS d[0] == 0 is true
23 PASS d[1] == 0 is true
24 PASS d[2] == 0 is true
25 PASS d[3] == 0 is true
26 PASS d[0] == 0 is true
27 PASS d[1] == 255 is true
28 PASS d[2] == 0 is true
29 PASS d[3] == 255 is true
30 PASS d[0] == 0 is true
31 PASS d[1] == 255 is true
32 PASS d[2] == 0 is true
33 PASS d[3] == 255 is true
34 PASS d[0] == 0 is true
35 PASS d[1] == 255 is true
36 PASS d[2] == 0 is true
37 PASS d[3] == 255 is true
38 PASS d[0] == 0 is true
39 PASS d[1] == 0 is true
40 PASS d[2] == 0 is true
41 PASS d[3] == 0 is true
42 PASS d[0] == 0 is true
43 PASS d[1] == 0 is true
44 PASS d[2] == 0 is true
45 PASS d[3] == 0 is true
46 PASS d[0] == 0 is true
47 PASS d[1] == 255 is true
48 PASS d[2] == 0 is true
49 PASS d[3] == 255 is true
50 PASS d[0] == 0 is true
51 PASS d[1] == 255 is true
52 PASS d[2] == 0 is true
53 PASS d[3] == 255 is true
54 PASS d[0] == 0 is true
55 PASS d[1] == 255 is true
56 PASS d[2] == 0 is true
57 PASS d[3] == 255 is true
58 PASS d[0] == 0 is true
59 PASS d[1] == 0 is true
60 PASS d[2] == 0 is true
61 PASS d[3] == 0 is true
62 PASS d[0] == 0 is true
63 PASS d[1] == 0 is true
64 PASS d[2] == 0 is true
65 PASS d[3] == 0 is true
66 PASS d[0] == 0 is true
67 PASS d[1] == 255 is true
68 PASS d[2] == 0 is true
69 PASS d[3] == 255 is true
70 PASS d[0] == 0 is true
71 PASS d[1] == 255 is true
72 PASS d[2] == 0 is true
73 PASS d[3] == 255 is true
74 PASS d[0] == 0 is true
75 PASS d[1] == 255 is true
76 PASS d[2] == 0 is true
77 PASS d[3] == 255 is true
78 PASS d[0] == 0 is true
79 PASS d[1] == 0 is true
80 PASS d[2] == 0 is true
81 PASS d[3] == 0 is true
82 PASS d[0] == 0 is true
83 PASS d[1] == 0 is true
84 PASS d[2] == 0 is true
85 PASS d[3] == 0 is true
86 PASS d[0] == 0 is true
87 PASS d[1] == 255 is true
88 PASS d[2] == 0 is true
89 PASS d[3] == 255 is true
90 PASS d[0] == 0 is true
91 PASS d[1] == 255 is true
92 PASS d[2] == 0 is true
93 PASS d[3] == 255 is true
94 PASS d[0] == 0 is true
95 PASS d[1] == 255 is true
96 PASS d[2] == 0 is true
97 PASS d[3] == 255 is true
98 PASS d[0] == 0 is true
99 PASS d[1] == 0 is true
100 PASS d[2] == 0 is true
101 PASS d[3] == 0 is true
102 PASS d[0] == 0 is true
103 PASS d[1] == 0 is true
104 PASS d[2] == 0 is true
105 PASS d[3] == 0 is true
106 PASS d[0] == 0 is true
107 PASS d[1] == 255 is true
108 PASS d[2] == 0 is true
109 PASS d[3] == 255 is true
110 PASS d[0] == 0 is true
111 PASS d[1] == 255 is true
112 PASS d[2] == 0 is true
113 PASS d[3] == 255 is true
114 PASS d[0] == 0 is true
115 PASS d[1] == 255 is true
116 PASS d[2] == 0 is true
117 PASS d[3] == 255 is true
118 PASS d[0] == 0 is true
119 PASS d[1] == 0 is true
120 PASS d[2] == 0 is true
121 PASS d[3] == 0 is true
122 PASS d[0] == 0 is true
123 PASS d[1] == 0 is true
124 PASS d[2] == 0 is true
125 PASS d[3] == 0 is true
126 PASS d[0] == 0 is true
127 PASS d[1] == 255 is true
128 PASS d[2] == 0 is true
129 PASS d[3] == 255 is true
130 PASS d[0] == 0 is true
131 PASS d[1] == 255 is true
132 PASS d[2] == 0 is true
133 PASS d[3] == 255 is true
134 PASS d[0] == 0 is true
135 PASS d[1] == 255 is true
136 PASS d[2] == 0 is true
137 PASS d[3] == 255 is true
138 PASS d[0] == 0 is true
139 PASS d[1] == 0 is true
140 PASS d[2] == 0 is true
141 PASS d[3] == 0 is true
142 PASS d[0] == 0 is true
143 PASS d[1] == 0 is true
144 PASS d[2] == 0 is true
145 PASS d[3] == 0 is true
146 PASS d[0] == 0 is true
147 PASS d[1] == 255 is true
148 PASS d[2] == 0 is true
149 PASS d[3] == 255 is true
150 PASS d[0] == 0 is true
151 PASS d[1] == 255 is true
152 PASS d[2] == 0 is true
153 PASS d[3] == 255 is true
154 PASS d[0] == 0 is true
155 PASS d[1] == 255 is true
156 PASS d[2] == 0 is true
157 PASS d[3] == 255 is true
158 PASS d[0] == 0 is true
159 PASS d[1] == 0 is true
160 PASS d[2] == 0 is true
161 PASS d[3] == 0 is true
162 PASS d[0] == 0 is true
163 PASS d[1] == 0 is true
164 PASS d[2] == 0 is true
165 PASS d[3] == 0 is true
166 PASS d[0] == 0 is true
167 PASS d[1] == 255 is true
168 PASS d[2] == 0 is true
169 PASS d[3] == 255 is true
170 PASS d[0] == 0 is true
171 PASS d[1] == 255 is true
172 PASS d[2] == 0 is true
173 PASS d[3] == 255 is true
174 PASS d[0] == 0 is true
175 PASS d[1] == 255 is true
176 PASS d[2] == 0 is true
177 PASS d[3] == 255 is true
178 PASS d[0] == 0 is true
179 PASS d[1] == 0 is true
180 PASS d[2] == 0 is true
181 PASS d[3] == 0 is true
182 PASS d[0] == 0 is true
183 PASS d[1] == 0 is true
184 PASS d[2] == 0 is true
185 PASS d[3] == 0 is true
186 PASS d[0] == 0 is true
187 PASS d[1] == 255 is true
188 PASS d[2] == 0 is true
189 PASS d[3] == 255 is true
190 PASS d[0] == 0 is true
191 PASS d[1] == 255 is true
192 PASS d[2] == 0 is true
193 PASS d[3] == 255 is true
194 PASS d[0] == 0 is true
195 PASS d[1] == 255 is true
196 PASS d[2] == 0 is true
197 PASS d[3] == 255 is true
198 PASS d[0] == 0 is true
199 PASS d[1] == 0 is true
200 PASS d[2] == 0 is true
201 PASS d[3] == 0 is true
202 PASS d[0] == 0 is true
203 PASS d[1] == 0 is true
204 PASS d[2] == 0 is true
205 PASS d[3] == 0 is true
206 PASS d[0] == 0 is true
207 PASS d[1] == 255 is true
208 PASS d[2] == 0 is true
209 PASS d[3] == 255 is true
210 PASS d[0] == 0 is true
211 PASS d[1] == 255 is true
212 PASS d[2] == 0 is true
213 PASS d[3] == 255 is true
214 PASS d[0] == 0 is true
215 PASS d[1] == 255 is true
216 PASS d[2] == 0 is true
217 PASS d[3] == 255 is true
218 PASS d[0] == 0 is true
219 PASS d[1] == 0 is true
220 PASS d[2] == 0 is true
221 PASS d[3] == 0 is true
222 PASS d[0] == 0 is true
223 PASS d[1] == 0 is true
224 PASS d[2] == 0 is true
225 PASS d[3] == 0 is true
226 PASS d[0] == 0 is true
227 PASS d[1] == 255 is true
228 PASS d[2] == 0 is true
229 PASS d[3] == 255 is true
230 PASS d[0] == 0 is true
231 PASS d[1] == 255 is true
232 PASS d[2] == 0 is true
233 PASS d[3] == 255 is true
234 PASS d[0] == 0 is true
235 PASS d[1] == 255 is true
236 PASS d[2] == 0 is true
237 PASS d[3] == 255 is true
238 PASS d[0] == 0 is true
239 PASS d[1] == 0 is true
240 PASS d[2] == 0 is true
241 PASS d[3] == 0 is true
242 PASS d[0] == 0 is true
243 PASS d[1] == 0 is true
244 PASS d[2] == 0 is true
245 PASS d[3] == 0 is true
246 PASS d[0] == 0 is true
247 PASS d[1] == 255 is true
248 PASS d[2] == 0 is true
249 PASS d[3] == 255 is true
250 PASS d[0] == 0 is true
251 PASS d[1] == 255 is true
252 PASS d[2] == 0 is true
253 PASS d[3] == 255 is true
254 PASS d[0] == 0 is true
255 PASS d[1] == 255 is true
256 PASS d[2] == 0 is true
257 PASS d[3] == 255 is true
258 PASS d[0] == 0 is true
259 PASS d[1] == 0 is true
260 PASS d[2] == 0 is true
261 PASS d[3] == 0 is true
262 PASS d[0] == 0 is true
263 PASS d[1] == 0 is true
264 PASS d[2] == 0 is true
265 PASS d[3] == 0 is true
266 PASS d[0] == 0 is true
267 PASS d[1] == 255 is true
268 PASS d[2] == 0 is true
269 PASS d[3] == 255 is true
270 PASS d[0] == 0 is true
271 PASS d[1] == 255 is true
272 PASS d[2] == 0 is true
273 PASS d[3] == 255 is true
274 PASS d[0] == 0 is true
275 PASS d[1] == 255 is true
276 PASS d[2] == 0 is true
277 PASS d[3] == 255 is true
278 PASS d[0] == 0 is true
279 PASS d[1] == 0 is true
280 PASS d[2] == 0 is true
281 PASS d[3] == 0 is true
282 PASS d[0] == 0 is true
283 PASS d[1] == 0 is true
284 PASS d[2] == 0 is true
285 PASS d[3] == 0 is true
286 PASS d[0] == 0 is true
287 PASS d[1] == 255 is true
288 PASS d[2] == 0 is true
289 PASS d[3] == 255 is true
290 PASS d[0] == 0 is true
291 PASS d[1] == 255 is true
292 PASS d[2] == 0 is true
293 PASS d[3] == 255 is true
294 PASS d[0] == 0 is true
295 PASS d[1] == 255 is true
296 PASS d[2] == 0 is true
297 PASS d[3] == 255 is true
298 PASS d[0] == 0 is true
299 PASS d[1] == 0 is true
300 PASS d[2] == 0 is true
301 PASS d[3] == 0 is true
302 PASS d[0] == 0 is true
303 PASS d[1] == 0 is true
304 PASS d[2] == 0 is true
305 PASS d[3] == 0 is true
306 PASS d[0] == 0 is true
307 PASS d[1] == 255 is true
308 PASS d[2] == 0 is true
309 PASS d[3] == 255 is true
310 PASS d[0] == 0 is true
311 PASS d[1] == 255 is true
312 PASS d[2] == 0 is true
313 PASS d[3] == 255 is true
314 PASS d[0] == 0 is true
315 PASS d[1] == 255 is true
316 PASS d[2] == 0 is true
317 PASS d[3] == 255 is true
318 PASS d[0] == 0 is true
319 PASS d[1] == 0 is true
320 PASS d[2] == 0 is true
321 PASS d[3] == 0 is true
322 PASS d[0] == 0 is true
323 PASS d[1] == 0 is true
324 PASS d[2] == 0 is true
325 PASS d[3] == 0 is true
326 PASS d[0] == 0 is true
327 PASS d[1] == 255 is true
328 PASS d[2] == 0 is true
329 PASS d[3] == 255 is true
330 PASS d[0] == 0 is true
331 PASS d[1] == 255 is true
332 PASS d[2] == 0 is true
333 PASS d[3] == 255 is true
334 PASS d[0] == 0 is true
335 PASS d[1] == 255 is true
336 PASS d[2] == 0 is true
337 PASS d[3] == 255 is true
338 PASS d[0] == 0 is true
339 PASS d[1] == 0 is true
340 PASS d[2] == 0 is true
341 PASS d[3] == 0 is true
342 PASS d[0] == 0 is true
343 PASS d[1] == 0 is true
344 PASS d[2] == 0 is true
345 PASS d[3] == 0 is true
346 PASS d[0] == 0 is true
347 PASS d[1] == 255 is true
348 PASS d[2] == 0 is true
349 PASS d[3] == 255 is true
350 PASS d[0] == 0 is true
351 PASS d[1] == 255 is true
352 PASS d[2] == 0 is true
353 PASS d[3] == 255 is true
354 PASS d[0] == 0 is true
355 PASS d[1] == 255 is true
356 PASS d[2] == 0 is true
357 PASS d[3] == 255 is true
358 PASS d[0] == 0 is true
359 PASS d[1] == 0 is true
360 PASS d[2] == 0 is true
361 PASS d[3] == 0 is true
362 PASS d[0] == 0 is true
363 PASS d[1] == 0 is true
364 PASS d[2] == 0 is true
365 PASS d[3] == 0 is true
366 PASS d[0] == 0 is true
367 PASS d[1] == 255 is true
368 PASS d[2] == 0 is true
369 PASS d[3] == 255 is true
370 PASS d[0] == 0 is true
371 PASS d[1] == 255 is true
372 PASS d[2] == 0 is true
373 PASS d[3] == 255 is true
374 PASS d[0] == 0 is true
375 PASS d[1] == 255 is true
376 PASS d[2] == 0 is true
377 PASS d[3] == 255 is true
378 PASS d[0] == 0 is true
379 PASS d[1] == 0 is true
380 PASS d[2] == 0 is true
381 PASS d[3] == 0 is true
382 PASS d[0] == 0 is true
383 PASS d[1] == 0 is true
384 PASS d[2] == 0 is true
385 PASS d[3] == 0 is true
386 PASS d[0] == 0 is true
387 PASS d[1] == 255 is true
388 PASS d[2] == 0 is true
389 PASS d[3] == 255 is true
390 PASS d[0] == 0 is true
391 PASS d[1] == 255 is true
392 PASS d[2] == 0 is true
393 PASS d[3] == 255 is true
394 PASS d[0] == 0 is true
395 PASS d[1] == 255 is true
396 PASS d[2] == 0 is true
397 PASS d[3] == 255 is true
398 PASS d[0] == 0 is true
399 PASS d[1] == 0 is true
400 PASS d[2] == 0 is true
401 PASS d[3] == 0 is true
402 PASS d[0] == 0 is true
403 PASS d[1] == 0 is true
404 PASS d[2] == 0 is true
405 PASS d[3] == 0 is true
406 PASS d[0] == 0 is true
407 PASS d[1] == 255 is true
408 PASS d[2] == 0 is true
409 PASS d[3] == 255 is true
410 PASS d[0] == 0 is true
411 PASS d[1] == 255 is true
412 PASS d[2] == 0 is true
413 PASS d[3] == 255 is true
414 PASS d[0] == 0 is true
415 PASS d[1] == 255 is true
416 PASS d[2] == 0 is true
417 PASS d[3] == 255 is true
418 PASS d[0] == 0 is true
419 PASS d[1] == 0 is true
420 PASS d[2] == 0 is true
421 PASS d[3] == 0 is true
422 PASS d[0] == 0 is true
423 PASS d[1] == 0 is true
424 PASS d[2] == 0 is true
425 PASS d[3] == 0 is true
426 PASS d[0] == 0 is true
427 PASS d[1] == 255 is true
428 PASS d[2] == 0 is true
429 PASS d[3] == 255 is true
430 PASS d[0] == 0 is true
431 PASS d[1] == 255 is true
432 PASS d[2] == 0 is true
433 PASS d[3] == 255 is true
434 PASS d[0] == 0 is true
435 PASS d[1] == 255 is true
436 PASS d[2] == 0 is true
437 PASS d[3] == 255 is true
438 PASS d[0] == 0 is true
439 PASS d[1] == 0 is true
440 PASS d[2] == 0 is true
441 PASS d[3] == 0 is true
442 PASS d[0] == 0 is true
443 PASS d[1] == 0 is true
444 PASS d[2] == 0 is true
445 PASS d[3] == 0 is true
446 PASS d[0] == 0 is true
447 PASS d[1] == 255 is true
448 PASS d[2] == 0 is true
449 PASS d[3] == 255 is true
450 PASS d[0] == 0 is true
451 PASS d[1] == 255 is true
452 PASS d[2] == 0 is true
453 PASS d[3] == 255 is true
454 PASS d[0] == 0 is true
455 PASS d[1] == 255 is true
456 PASS d[2] == 0 is true
457 PASS d[3] == 255 is true
458 PASS d[0] == 0 is true
459 PASS d[1] == 0 is true
460 PASS d[2] == 0 is true
461 PASS d[3] == 0 is true
462 PASS d[0] == 0 is true
463 PASS d[1] == 0 is true
464 PASS d[2] == 0 is true
465 PASS d[3] == 0 is true
466 PASS d[0] == 0 is true
467 PASS d[1] == 255 is true
468 PASS d[2] == 0 is true
469 PASS d[3] == 255 is true
470 PASS d[0] == 0 is true
471 PASS d[1] == 255 is true
472 PASS d[2] == 0 is true
473 PASS d[3] == 255 is true
474 PASS d[0] == 0 is true
475 PASS d[1] == 255 is true
476 PASS d[2] == 0 is true
477 PASS d[3] == 255 is true
478 PASS d[0] == 0 is true
479 PASS d[1] == 0 is true
480 PASS d[2] == 0 is true
481 PASS d[3] == 0 is true
482 PASS d[0] == 0 is true
483 PASS d[1] == 0 is true
484 PASS d[2] == 0 is true
485 PASS d[3] == 0 is true
486 PASS successfullyParsed is true