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

Side by Side Diff: LayoutTests/http/tests/navigation/lockedhistory-iframe.html

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/document-location.js"></script> 3 <script src="resources/document-location.js"></script>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 testRunner.dumpBackForwardList(); 5 testRunner.dumpBackForwardList();
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 var myFrame; 8 var myFrame;
9 function myCallbackFunction() { 9 function myCallbackFunction() {
10 myFrame.src = '#'; 10 myFrame.src = '#';
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <body> 14 <body>
15 <p>This test verifies that setting the iframe.src through javascript to # does n ot add a history item. If the test passes you'll see only one history item.</p> 15 <p>This test verifies that setting the iframe.src through javascript to # does n ot add a history item. If the test passes you'll see only one history item.</p>
16 <script type="text/javascript"> 16 <script type="text/javascript">
17 myFrame = document.createElement("iframe"); 17 myFrame = document.createElement("iframe");
18 myFrame.src = "javascript:document.write('<script type=text/javascript>window.pa rent.myCallbackFunction();<\/script>'); document.close()"; 18 myFrame.src = "javascript:document.write('<script type=text/javascript>window.pa rent.myCallbackFunction();<\/script>');";
19 document.body.appendChild(myFrame); 19 document.body.appendChild(myFrame);
20 </script> 20 </script>
21 </body> 21 </body>
22 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698