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

Side by Side Diff: chrome/test/data/safe_browsing/download_protection/navigation_observer/iframe_retargeting.html

Issue 2302913003: Add SafeBrowsingNavigationObserver to listen to navigation events (Closed)
Patch Set: nit Created 4 years, 1 month 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function downloadInNewTab() {
Charlie Reis 2016/10/28 23:36:09 nit: Fix indent.
Jialiu Lin 2016/10/29 00:45:34 Done.
5 var tab = window.open('');
6 tab.opener = null;
7 tab.document.write('<META HTTP-EQUIV="refresh" content="0; url=../ signed.exe">');
8 tab.document.close();
9 }
10 </script>
11 </head>
12 <body>
13 <a id="iframe_new_tab_download" href="#" onclick="downloadInNewTab()">
14 Open download in new tab frome an iframe
15 </a><br>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698