Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: LayoutTests/http/tests/navigation/go-back-to-error-page.html

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698