Test the behavior of 2d canvas createPattern as a video is loaded On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS document.createElement('canvas').getContext('2d').createPattern(video, 'repeat') is null FAIL buffer[0] should be within 6 of 194. Was 15. PASS buffer[1] is within 6 of 193 FAIL buffer[2] should be within 6 of 14. Was 195. FAIL buffer[0] should be within 6 of 194. Was 15. PASS buffer[1] is within 6 of 193 FAIL buffer[2] should be within 6 of 14. Was 195. FAIL buffer[0] should be within 6 of 194. Was 15. PASS buffer[1] is within 6 of 193 FAIL buffer[2] should be within 6 of 14. Was 195. FAIL buffer[0] should be within 6 of 194. Was 15. PASS buffer[1] is within 6 of 193 FAIL buffer[2] should be within 6 of 14. Was 195. FAIL buffer[0] should be within 6 of 17. Was 197. PASS buffer[1] is within 6 of 197 FAIL buffer[2] should be within 6 of 195. Was 18. FAIL buffer[0] should be within 6 of 17. Was 197. PASS buffer[1] is within 6 of 197 FAIL buffer[2] should be within 6 of 195. Was 18. FAIL buffer[0] should be within 6 of 17. Was 197. PASS buffer[1] is within 6 of 197 FAIL buffer[2] should be within 6 of 195. Was 18. FAIL buffer[0] should be within 6 of 17. Was 197. PASS buffer[1] is within 6 of 197 FAIL buffer[2] should be within 6 of 195. Was 18. PASS buffer[0] is within 6 of 20 PASS buffer[1] is within 6 of 200 PASS buffer[2] is within 6 of 18 PASS buffer[0] is within 6 of 20 PASS buffer[1] is within 6 of 200 PASS buffer[2] is within 6 of 18 PASS buffer[0] is within 6 of 20 PASS buffer[1] is within 6 of 200 PASS buffer[2] is within 6 of 18 PASS buffer[0] is within 6 of 20 PASS buffer[1] is within 6 of 200 PASS buffer[2] is within 6 of 18 FAIL buffer[0] should be within 6 of 194. Was 0. FAIL buffer[1] should be within 6 of 193. Was 0. FAIL buffer[2] should be within 6 of 14. Was 0. FAIL buffer[0] should be within 6 of 194. Was 0. FAIL buffer[1] should be within 6 of 193. Was 0. FAIL buffer[2] should be within 6 of 14. Was 0. FAIL buffer[0] should be within 6 of 194. Was 0. FAIL buffer[1] should be within 6 of 193. Was 0. FAIL buffer[2] should be within 6 of 14. Was 0. FAIL buffer[0] should be within 6 of 194. Was 0. FAIL buffer[1] should be within 6 of 193. Was 0. FAIL buffer[2] should be within 6 of 14. Was 0. FAIL buffer[0] should be within 6 of 17. Was 0. FAIL buffer[1] should be within 6 of 197. Was 0. FAIL buffer[2] should be within 6 of 195. Was 0. FAIL buffer[0] should be within 6 of 17. Was 0. FAIL buffer[1] should be within 6 of 197. Was 0. FAIL buffer[2] should be within 6 of 195. Was 0. FAIL buffer[0] should be within 6 of 17. Was 0. FAIL buffer[1] should be within 6 of 197. Was 0. FAIL buffer[2] should be within 6 of 195. Was 0. FAIL buffer[0] should be within 6 of 17. Was 0. FAIL buffer[1] should be within 6 of 197. Was 0. FAIL buffer[2] should be within 6 of 195. Was 0. FAIL buffer[0] should be within 6 of 20. Was 0. FAIL buffer[1] should be within 6 of 200. Was 0. FAIL buffer[2] should be within 6 of 18. Was 0. FAIL buffer[0] should be within 6 of 20. Was 0. FAIL buffer[1] should be within 6 of 200. Was 0. FAIL buffer[2] should be within 6 of 18. Was 0. FAIL buffer[0] should be within 6 of 20. Was 0. FAIL buffer[1] should be within 6 of 200. Was 0. FAIL buffer[2] should be within 6 of 18. Was 0. FAIL buffer[0] should be within 6 of 20. Was 0. FAIL buffer[1] should be within 6 of 200. Was 0. FAIL buffer[2] should be within 6 of 18. Was 0. PASS successfullyParsed is true TEST COMPLETE