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

Side by Side Diff: LayoutTests/http/tests/navigation/back-to-dynamic-iframe.html

Issue 296533004: Fix incorrect iframe loading during back/forward navigation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « no previous file | LayoutTests/http/tests/navigation/back-to-dynamic-iframe-expected.txt » ('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 <body>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpBackForwardList();
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 }
8
9 function childLoaded() {
10 if (window.sessionStorage.getItem("dynamic-iframe") != null) {
11 setTimeout(function() {
12 location.assign("resources/go-back.html");
13 }, 0);
14 } else {
15 setTimeout(function() {
16 if (window.testRunner)
17 testRunner.notifyDone();
18 }, 0);
19 }
20 }
21
22 var i = document.createElement("iframe");
23 i.src = "javascript:false";
24 document.body.appendChild(i);
25
26 if (window.sessionStorage.getItem("dynamic-iframe") == null) {
27 window.sessionStorage.setItem("dynamic-iframe", true);
28 i.src = "resources/back-to-dynamic-iframe-iframe.html#FAIL";
29 } else {
30 window.sessionStorage.removeItem("dynamic-iframe");
31 i.src = "resources/back-to-dynamic-iframe-iframe.html#PASS";
32 }
33 </script>
34 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigation/back-to-dynamic-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698