Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / data / popup_blocker / popup-fake-click-on-anchor.html
blob7e24e47d39c059c33f91ba0566a0df75c5092875
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" target="tab"></a>
14 </body>
15 </html>