CONSOLE MESSAGE: line 9: TypeError: 'null' is not an object (evaluating 'caps.length') Test that toDataURL(mimeType) ignores the case of 'mimeType'. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". FAIL tryMimeType('image/png') should be image/png. Threw exception TypeError: 'null' is not an object (evaluating 'caps.length') FAIL tryMimeType('iMAge/Png') should be image/png. Threw exception TypeError: 'null' is not an object (evaluating 'caps.length') FAIL tryMimeType('IMAGE/PNG') should be image/png. Threw exception TypeError: 'null' is not an object (evaluating 'caps.length') FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined). TEST COMPLETE