Roll leveldb 3f7758:803d69 (v1.17 -> v1.18)
[chromium-blink-merge.git] / chrome / test / data / safe_browsing / interstitial_cancel.html
blob1432387e441c8ba824fa9a6c3956b6d729de3a83
1 <html>
2 <head>
3 <script type="text/javascript">
4 var tab;
5 function openWinIFrame()
7 tab = window.open("iframe_redirect_malware.html");
10 function openMalware()
12 window.open("http://localhost");
15 function openWin()
17 tab = window.open("/server-redirect?http://localhost/files/safe_browsing/malware.html");
20 function stopWin()
22 tab.stop();
23 // This will trigger a navigation event.
24 window.location = "http://localhost";
27 </script>
28 </head>
30 <body>
31 <form>
32 <input type=button value="Open Redirect Window" onclick="openWin()">
33 </form>
35 <form>
36 <input type=button value="Stop Window" onclick="stopWin()">
37 </form>
39 <form>
40 <input type=button value="Open malware in tab" onclick="openMalware()">
41 </form>
42 </body>
44 </html>