blob: c9dd8cd2cfd8c992a68b2bad74b25278dc083bc3 [file] [log] [blame]
Test that playback is paused by an interruption, and that ending the interruption does automatically resume playback.
EVENT(canplaythrough)
RUN(video.play())
EVENT(playing)
RUN(internals.beginMediaSessionInterruption('System'))
100ms timer fired...
EXPECTED (video.paused == 'true') OK
RUN(internals.endMediaSessionInterruption(''))
100ms timer fired...
EXPECTED (video.paused == 'true') OK
END OF TEST