blob: 48be29d5f3950cf312be230aefdb7bf891b9b5c2 [file] [log] [blame]
Sessions that are explicitly released should have their media elements indefinitely paused and go into an Idle state.
EVENT(canplaythrough)
EXPECTED (video.paused == 'true') OK
Begin playing media.
EVENT(playing)
Media began playing.
EXPECTED (video.paused == 'false') OK
EXPECTED (internals.mediaSessionCurrentState(session) == 'active') OK
RUN(session.deactivate())
EXPECTED (video.paused == 'true') OK
EXPECTED (internals.mediaSessionCurrentState(session) == 'idle') OK
END OF TEST