Sign in
webkit
/
WebKit
/
37b8adafa5245218cbc0b07de5bf367d62cba339
/
.
/
LayoutTests
/
media
/
media-play-promise-reject-play-notsupported-expected.txt
blob: a6f8199b9fbe2de8a2bab364bbb023949ba9387e [
file
] [
log
] [
blame
]
RUN(mediaElement.src = findMediaFile("video", "content/invalid"))
EVENT(error)
RUN(mediaElement.play().then(failTest).catch(promiseRejected))
Promise rejected. OK
EXPECTED (error.name == 'NotSupportedError') OK
END OF TEST