(iframe)
| 206 | } |
| 207 | |
| 208 | function waitForMutationObserver(iframe) { |
| 209 | if ( |
| 210 | iframe.contentWindow && |
| 211 | iframe.contentWindow.document && |
| 212 | iframe.contentWindow.document.body.childNodes.length |
| 213 | ) { |
| 214 | return timer.promise(10); |
| 215 | } |
| 216 | return loadPromise(iframe).then(() => { |
| 217 | return timer.promise(10); |
| 218 | }); |
| 219 | } |
| 220 | |
| 221 | function makeChildIframeSrcdoc(win) { |
| 222 | const doc = win.document; |
no test coverage detected