blob: 6bfc7de0e8b7f435c31587e2c91060f3bef08b6c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p>Test that a new window opened via &lt;a target='_blank'&gt; with rel="noreferrer" has a null opener.</p>
<a id="testLink" href="resources/target-blank-opener-window.py" target="_blank" rel="noreferrer">Click me to test.</a>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
document.getElementById("testLink").click();
</script>
</body>
</html>