<!DOCTYPE html>
<html>
    <script>
        if (window.testRunner) {
            testRunner.dumpAsText();
            testRunner.waitUntilDone();
        }

        console.log("window.name should equal \"test\" after a cross-origin sub frame navigation.");
    </script>
    <iframe src="resources/window-name-test.html?localhost"></iframe>
</html>
