blob: 292774cf5632950f2f7089e9e6634308f24ec5d7 [file] [log] [blame]
<script>
const parent = window.parent; // Save parent as the window will be detached when accessFrame() is called.
parent.accessFrame = function()
{
function normalizeURL(url)
{
return url.substring(url.lastIndexOf("LayoutTests"));
}
try {
parent.log("document.URL: " + normalizeURL(document.URL));
parent.log("window.document.URL: " + normalizeURL(window.document.URL));
parent.log("name: " + name);
parent.log("window.name: " + window.name);
} catch (e) {
parent.log("An exception was thrown: " + e.message);
}
}
window.location = "notify-parent-done.html";
</script>