blob: 3f5679576b7bf22b8a5659d2eb3b2e5e0ed04153 [file] [log] [blame]
RUN(internals.settings.setAllowsInlineMediaPlayback(false))
RUN(internals.settings.setAllowsInlineMediaPlaybackAfterFullscreen(false))
RUN(video.src = findMediaFile("video", "content/test"))
EVENT(canplaythrough)
RUN(video.play())
EVENT(webkitfullscreenchange)
RUN(video.webkitExitFullscreen())
EVENT(pause)
RUN(internals.settings.setAllowsInlineMediaPlaybackAfterFullscreen(true))
RUN(video.play())
EVENT(webkitfullscreenchange)
RUN(video.webkitExitFullscreen())
EVENT(webkitfullscreenchange)
EXPECTED (video.paused == 'false') OK
END OF TEST