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 | |