summaryrefslogtreecommitdiffstats
path: root/dom/security/test/https-first/file_data_uri.html
blob: 69133e5079e4b48b3708d8cb7f804b45764a5c8b (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 = (event) => {
    let myLoc = window.location.href;
    window.opener.parent.postMessage({location: myLoc}, "*");
    window.close();
};
</script>
</body>
</html>