<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="console"></div>
<script>
var expectedName = window.location.search.substr("?expectedName=".length);
shouldBeEqualToString("escape(window.frameElement.name)", expectedName);
shouldBeEqualToString("escape(window.name)", expectedName);
</script>
</body>
