Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/gc.js"></script>
<iframe id="i" src="/common/blank.html"></iframe>
<!--
-->
<script>
promise_test(t => {
i.contentWindow.navigation.navigate("/common/blank.html?1");
return garbageCollect();
}, `navigate() from <iframe> with src="" but still on initial about:blank doesn't cause a crash on GC`);
</script>