Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 | |
| 3 <script> | |
| 4 function modify_attr() { | |
| 5 var ifr = document.getElementById('ifr'); | |
| 6 ifr.scrolling = 'no'; | |
| 7 ifr.marginWidth = '50'; | |
| 8 ifr.marginHeight = '100'; | |
| 9 testRunner.notifyDone(); | |
| 10 } | |
| 11 </script> | |
| 12 | |
| 13 <iframe id="ifr" onload="modify_attr();" scrolling="yes" | |
|
bokan
2016/11/18 20:56:18
I believe this will fire when the iframe is loaded
| |
| 14 style="width:200px;height:200px;" | |
| 15 src="http://127.0.0.1:8000/fast/frames/resources/big-page.html"> | |
| 16 </iframe> | |
| 17 | |
| 18 <script src="/resources/testharness.js"></script> | |
| 19 <script src="/resources/testharnessreport.js"></script> | |
|
bokan
2016/11/18 20:56:18
I don't think this test makes any use of testharne
| |
| 20 <script> | |
| 21 testRunner.waitUntilDone(); | |
| 22 </script> | |
| OLD | NEW |