mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
Don't print error when window.open failed
This commit is contained in:
@@ -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().
|
||||
|
||||
Reference in New Issue
Block a user