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

Unified Diff: chrome/test/data/safe_browsing/interstitial_cancel.html

Issue 1147353007: safe_browsing_blocking_page_test.cc: Use mock URLRequest jobs instead of SpawnedTestServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sb-test-server2
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698