blob: 9ff73bb8e1f3eb67880560152d1fb421cc9bc147 [file] [log] [blame]
<head><title>Page with dynamic mixed contents</title>
function loadBadImage() {
var image = document.getElementById("my_image");
image.src = "http://localhost:1337/files/ssl/google_files/logo.gif";
function checkForLoadFinished() {
var image = document.getElementById("my_image");
if (image.complete) {
document.getElementById("status_text").innerHTML = "Bad image loaded";
} else {
setTimeout("checkForLoadFinished()", 500);
This page has some java-script that loads some mixed contents.
You can also press the button below to load the image.
<input type=button value="Load image" onclick="loadBadImage();"></input>
<div id="status_text">Contents is OK</div>
<img id="my_image" src=""/>