iframe-top-navigation-upgrade-1.sub.html (799B)
1 <html> 2 <head> 3 <title>Upgrade Insecure Requests: top-frame navigation inside iframe (upgrade expected)</title> 4 </head> 5 <body> 6 <!-- 7 This is a bit of a hack. UPGRADE doesn't upgrade the port number, so we 8 specify this non-existent URL ('http' over https port). If UPGRADE doesn't 9 work, it won't load. The expected behavior is that the url is upgraded and 10 the page loads. 11 --> 12 <iframe 13 sandbox="allow-scripts allow-top-navigation" 14 src="https://{{domains[www]}}:{{ports[https][0]}}/upgrade-insecure-requests/link-upgrade/resources/navigate-top-frame.sub.html?url=http://{{host}}:{{ports[https][0]}}/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html%3Fmessage=iframe-top-navigation-upgrade-1" 15 ></iframe> 16 </body> 17 </html>