test: asyncawaitify one of sandbox related tests (#15252)

This commit is contained in:
Alexey Kuzmin 2018-10-19 05:28:23 +02:00 committed by Samuel Attard
parent 363712d057
commit b3f134de06
3 changed files with 34 additions and 31 deletions

View file

@ -23,7 +23,7 @@
}
} else if (location.href !== 'about:blank') {
addEventListener('DOMContentLoaded', () => {
ipcRenderer.send('child-loaded', window.opener == null, document.body.innerHTML)
ipcRenderer.send('child-loaded', window.opener == null, document.body.innerHTML, location.href)
}, false)
}
})()