| OLD | NEW |
| 1 <!-- This page is used to test that blank frames with dynamic contents are | 1 <!-- This page is used to test that blank frames with dynamic contents are |
| 2 correctly serialized by the PageSerializer. | 2 correctly serialized by the FrameSerializer. |
| 3 --> | 3 --> |
| 4 <html> | 4 <html> |
| 5 <script> | 5 <script> |
| 6 function onload() { | 6 function onload() { |
| 7 var frame = document.createElement("iframe"); | 7 var frame = document.createElement("iframe"); |
| 8 var div = document.getElementById("myDiv1"); | 8 var div = document.getElementById("myDiv1"); |
| 9 div.appendChild(frame); | 9 div.appendChild(frame); |
| 10 | 10 |
| 11 frame.contentDocument.body.innerHTML += | 11 frame.contentDocument.body.innerHTML += |
| 12 "Some text<br>An image <img src='blue_background.png'.><br><b>Some more te
xt</b>" | 12 "Some text<br>An image <img src='blue_background.png'.><br><b>Some more te
xt</b>" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 } | 28 } |
| 29 </script> | 29 </script> |
| 30 <body onload="onload()"> | 30 <body onload="onload()"> |
| 31 This page creates empty iframes and adds content to them dynamically.<br><br> | 31 This page creates empty iframes and adds content to them dynamically.<br><br> |
| 32 <div id="myDiv1"></div> | 32 <div id="myDiv1"></div> |
| 33 <div id="myDiv2"></div> | 33 <div id="myDiv2"></div> |
| 34 <div id="myDiv3"></div> | 34 <div id="myDiv3"></div> |
| 35 </body> | 35 </body> |
| 36 </html> | 36 </html> |
| OLD | NEW |