summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/history/history-back-within-subframe-url.html
blob: c8c8fbf26dcc4198a4a293b36b2bdd2f45558c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<body>
<script>
onload = function() {
  if (window.testRunner)
  {
      testRunner.dumpAsText();
      testRunner.waitUntilDone();
  }
}

wentBack = false;

function onFrameLoaded()
{
    wentBack = true;
    history.back();
    document.getElementById('result').innerText = 'PASS';
    if (window.testRunner)
        testRunner.notifyDone();      
}
</script>
<iframe src="resources/history-back-within-subframe-url-2.html"></iframe>
<div id="result">FAIL</div>
</body>