<body>
PASS if no crash.
<iframe id="i"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var win = i.contentWindow;
i.remove();
win.requestIdleCallback(() => {}, {timeout: 1});
</script>
</body>
<body>
PASS if no crash.
<iframe id="i"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var win = i.contentWindow;
i.remove();
win.requestIdleCallback(() => {}, {timeout: 1});
</script>
</body>