| OLD | NEW | 
|   1 <!DOCTYPE html>  |   1 <!DOCTYPE html>  | 
|   2 <html>  |   2 <html>  | 
|   3 <head> |   3 <head> | 
|   4   <script src="../../resources/js-test.js"></script> |   4   <script src="../../resources/js-test.js"></script> | 
|   5 </head> |   5 </head> | 
|   6 <body> |   6 <body> | 
|   7 <p id="description"></p> |   7 <p id="description"></p> | 
|   8 <pre id="console"></pre> |   8 <pre id="console"></pre> | 
|   9  |   9  | 
|  10 <iframe src="data:text/plain,iframe1" id="iframe1" name="iframe1"></iframe>  |  10 <iframe src="data:text/plain,iframe1" id="iframe1"></iframe>  | 
|  11 <iframe src="data:text/plain,iframe2" id="iframe2" name="iframe2"></iframe>  |  11 <iframe src="data:text/plain,iframe2" id="iframe2"></iframe>  | 
|  12  |  12  | 
|  13 <script> |  13 <script> | 
|  14 var wentBack = false; |  14 var wentBack = false; | 
|  15  |  15  | 
|  16 description('Tests that we trigger same-document navigation when history entries
     are generated via pushState, even if the frames present in the document change 
    between history entries.'); |  16 description('Tests that we trigger same-document navigation when history entries
     are generated via pushState, even if the frames present in the document change 
    between history entries.'); | 
|  17  |  17  | 
|  18 if (window.testRunner) { |  18 if (window.testRunner) { | 
|  19     testRunner.dumpChildFramesAsText(); |  19     testRunner.dumpChildFramesAsText(); | 
|  20     testRunner.clearBackForwardList(); |  20     testRunner.clearBackForwardList(); | 
|  21     testRunner.dumpBackForwardList(); |  21     testRunner.dumpBackForwardList(); | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  55  |  55  | 
|  56     window.setTimeout(function() { |  56     window.setTimeout(function() { | 
|  57         wentBack = true; |  57         wentBack = true; | 
|  58         debug('going back'); |  58         debug('going back'); | 
|  59         history.back(); |  59         history.back(); | 
|  60     }, 0); |  60     }, 0); | 
|  61 } |  61 } | 
|  62 var jsTestIsAsync = true; |  62 var jsTestIsAsync = true; | 
|  63 </script>   |  63 </script>   | 
|  64 </body> |  64 </body> | 
|  65 </html> |  65 </html> | 
| OLD | NEW |