blob: 7d0de75f0559df8619e7abe98ca2568a620fb7c5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<script>
description("Make sure that windows opened with 'noopener' via window.open cannot target their opener.");
jsTestIsAsync = true;
if (window.testRunner)
testRunner.setCanOpenWindows();
onload = function() {
window.name = "opener";
w = open("resources/noopener-window-cannot-target-opener-win.html", "", "noopener");
shouldBeNull("w");
}
</script>
</body>
</html>