BrowserWindow.show() should not focus window, fixes #609.
This commit is contained in:
parent
add4e3c6f5
commit
1199224086
2 changed files with 6 additions and 1 deletions
|
@ -56,6 +56,11 @@ describe 'browser-window module', ->
|
|||
done()
|
||||
w.loadUrl 'about:blank'
|
||||
|
||||
describe 'BrowserWindow.show()', ->
|
||||
it 'should not focus window', ->
|
||||
w.show()
|
||||
assert !w.isFocused()
|
||||
|
||||
describe 'BrowserWindow.focus()', ->
|
||||
it 'does not make the window become visible', ->
|
||||
assert.equal w.isVisible(), false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue