Index: chrome/test/data/safe_browsing/interstitial_cancel.html |
diff --git a/chrome/test/data/safe_browsing/interstitial_cancel.html b/chrome/test/data/safe_browsing/interstitial_cancel.html |
index 1432387e441c8ba824fa9a6c3956b6d729de3a83..de48c8ee112c200e2ae0d4c8e7b5a96d80af18c0 100644 |
--- a/chrome/test/data/safe_browsing/interstitial_cancel.html |
+++ b/chrome/test/data/safe_browsing/interstitial_cancel.html |
@@ -7,21 +7,16 @@ function openWinIFrame() |
tab = window.open("iframe_redirect_malware.html"); |
} |
-function openMalware() |
mattm
2015/06/05 01:23:41
This is apparently just some dead code. Didn't fin
|
-{ |
- window.open("http://localhost"); |
-} |
- |
function openWin() |
{ |
- tab = window.open("/server-redirect?http://localhost/files/safe_browsing/malware.html"); |
+ tab = window.open("redirect_to_malware.html"); |
} |
function stopWin() |
{ |
tab.stop(); |
// This will trigger a navigation event. |
- window.location = "http://localhost"; |
+ window.location = "/"; |
} |
</script> |
@@ -35,10 +30,6 @@ function stopWin() |
<form> |
<input type=button value="Stop Window" onclick="stopWin()"> |
</form> |
- |
-<form> |
-<input type=button value="Open malware in tab" onclick="openMalware()"> |
-</form> |
</body> |
</html> |