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

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: resolve final 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() {
5 var tab = window.open('');
6 tab.opener = null;
7 tab.document.write(
8 '<META HTTP-EQUIV="refresh" content="0; url=../signed.exe">');
9 tab.document.close();
10 }
11 </script>
12 </head>
13 <body>
14 <a id="iframe_new_tab_download" href="#" onclick="downloadInNewTab(); return false;">
15 Open download in new tab frome an iframe
16 </a><br>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698