blob: 5c1eabcec57d79e7c65bd5e22ced8a8663a61149 [file] [log] [blame]
This tests that exit Picture-in-Picture resolves when there is a Picture-in-Picture video.
RUN(internals.settings.setAllowsPictureInPictureMediaPlayback(true))
RUN(internals.setPictureInPictureAPITestEnabled(video, true))
RUN(video.src = findMediaFile("video", "../content/test"))
EVENT(canplaythrough)
EVENT(enterpictureinpicture)
END OF TEST