| OLD | NEW |
| 1 <!-- Page with a slowly loading iframe that updates its reference fragment | 1 <!-- Page with a slowly loading iframe that updates its reference fragment |
| 2 before the iframe commits. --> | 2 before the iframe commits. --> |
| 3 <script> | 3 <script src="g.js"></script> |
| 4 var target = location.href + "#foo"; | 4 <body> |
| 5 | |
| 6 function updateFragment() { | |
| 7 location.href = target; | |
| 8 } | |
| 9 | |
| 10 function loadframe() { | |
| 11 var frame = document.getElementById("frame"); | |
| 12 frame.src = "http://127.0.0.1:" + location.search.substr(1) + "/test4"; | |
| 13 } | |
| 14 </script> | |
| 15 <body onload="loadframe()"> | |
| 16 <iframe id="frame"></frame> | 5 <iframe id="frame"></frame> |
| 17 </body> | 6 </body> |
| OLD | NEW |