<!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 <a target='_blank'> 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> |