blob: 341b32cdd3e819c0ef22f2b9d4c5223ebdf20452 [file] [log] [blame]
Test that Audio() object loads the resource after src attribute is set and load() is called.
EXPECTED (audio instanceof HTMLAudioElement == 'true') OK
RUN(audio.load())
EVENT(loadstart)
EXPECTED (relativeURL(audio.currentSrc) == 'content/test.wav') OK
EVENT(canplaythrough)
END OF TEST