Bug 1938475 [Wayland] Fallback to monitor screen scale if we're missing wayland surfa...
[gecko.git] / security / manager / ssl / tests / mochitest / browser / hsts_headers_framed.html
blob5a0791557b004d8a1e589d7990f3aee32f2e80d2
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 "use strict";
7 let src = document.location.href.replace("hsts_headers_framed.html", "hsts_headers.sjs");
8 if (document.location.search == "?third-party") {
9 src = src.replace("example.com", "example.org");
11 let frame = document.createElement("iframe");
12 frame.setAttribute("src", src);
13 frame.onload = () => {
14 let done = document.createElement("h1");
15 done.textContent = "done";
16 done.setAttribute("id", "done");
17 document.body.appendChild(done);
19 document.body.appendChild(frame);
20 </script>
21 </body>
22 </html>