| OLD | NEW | 
|   1 <html> |   1 <html> | 
|   2 <head> |   2 <head> | 
|   3 <script> |   3 <script> | 
|   4 if (window.testRunner) { |   4 if (window.testRunner) { | 
|   5     testRunner.dumpAsText(); |   5     testRunner.dumpAsText(); | 
|   6     testRunner.dumpChildFramesAsText(); |   6     testRunner.dumpChildFramesAsText(); | 
|   7     testRunner.waitUntilDone(); |   7     testRunner.waitUntilDone(); | 
|   8     testRunner.setCanOpenWindows(); |   8     testRunner.setCanOpenWindows(); | 
|   9     testRunner.setCloseRemainingWindowsWhenComplete(true); |   9     testRunner.setCloseRemainingWindowsWhenComplete(true); | 
|  10 } |  10 } | 
|  11  |  11  | 
|  12 function runTest() { |  12 function runTest() { | 
|  13     var iframe = document.getElementById("iframe"); |  13     var iframe = document.getElementById("iframe"); | 
|  14     iframe.contentWindow.postMessage({"action": "click", "offsetLeft": iframe.of
    fsetLeft, "offsetTop": iframe.offsetTop}, "*"); |  14     iframe.contentWindow.postMessage({"action": "click", "offsetLeft": iframe.of
    fsetLeft, "offsetTop": iframe.offsetTop}, "*"); | 
|  15 } |  15 } | 
|  16 </script> |  16 </script> | 
|  17 </head> |  17 </head> | 
|  18 <body> |  18 <body> | 
|  19 <p> |  19 <p> | 
|  20 This test checks the referrer policy is obeyed along the redirect chain.  The |  20 This test checks the referrer policy is obeyed along the redirect chain.  The | 
|  21 test passes if the referrer is https://127.0.0.1:8443 |  21 test passes if the referrer is https://127.0.0.1:8443 | 
|  22 </p> |  22 </p> | 
|  23 <iframe id="iframe" name="iframe" onload="runTest()" src="https://127.0.0.1:8443
    /security/resources/referrer-policy-redirect-link.html"></iframe> |  23 <iframe id="iframe" onload="runTest()" src="https://127.0.0.1:8443/security/reso
    urces/referrer-policy-redirect-link.html"></iframe> | 
|  24 </body> |  24 </body> | 
|  25 </html> |  25 </html> | 
| OLD | NEW |