Index: chrome/test/data/ssl/page_with_dynamic_insecure_content.html |
diff --git a/chrome/test/data/ssl/page_with_dynamic_insecure_content.html b/chrome/test/data/ssl/page_with_dynamic_insecure_content.html |
index 12ea46e1dbbeb51448bf9b36ba2415f56ca12721..77e7b67a7b23271bed43d0ce294130d080a3a995 100644 |
--- a/chrome/test/data/ssl/page_with_dynamic_insecure_content.html |
+++ b/chrome/test/data/ssl/page_with_dynamic_insecure_content.html |
@@ -2,9 +2,10 @@ |
<head><title>Page with dynamic insecure content</title> |
<script> |
- function loadBadImage() { |
+ function loadBadImage(scheme) { |
+ scheme = (typeof scheme === 'undefined') ? 'http' : scheme; |
var image = document.getElementById("my_image"); |
- image.src = "http://REPLACE_WITH_HOST_AND_PORT/files/ssl/google_files/logo.gif"; |
+ image.src = scheme + "://REPLACE_WITH_HOST_AND_PORT/files/ssl/google_files/logo.gif"; |
checkForLoadFinished(); |
} |