Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / resources / dom-access-from-closure-window-child.html
blob36910954824b76c7172bd33e4d6cc7fa077b7ede
1 <script>
2 opener.accessFrame = function()
4 function normalizeURL(url)
6 return url.substring(url.lastIndexOf("LayoutTests"));
9 try {
10 opener.log("document.URL: " + normalizeURL(document.URL));
11 opener.log("window.document.URL: " + normalizeURL(window.document.URL));
12 opener.log("name: " + name);
13 opener.log("window.name: " + window.name);
14 } catch (e) {
15 opener.log("An exception was thrown: " + e.message);
19 window.location = "notify-opener-done.html";
20 </script>