This tests that setting the presentation mode of a video element to inline when it is in inline will not crash. | |
RUN(internals.settings.setAllowsPictureInPictureMediaPlayback(true)) | |
RUN(video.src = findMediaFile("video", "content/test")) | |
EVENT(canplaythrough) | |
RUN(video.play()) | |
RUN(video.webkitSetPresentationMode("inline")) | |
RUN(video.webkitSetPresentationMode("inline")) | |
END OF TEST | |