blob: c172b52ef464433d2988e9636993711f1c83330e [file] [log] [blame]
Test the play() function of <video> when fullscreen is required.
EVENT(canplaythrough)
EXPECTED (video.webkitSupportsFullscreen == 'true') OK
EXPECTED (video.webkitDisplayingFullscreen == 'false') OK
RUN(video.play())
EVENT(playing)
EXPECTED (video.webkitDisplayingFullscreen == 'true') OK
** Entered fullscreen
RUN(video.webkitExitFullScreen())
EVENT(webkitpresentationmodechanged)
EXPECTED (video.webkitDisplayingFullscreen == 'false') OK
** Exited fullscreen
END OF TEST