Don't print error when window.open failed
This commit is contained in:
parent
619a397ec9
commit
7c65d05b02
1 changed files with 0 additions and 1 deletions
|
@ -70,7 +70,6 @@ window.open = (url, frameName='', features='') ->
|
|||
if guestId
|
||||
new BrowserWindowProxy(guestId)
|
||||
else
|
||||
console.error 'It is not allowed to open new window from this WebContents'
|
||||
null
|
||||
|
||||
# Use the dialog API to implement alert().
|
||||
|
|
Loading…
Reference in a new issue