blob: 98223df7a0b810473f3cad6ab5d793e03b1e0bab [file] [log] [blame]
'Default' media sessions should respond to play/pause media events.
EVENT(canplaythrough)
EXPECTED (video.paused == 'true') OK
Sending Play/Pause media event.
RUN(internals.sendMediaControlEvent("play-pause"))
EXPECTED (video.paused == 'true') OK
Playing media.
EVENT(playing)
Media began playing.
EXPECTED (video.paused == 'false') OK
Sending Play/Pause media event.
RUN(internals.sendMediaControlEvent("play-pause"))
EXPECTED (video.paused == 'true') OK
END OF TEST