Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Side by Side Diff: chrome/test/data/popup_blocker/popup-openersuppressed.html

Issue 20924002: Try to restore window.opener when opening blocked popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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: tr ue, metaKey: true}));
9 }
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>
OLDNEW
« no previous file with comments | « chrome/test/data/popup_blocker/popup-opener.html ('k') | chrome/test/data/popup_blocker/popup-sessionstorage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698