| OLD | NEW |
| 1 <script> | 1 <script> |
| 2 if (window.testRunner) { | 2 if (window.testRunner) { |
| 3 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1); | |
| 4 testRunner.dumpAsText(); | 3 testRunner.dumpAsText(); |
| 5 testRunner.queueLoadHTMLString("<script>document.write('<div id=result>FAIL:
The alternate HTML string was cached, but should not have been cached for an er
ror page</div>');<\/script>", "resources", "http://127.0.0.1:8000/navigation/res
ources/page-treated-as-unreachable.html"); | 4 testRunner.queueLoadHTMLString("<script>document.write('<div id=result>FAIL:
The alternate HTML string was cached, but should not have been cached for an er
ror page</div>');<\/script>", "resources", "http://127.0.0.1:8000/navigation/res
ources/page-treated-as-unreachable.html"); |
| 6 testRunner.queueLoad("resources/page-to-go-back-from.html"); | 5 testRunner.queueLoad("resources/page-to-go-back-from.html"); |
| 7 testRunner.queueBackNavigation(1); | 6 testRunner.queueBackNavigation(1); |
| 8 } else | 7 } else |
| 9 document.write('This test must be run by DumpRenderTree!') | 8 document.write('This test must be run by DumpRenderTree!') |
| 10 </script> | 9 </script> |
| 11 | 10 |
| 12 <p>This tests that going back to an error page (an unreachable URL for which the
re is substitute | 11 <p>This tests that going back to an error page (an unreachable URL for which the
re is substitute |
| 13 data) does not cause an assertion failure.</p> | 12 data) does not cause an assertion failure.</p> |
| 14 | 13 |
| OLD | NEW |