Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / data / popup_blocker / popup-fake-click-on-anchor3.html
blobddc934393d6543081b19618061d328b027487fca
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", {shiftKey: 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>PASS</title>you should not see this message if popup blocker is enabled"></a>
14 </body>
15 </html>