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