1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/manager/ssl/tests/mochitest/stricttransportsecurity/plain_bootstrap.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.5 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.7 + 1.8 +<!DOCTYPE HTML> 1.9 +<html> 1.10 + <head> 1.11 + <title>STS test iframe</title> 1.12 + <script> 1.13 + var self = window; 1.14 + window.addEventListener("load", function() { 1.15 + self.parent.postMessage("BOOTSTRAP plain", "http://mochi.test:8888"); 1.16 + }, false); 1.17 + </script> 1.18 + </head> 1.19 + <body> 1.20 + <!-- This frame should be loaded over HTTPS to set the STS header. --> 1.21 + This frame was loaded using 1.22 + <script> 1.23 + document.write(document.location.protocol); 1.24 + </script> 1.25 + and set the STS header to force this site and allow subdomain upgrading. 1.26 + </body> 1.27 +</html>