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