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