4 <script src=
"/resources/get-host-info.js"></script>
9 testRunner
.waitUntilDone();
11 if (window
.location
.origin
!= get_host_info().HTTPS_ORIGIN
) {
12 window
.location
= get_host_info().HTTPS_ORIGIN
+ window
.location
.pathname
;
14 var img
= document
.createElement("img");
15 img
.src
= "http://127.0.0.1:8000/security/resources/green-if-no-referrer.php";
16 img
.referrerpolicy
= "no-referrer-when-downgrade";
17 document
.body
.appendChild(img
);
18 testRunner
.notifyDone();