blob: 44bc321eeb08e9ab5b9df267ae9340e2c05ec72c [file] [log] [blame]
RUN(mediaElement.play().then(failTest).catch(promiseRejected))
RUN(mediaElement.src = findMediaFile("video", "content/test"))
Promise rejected. OK
EXPECTED (error.name == 'AbortError') OK
EXPECTED (error instanceof DOMException == 'true') OK
EXPECTED (error instanceof Error == 'true') OK
END OF TEST