🎨
This commit is contained in:
parent
3c18de9c5a
commit
73774f21b7
2 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ const createGuest = function (embedder, params) {
|
|||
|
||||
const sendToEmbedder = (channel, ...args) => {
|
||||
const embedder = getEmbedder(guestInstanceId)
|
||||
if (embedder) {
|
||||
if (embedder != null) {
|
||||
embedder.send(`${channel}-${guest.viewInstanceId}`, ...args)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1285,7 +1285,7 @@ describe('<webview> tag', function () {
|
|||
done()
|
||||
})
|
||||
|
||||
webview.src = 'file://' + fixtures + '/pages/a.html'
|
||||
webview.src = `file://${fixtures}/pages/a.html`
|
||||
div.appendChild(webview)
|
||||
document.body.appendChild(div)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue