3 <script src=
"../../../../resources/js-test.js"></script>
4 <script src=
"resources/location-tests-functions.js"></script>
8 window
.__defineGetter__("window", function() {
9 return { location
: "haxored" };
12 var result
= normalizeURL(String(window
.location
));
13 var correctValue
= normalizeURL(document
.URL
);
14 shouldBe("result", "correctValue");