| OLD | NEW |
| (Empty) |
| 1 <script> | |
| 2 if (window.testRunner) { | |
| 3 testRunner.waitUntilDone(); | |
| 4 testRunner.dumpAsText(); | |
| 5 testRunner.dumpFrameLoadCallbacks(); | |
| 6 if (sessionStorage.api_goto_current_bf_item) { | |
| 7 delete sessionStorage.api_goto_current_bf_item; | |
| 8 testRunner.notifyDone(); | |
| 9 } | |
| 10 } | |
| 11 | |
| 12 function loaded() | |
| 13 { | |
| 14 if (window.testRunner) { | |
| 15 sessionStorage.api_goto_current_bf_item = true; | |
| 16 testRunner.apiTestGoToCurrentBackForwardItem(); | |
| 17 } | |
| 18 } | |
| 19 | |
| 20 </script> | |
| 21 <body onload="setTimeout('loaded();', 0);"> | |
| 22 <pre>This is an API test that will only work under DumpRenderTree. It tests usin
g the WebKit api [WebView goToBackForwardItem:] to go to the current item. This
needs to actually perform a "real" load, and not be treated as a same-document n
avigation.</pre> | |
| 23 </body> | |
| OLD | NEW |