Return a Promise from HTMLMediaElement.play()
[WebKit-https.git] / LayoutTests / media / media-play-promise-reject-pause-abort-expected.txt
1
2 RUN(mediaElement.play().then(failTest).catch(promiseRejected))
3 RUN(mediaElement.pause())
4 Promise rejected. OK
5 EXPECTED (error.name == 'AbortError') OK
6 END OF TEST
7