blob: af1b7165e746d68f68cc5901fe498b84388ddf06 [file] [log] [blame]
<html>
<head>
<script src="../../../js/resources/js-test-pre.js"></script>
<script src="resources/location-tests-functions.js"></script>
</head>
<body>
<script>
window.location.toString = function() { return "haxored"; }
var result = normalizeURL(String(window.location));
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</script>
<script src="../../../js/resources/js-test-post.js"></script>
</body>
</html>