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