[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / video-playback-interrupted-expected.txt
1
2 RUN(internals.setMediaSessionRestrictions("videoaudio", "InterruptedPlaybackNotPermitted"))
3 RUN(video.src = findMediaFile("video", "content/test"))
4 EXPECTED (video.paused == 'true') OK
5 RUN(internals.beginMediaSessionInterruption("System"))
6 RUN(video.play().then(didResolvePromise).catch(didRejectPromise))
7 RUN(internals.endMediaSessionInterruption("MayResumePlaying"))
8 Promise resolved. OK
9 EXPECTED (video.paused == 'false') OK
10 END OF TEST
11