blob: aeff32989e73dbde1af3681dfb595caf7c6ec435 [file] [log] [blame]
<html>
<head>
<script>
function loaded()
{
document.getElementsByTagName('h4')[0].innerHTML = document.domain;
// Allow the user to click the button during manuel runs.
if (window.testRunner)
performTest();
}
function performTest()
{
internals.withUserGesture(() => {
parent.location = "http://localhost:8000/security/frameNavigation/resources/navigation-changed-iframe.html";
});
}
</script>
</head>
<body onload="loaded();">
<h4>DOMAIN</h4>
<button onclick="performTest();">Perform Test</button>
</body>
</html>