Replaced video.canPlayType with isTypedSupported.
Removed <video> and create the video element with DOM API.
Fixed to check TypeError is thrown if an argument isn't nullable.
Fixed the confliction of function name with testharness.js.