Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / popup_blocker / popup-openersuppressed.html
blob90bdec73e10f372f39526eeb93ec3eba90572918
1 <html>
2 <head>
3 <title>
4 Check that the window.opener is not set if it should be suppressed.
5 </title>
6 <script>
7 function test() {
8 document.querySelector("a").dispatchEvent(new MouseEvent("click", {ctrlKey: true, metaKey: true}));
10 </script>
11 </head>
12 <body onload="test()">
13 pop-up test page
14 <a href="check-openersuppressed.html" target="_blank" rel="noreferrer"></a>
15 </body>
16 </html>