(child_origin)
| 14 | // Create a normal iframe. The new document will execute any scripts sent |
| 15 | // toward the token it returns. |
| 16 | const newIframe = (child_origin) => { |
| 17 | const sub_document_token = token(); |
| 18 | let iframe = document.createElement('iframe'); |
| 19 | iframe.src = child_origin + executor_path + `&uuid=${sub_document_token}`; |
| 20 | iframe.credentialless = false |
| 21 | document.body.appendChild(iframe); |
| 22 | return sub_document_token; |
| 23 | }; |
| 24 | |
| 25 | // Create a popup. The new document will execute any scripts sent toward the |
| 26 | // token it returns. |
no test coverage detected