Index: chrome/test/data/safe_browsing/download_protection/navigation_observer/navigation_observer_tests.html |
diff --git a/chrome/test/data/safe_browsing/download_protection/navigation_observer/navigation_observer_tests.html b/chrome/test/data/safe_browsing/download_protection/navigation_observer/navigation_observer_tests.html |
index bde0c0b89fc7714bd97110d4ef3e1a6bf44f6255..904b1c64015d59387e7c6881fb18df78bdd173c4 100644 |
--- a/chrome/test/data/safe_browsing/download_protection/navigation_observer/navigation_observer_tests.html |
+++ b/chrome/test/data/safe_browsing/download_protection/navigation_observer/navigation_observer_tests.html |
@@ -115,6 +115,17 @@ |
Open download in new tab with data url |
</a><br> |
+ <a id="new_tab_download_with_server_redirect" href="#" rel="noreferrer" target=_blank> |
+ Open navigation in a new tab and immediately redirect to a download by server. |
+ </a><br> |
+ |
+ <script> |
+ var request = location.origin + "/server-redirect?" + location.origin + |
+ "/safe_browsing/download_protection/signed.exe" |
+ document.getElementById("new_tab_download_with_server_redirect") |
+ .setAttribute('href', request); |
+ </script> |
+ |
<a id="html5_file_api" href="" onclick="downloadViaFileApi()"> |
Download via HTML5 file system API |
</a><br> |