| 1250 | let iframe = getIframe(), inited = false, failedTimes = 0; |
| 1251 | let loadtimeout; |
| 1252 | let loadIframe = src => { |
| 1253 | iframe.src = src; |
| 1254 | clearTimeout(loadtimeout); |
| 1255 | loadtimeout = setTimeout(() => { |
| 1256 | iframe.src = src; |
| 1257 | }, 20000); |
| 1258 | }; |
| 1259 | iframe.sandbox = iframeSandbox || "allow-same-origin allow-scripts allow-popups allow-forms"; |
| 1260 | iframe.addEventListener('load', e => { |
| 1261 | if (e.data != 'pagetual-iframe:DOMLoaded' && e.type != 'load') return; |
no outgoing calls
no test coverage detected