This commit is contained in:
Kevin Sawicki 2016-08-29 10:27:34 -07:00
parent 558ee08be9
commit 625bfe53f7
2 changed files with 2 additions and 2 deletions

View file

@ -1256,7 +1256,7 @@ describe('browser-window module', function () {
}) })
it('works with result objects that have DOM class prototypes', function (done) { it('works with result objects that have DOM class prototypes', function (done) {
w.webContents.executeJavaScript('document.location', function (result) { w.webContents.executeJavaScript('document.location', function (result) {
assert.equal(result.origin, server.url) assert.equal(result.origin, server.url)
assert.equal(result.protocol, 'http:') assert.equal(result.protocol, 'http:')
done() done()

View file

@ -323,7 +323,7 @@ describe('ipc module', function () {
assert.equal(value.protocol, 'file:') assert.equal(value.protocol, 'file:')
assert.equal(value.hostname, '') assert.equal(value.hostname, '')
done() done()
}) })
ipcRenderer.send('message', document.location) ipcRenderer.send('message', document.location)
}) })