blob: b38d83b77aceb7873d210d33a04f5a69f945ee3b [file] [log] [blame]
When switching media sessions, media elements belonging to the old session should be paused.
RUN(session = new MediaSession("content"))
EVENT(canplaythrough)
EXPECTED (video.paused == 'true') OK
Begin playing media.
EVENT(playing)
Media began playing.
EXPECTED (video.paused == 'false') OK
RUN(video.session = new MediaSession("transient"))
EXPECTED (video.paused == 'true') OK
END OF TEST