| OLD | NEW |
| (Empty) |
| 1 <body onload="redirect()"> | |
| 2 <!-- Needs to take two seconds, because a faster refresh would result in not cre
ating a b/f item for the navigation --> | |
| 3 <iframe src='data:text/html,<meta http-equiv="Refresh" content="2; URL=about:bla
nk"><script>if (window.testRunner) { window.onpagehide=function(e){alert('p
agehide ' + e.persisted)}; }</script>'></iframe> | |
| 4 <script> | |
| 5 if (window.testRunner) { | |
| 6 testRunner.dumpAsText(); | |
| 7 testRunner.waitUntilDone(); | |
| 8 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1); | |
| 9 } | |
| 10 | |
| 11 function redirect() | |
| 12 { | |
| 13 location='data:text/html,<p>PASSED if didn't crash in two seconds.</p><
script>if (window.testRunner) setTimeout("testRunner.notifyDone()", 2500); </scr
' + 'ipt>'; | |
| 14 } | |
| 15 </script> | |
| OLD | NEW |