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

Side by Side Diff: LayoutTests/fast/forms/state-restore-broken-state.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <iframe name="subframe" src="resources/state-restore-broken-state-1.html"> 7 <iframe name="subframe" src="resources/state-restore-broken-state-1.html">
8 </iframe> 8 </iframe>
9 9
10 <script> 10 <script>
11 var jsTestIsAsync = true; 11 var jsTestIsAsync = true;
12 var isGoingBack = false; 12 var isGoingBack = false;
13 13
14 function didLoadAnotherDocument() { 14 function didLoadAnotherDocument() {
15 isGoingBack = true; 15 isGoingBack = true;
16 history.back(); 16 history.back();
17 } 17 }
18 18
19 function didSecondLoad() { 19 function didSecondLoad() {
20 description('The value was modified in the first load of state-restore-broke n-state-1.html, but it should not be restored because the state-restore-broken-s tate-2.html breaks the state.'); 20 description('The value was modified in the first load of state-restore-broke n-state-1.html, but it should not be restored because the state-restore-broken-s tate-2.html breaks the state.');
21 shouldBe('document.getElementsByTagName("iframe")[0].contentDocument.f.name1 .value', '"unmodified"'); 21 shouldBe('document.getElementsByTagName("iframe")[0].contentDocument.f.name1 .value', '"unmodified"');
22 finishJSTest(); 22 finishJSTest();
23 } 23 }
24 24
25 </script> 25 </script>
26 <script src="../js/resources/js-test-post.js"></script>
27 </body> 26 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/setrangetext.html ('k') | LayoutTests/fast/forms/state-restore-empty-state.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698