Expect event source and opened window to be equal
This commit is contained in:
parent
dd01466f3c
commit
7dfca3c293
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue