Expect event source and opened window to be equal

This commit is contained in:
Kevin Sawicki 2015-12-10 17:04:36 -08:00
parent dd01466f3c
commit 7dfca3c293

View file

@ -120,7 +120,7 @@ describe 'chromium feature', ->
listener = (event) ->
window.removeEventListener 'message', listener
b.close()
assert.equal event.source.guestId, b.guestId
assert.equal event.source, b
assert.equal event.origin, 'file://'
done()
window.addEventListener 'message', listener