2012-06-20 20:15:39 +04:00
|
|
|
<html>
|
|
|
|
<head>
|
2015-08-10 23:59:59 +03:00
|
|
|
|
2012-06-20 20:15:39 +04:00
|
|
|
<script>
|
2015-08-10 23:59:59 +03:00
|
|
|
if (location.search === '?broken') {
|
2012-06-20 20:15:39 +04:00
|
|
|
// 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);
|
2015-08-10 23:59:59 +03:00
|
|
|
} 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);
|
2012-06-20 20:15:39 +04:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
file_browserElement_SecurityChange.html.
|
|
|
|
</body>
|
|
|
|
</html>
|