diff options
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_SecurityChange.html')
-rw-r--r-- | dom/browser-element/mochitest/file_browserElement_SecurityChange.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_browserElement_SecurityChange.html b/dom/browser-element/mochitest/file_browserElement_SecurityChange.html new file mode 100644 index 000000000..09c006e7c --- /dev/null +++ b/dom/browser-element/mochitest/file_browserElement_SecurityChange.html @@ -0,0 +1,21 @@ +<html> +<head> + +<script> +if (location.search === '?broken') { + // Load something non-https. + var s = document.createElement('script'); + s.src = 'http://example.com/dom/browser-element/mochitest/file_empty_script.js'; + document.head.appendChild(s); +} else if (location.search === '?tracking') { + var img = document.createElement('img'); + img.src = 'http://tracking.example.com/tests/toolkit/components/url-classifier/tests/mochitest/raptor.jpg'; + document.body.appendChild(img); +} +</script> +</head> + +<body> +file_browserElement_SecurityChange.html. +</body> +</html> |