blob: 48984056293db9dc2d02e80fde42937125f964f9 [file] [log] [blame]
This tests that request Picture-in-Picture requires loaded metadata for the video element.
RUN(internals.settings.setAllowsPictureInPictureMediaPlayback(true))
RUN(internals.setPictureInPictureAPITestEnabled(video, true))
EXPECTED (error.name == 'InvalidStateError') OK
END OF TEST