Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / Location / window-shadow-window-using-js-object-with-location-field.html
blobdff61959de9fbd957f648778a03a9ae4c9dfb379
1 <html>
2 <head>
3 <script src="../../../../resources/js-test.js"></script>
4 <script src="resources/location-tests-functions.js"></script>
5 </head>
6 <body>
7 <script>
8 var window = { location: "haxored" };
10 var result = normalizeURL(String(window.location));
11 var correctValue = normalizeURL(document.URL);
12 shouldBe("result", "correctValue");
13 </script>
14 </body>
15 </html>