Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 666 Bytes
Test the various actions available in the HTML5 media element context-menu.
RUN(video.src = 'content/test.mp4')
EVENT(play)
EXPECTED (video.paused == 'false') OK
Toggling play state
EXPECTED (video.paused == 'true') OK
EXPECTED (video.muted == 'false') OK
Toggling mute state
EXPECTED (video.muted == 'true') OK
EXPECTED (video.controls == 'true') OK
Toggling media controls
EXPECTED (video.controls == 'false') OK
EXPECTED (video.loop == 'false') OK
Toggling loop state
EXPECTED (video.loop == 'true') OK
EXPECTED (video.webkitDisplayingFullscreen == 'false') OK
Toggling fullscreen state
EXPECTED (video.webkitDisplayingFullscreen == 'true') OK
END OF TEST