blob: 42120dcff3e89f6c16b0f846cce12d39e6f297eb [file] [log] [blame]
This tests that exit Picture-in-Picture rejects when there is no Picture-in-Picture video.
RUN(internals.settings.setAllowsPictureInPictureMediaPlayback(true))
RUN(internals.setPictureInPictureAPITestEnabled(video, true))
EXPECTED (error.name == 'InvalidStateError') OK
END OF TEST