<!DOCTYPE html>
<title>
    Element#requestFullscreen() and Document#exitFullscreen() in iframe
</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="../trusted-click.js"></script>
<div id="log"></div>
<iframe allowfullscreen></iframe>
<script>
    const iframe = document.querySelector("iframe");
    let iframeDoc;
    let iframeBo