security/manager/ssl/tests/mochitest/stricttransportsecurity/plain_bootstrap.html
author Sebastian Hengst <archaeopteryx@coole-files.de>
Thu, 29 Jun 2017 01:01:15 +0200
changeset 366665 36ea00c880db9a3a16e5e9e8441bdf87e3012f81
parent 366639 1cd9e27f0fa16bd65edc431ca37bbcd5ad72b3bd
child 367193 003e74a2a953449614ea1355f7f5b9dfdcf1654c
permissions -rw-r--r--
Backed out changeset 1cd9e27f0fa1 (bug 1351608)

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE HTML>
<html>
  <head>
    <title>STS test iframe</title>
    <script>
      "use strict";
      let windowRef = window;
      window.addEventListener("load", function() {
        windowRef.parent.postMessage("BOOTSTRAP plain",
                                     "http://mochi.test:8888");
      });
    </script>
  </head>
  <body>
    <!-- This frame should be loaded over HTTPS to set the STS header. -->
    This frame was loaded using 
    <script>
      document.write(document.location.protocol);
    </script>
    and set the STS header to force this site and allow subdomain upgrading.
  </body>
</html>