Sign in
webkit
/
WebKit
/
f57827973246a6c2535cb131d8a9bf1f07495534
/
.
/
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