blob: a548a4a4490c7307b3b98e2750e7f39ce0232cd7 [file] [log] [blame]
Test that media constructors behave consistently.
EXPECTED (audioJS instanceof HTMLAudioElement == 'true') OK
EXPECTED (audioJS instanceof HTMLMediaElement == 'true') OK
EXPECTED (audioJS instanceof HTMLVideoElement == 'false') OK
EXPECTED (audioElem instanceof HTMLAudioElement == 'true') OK
EXPECTED (audioElem instanceof HTMLMediaElement == 'true') OK
EXPECTED (audioElem instanceof HTMLVideoElement == 'false') OK
EXPECTED (videoElem instanceof HTMLVideoElement == 'true') OK
EXPECTED (videoElem instanceof HTMLMediaElement == 'true') OK
EXPECTED (videoElem instanceof HTMLAudioElement == 'false') OK
END OF TEST