Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 function withIframe(url, f) { | |
|
falken
2014/05/06 00:50:46
Can you add a FIXME that we should clean up the if
kinuko
2014/05/06 05:19:46
Done. (And moved this function into test-helpers.j
| |
| 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 |