Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <html> | |
| 2 <iframe id="slow_frame" src="slow?100"></iframe> | |
| 3 | |
| 4 <script> | |
| 5 // slow takes 100 seconds to load, plenty of time to overwrite the | |
| 6 // provisional load. | |
| 7 let iframe = document.getElementById("slow_frame"); | |
| 8 let doc = iframe.contentDocument; | |
| 9 | |
| 10 doc.open(); | |
| 11 doc.write('<html>Rewritten. <img src=pixel.png><img src=pixel2.png><img src=pi xel3.png></html>'); | |
|
Charlie Harrison
2017/05/04 20:21:14
Can you confirm that the images are successfully l
jkarlin
2017/05/05 19:56:28
Sure. Done.
| |
| 12 doc.close(); | |
| 13 </script> | |
| 14 | |
| 15 </html> | |
| OLD | NEW |