blob: c2f54de6b922abfd3e227ab57663c7e78ca95b20 [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.__defineGetter__("location", function() { return "haxored"; });
var result = normalizeURL(String(window.location));
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
successfullyParsed = true;
</script>
<script src="../../../js/resources/js-test-post.js"></script>
</body>
</html>