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