chromium/third_party/blink/web_tests/http/tests/navigation/targeted-navigation-in-unload-handler.html

<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
var test = async_test("Tests that a navigation in the unload handler succeeds if it's targeting a frame that's not being unloaded.");
function complete() {
    test.done();
}

window.onload = function() {
    var frame = document.createElement('iframe');
    document.body.appendChild(frame);

    var sibling = document.createElement('iframe');
    document.body.appendChild(sibling);

    frame.contentWindow.onunload = function () {
      sibling.contentWindow.location.href = 'resources/targeted-navigation-in-unload-handler-subframe.html';
    }

    setTimeout(function() {
        frame.contentWindow.location.assign('about:blank');
    }, 100);
}
</script>
</head>
<body>
</body>
</html>