| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>Upgrade Insecure Requests: top-frame navigation inside iframe (upgrad
e expected)</title> |
| 5 <script> |
| 6 if (window.testRunner) { |
| 7 testRunner.dumpAsText(); |
| 8 testRunner.waitUntilDone(); |
| 9 } |
| 10 </script> |
| 11 |
| 12 </head> |
| 13 <body> |
| 14 <!-- This is a bit of a hack. UPGRADE doesn't upgrade the port number, so we |
| 15 specify this non-existent URL ('http' over port 8443). If UPGRADE doesn't |
| 16 work, it won't load. |
| 17 The expected behavior is that the url is upgraded and the page loaded. --> |
| 18 <iframe |
| 19 sandbox="allow-scripts allow-top-navigation" |
| 20 src="https://example.test:8443/security/upgrade-insecure-requests/resource
s/navigate-top-frame-upgrade.php?url=http://example.test:8443/misc/resources/suc
cess-notify-done.html" |
| 21 ></iframe> |
| 22 </body> |
| 23 </html> |
| OLD | NEW |