Clarify and update GN build flags docs.
[chromium-blink-merge.git] / chrome / test / data / popup_blocker / popup-fake-click-on-anchor2.html
bloba9ffad7ede590d8f27a92d27d3971eb97f33c279
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Popup Blocked Fake Click on Anchor</title>
5 <script>
6 function test() {
7 document.querySelector("a").dispatchEvent(new MouseEvent("click", {ctrlKey: true, metaKey: true}));
9 </script>
10 </head>
11 <body onload="test()">
12 If the fake click was not blocked then there will be an warning message displayed in a new tab. Otherwise, the test passes.
13 <a href="data:text/html,<title>Popup Success!</title>you should not see this message if popup blocker is enabled"></a>
14 </body>
15 </html>