This commit is contained in:
Kevin Sawicki 2016-11-07 08:28:02 -08:00
parent 3c18de9c5a
commit 73774f21b7
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}
}

View file

@ -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)
})