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

Side by Side Diff: ManualTests/frame-layout-on-back.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
« no previous file with comments | « LayoutTests/plugins/resources/go-back.html ('k') | Source/WebKit/chromium/public/WebSettings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4
5 function navigate()
6 {
7 if (location.hash == "") {
8 if (window.layoutTestController) {
9 layoutTestController.overridePreference("WebKitUsesPageCachePreferen ceKey", 1);
10 layoutTestController.waitUntilDone();
11 }
12
13 history.pushState({ }, "", window.location + "#1");
14 setTimeout("window.location.href = 'resources/empty-document-goes-back.h tml'", 0);
15 return;
16 }
17
18 setTimeout(function () {
19 if (window.layoutTestController)
20 layoutTestController.notifyDone();
21 }, 0);
22 }
23
24 </script>
25 </head>
26 <body style="width:800px" onpageshow="navigate();">
27 <div id="result">This test passes if the iframe lays out and paints (meaning it is purple) after the test naviagtes back.</div><br/><br/>
28 <iframe id="iframe" src="resources/simple-iframe.html"></iframe>
29 </body>
30 </htmL>
OLDNEW
« no previous file with comments | « LayoutTests/plugins/resources/go-back.html ('k') | Source/WebKit/chromium/public/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698