Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / history / push-state-in-grandchild-after-reload.html
1 <body>
2 <script>
3 if (window.testRunner) {
4     testRunner.dumpAsText();
5     testRunner.dumpBackForwardList();
6     testRunner.waitUntilDone();
7 }
8
9 function continueTest() {
10     if (sessionStorage.getItem("push-state-grandchild") == null) {
11         sessionStorage.setItem("push-state-grandchild", "true");
12         if (window.internals)
13             internals.forceReload(false);
14     } else {
15         sessionStorage.removeItem("push-state-grandchild");
16         if (window.testRunner)
17             testRunner.notifyDone();
18     }
19 }
20 </script>
21 <iframe src="resources/push-state-in-grandchild-child.html"></iframe>
22 </body>