summaryrefslogtreecommitdiffstats
path: root/browser/components/originattributes/test/browser/file_thirdPartyChild.iframe.html
blob: b047d5b412e756048bd396c9a2307cc507877f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<!-- The child page, used by browser_cache.js -->
<body>
<div>thirdPartyChild.html</div>
<script>
  var xhr = new XMLHttpRequest();
  xhr.open("GET", "http://example.net/browser/browser/components/originattributes/test/browser/file_thirdPartyChild.xhr.html", true);
  xhr.send();
  var worker = new Worker("http://example.net/browser/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.js");
  var sharedWorker = new SharedWorker("http://example.net/browser/browser/components/originattributes/test/browser/file_thirdPartyChild.sharedworker.js");

  fetch("file_thirdPartyChild.fetch.html", {cache: "force-cache"} );
  fetch(new Request("file_thirdPartyChild.request.html"), {cache: "force-cache"} );
</script>
</body>
</html>