Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype HTML> | |
| 2 <style> | |
| 3 #plugin { | |
| 4 width: 150px; | |
| 5 height: 150px; | |
| 6 border: 1px solid black; | |
| 7 } | |
| 8 </style> | |
| 9 <embed id="plugin" type="application/x-plugin-placeholder-test"></embed> | |
| 10 <script> | |
| 11 onload = function() { | |
| 12 window.testRunner.waitUntilDone(); | |
| 13 // Need to paint two frames in order to allow the plugin to propery load. | |
| 14 // TODO(chrishtr): find out why and fix. | |
| 15 window.testRunner.layoutAndPaintAsyncThen(function() { | |
| 16 window.testRunner.layoutAndPaintAsyncThen(function() { | |
| 17 window.testRunner.notifyDone(); | |
| 18 }); | |
| 19 }); | |
| 20 } | |
| 21 </script> | |
| OLD | NEW |