| |
| Test that a <video> keeps playing after exiting fullscreen when the internal property "allowsInlineMediaPlaybackAfterFullscreen" is true. |
| |
| RUN(video.src = findMediaFile("video", "content/test")) |
| EVENT(canplaythrough) |
| RUN(video.play().then(playing);) |
| EXPECTED (video.webkitDisplayingFullscreen == 'true') OK |
| RUN(video.webkitExitFullscreen()) |
| EVENT(webkitpresentationmodechanged) |
| EXPECTED (video.webkitDisplayingFullscreen == 'false') OK |
| EXPECTED (video.paused == 'false') OK |
| RUN(video.pause()) |
| EVENT(pause) |
| EXPECTED (video.paused == 'true') OK |
| RUN(video.play().then(playingAgain)) |
| EXPECTED (video.webkitDisplayingFullscreen == 'true') OK |
| END OF TEST |
| |