2 <head><title>Page with dynamic insecure content</title>
5 function loadBadImage() {
6 var image = document.getElementById("my_image");
7 image.src = "http://REPLACE_WITH_HOST_AND_PORT/files/ssl/google_files/logo.gif";
8 checkForLoadFinished();
11 function checkForLoadFinished() {
12 var image = document.getElementById("my_image");
14 document.getElementById("status_text").innerHTML = "Bad image loaded";
15 window.domAutomationController.send(true);
17 setTimeout("checkForLoadFinished()", 500);
25 This page has some java-script that loads some insecure content.
27 You can also press the button below to load the image.
29 <input type=button value="Load image" onclick="loadBadImage();"></input>
31 <div id="status_text">Contents is OK</div>
32 <img id="my_image" src=""/>