<html>
<head>
<title>
Check that the window.opener is not set if it should be suppressed.
</title>
<script>
function test() {
document.querySelector("a").dispatchEvent(new MouseEvent("click", {ctrlKey: true, metaKey: true}));
}
</script>
</head>
<body onload="test()">
pop-up test page
<a href="check-openersuppressed.html" target="_blank" rel="noreferrer"></a>
</body>
</html>