OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 | 4 |
5 function runTest() | 5 function runTest() |
6 { | 6 { |
7 document.getElementById("subframe").contentWindow.location = 'data:text/html
,<body onload="testRunner.notifyDone();"></body>'; | 7 window.frames["subframe"].location = 'data:text/html,<body onload="testRunne
r.notifyDone();"></body>'; |
8 } | 8 } |
9 | 9 |
10 </script> | 10 </script> |
11 </head> | 11 </head> |
12 | 12 |
13 <body onload="runTest();"> | 13 <body onload="runTest();"> |
14 This test navigates an iframe while it's onload handler is still running.<br> | 14 This test navigates an iframe while it's onload handler is still running.<br> |
15 The iframe navigation should *not* result in a second back-history item being cr
eated for the top level navigation.<br> | 15 The iframe navigation should *not* result in a second back-history item being cr
eated for the top level navigation.<br> |
16 <iframe id="subframe" src="about:blank"></iframe><br> | 16 <iframe name="subframe" src="about:blank"></iframe><br> |
17 | 17 |
18 </body> | 18 </body> |
19 | 19 |
20 </html> | 20 </html> |
OLD | NEW |