13 lines
477 B
HTML
13 lines
477 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<p>Test that window.opener is null when a new window is opened from an area element with rel='noopener'.</p>
|
|
<img src="non-existant.jpg" width="128" height="128" usemap="#map">
|
|
<map name="map">
|
|
<area id="link" shape="rect" coords="0,0,128,128" href="area-rel-noopener.html#new-window" target="_blank" rel="noopener">
|
|
</map>
|
|
<div id="console"></div>
|
|
<script src="resources/rel-noopener.js"></script>
|
|
</body>
|
|
</html>
|