[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / video-interruption-with-resume-allowing-play-expected.txt
1
2 Test that play() during interruption does nothing, ending interruption allows playback to resume.
3
4 EVENT(canplaythrough)
5 RUN(video.play())
6
7 EVENT(playing)
8 EXPECTED (video.paused == 'false') OK
9 RUN(internals.beginMediaSessionInterruption('System'))
10
11 100ms timer fired...
12 EXPECTED (video.paused == 'true') OK
13 RUN(internals.endMediaSessionInterruption('MayResumePlaying'))
14
15 EVENT(playing)
16 EXPECTED (video.paused == 'false') OK
17
18 EXPECTED (video.paused == 'false') OK
19 RUN(internals.beginMediaSessionInterruption('System'))
20
21 100ms timer fired...
22 EXPECTED (video.paused == 'true') OK
23 RUN(internals.endMediaSessionInterruption('MayResumePlaying'))
24
25 EVENT(playing)
26 EXPECTED (video.paused == 'false') OK
27
28 END OF TEST
29