Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 function withIframe(url, f) { | |
|
jsbell
2014/05/02 19:42:08
Add to test-helpers.js instead?
kinuko
2014/05/05 14:20:27
Done. (Merged your change)
kinuko
2014/05/06 05:19:46
Done, really this time.
| |
| 2 var frame = document.createElement('iframe'); | |
| 3 frame.src = url; | |
| 4 frame.onload = function() { | |
| 5 f(frame); | |
| 6 }; | |
| 7 document.body.appendChild(frame); | |
| 8 } | |
| OLD | NEW |