summaryrefslogtreecommitdiffstats
path: root/dom/security/test/https-first/file_data_uri.html
blob: e6d5744802d537824eed9542c8357fd87c6eeed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Bug 1709069: Test that Data URI which makes a top-level request gets updated in https-first</title>
</head>
<body>
<script class="testbody" type="text/javascript">
  window.onload = () => {
    let myLoc = window.location.href;
    window.opener.parent.postMessage({location: myLoc}, "*");
    window.close();
};
</script>
</body>
</html>