summaryrefslogtreecommitdiff
path: root/dom/browser-element/mochitest/file_browserElement_SecurityChange.html
blob: 09c006e7c924b141f43117facaf8cf55bb56ce2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>