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