blob: 632a0303209890d2104f0ba06b6f345226b412c5 [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;
onload = function() {
window.name = "opener";
w = open("resources/noopener-window-cannot-target-opener-win.html", "", "noopener");
shouldBeNull("w");
}
</script>
</body>
</html>