blob: 9debfd6b122a6531e3699a192439a9d8c2a6fac9 [file] [log] [blame]
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