3 <link rel="stylesheet" href="../../../js/resources/js-test-style.css">
4 <script src="../../../js/resources/js-test-pre.js"></script>
5 <script src="resources/location-tests-functions.js"></script>
9 window.location.__proto__.__defineGetter__("valueOf", function () {
10 return function() { return "haxored"; }
13 var result = normalizeURL(String(window.location));
14 var correctValue = normalizeURL(document.URL);
15 shouldBe("result", "correctValue");
17 successfullyParsed = true;
19 <script src="../../../js/resources/js-test-post.js"></script>