<script src="../../../../resources/common.js"></script>
<script>
// Capture window.window and window.opener: once this context is navigated, these properties
// always return null.
var w = window;
var o = opener;
opener.accessFrame = function()
{
try {
o.log("document.URL: " + relativeTestPath(document.URL));
o.log("window.document.URL: " + relativeTestPath(w.document.URL));
o.log("name: " + name);
o.log("window.name: " + w.name);
} catch (e) {
o.log("An exception was thrown: " + e.message);
}
}
window.location = "notify-opener-done.html";
</script>