10 lines
335 B
HTML
10 lines
335 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<p>Test that window.opener is null when a new window is opened from an anchor element with rel='noopener'.</p>
|
|
<a id="link" href="a-rel-noopener.html#new-window" target="_blank" rel="noopener"></a>
|
|
<div id="console"></div>
|
|
<script src="resources/rel-noopener.js"></script>
|
|
</body>
|
|
</html>
|