Don't print error when window.open failed

This commit is contained in:
Cheng Zhao 2015-09-22 19:59:32 +08:00
parent 619a397ec9
commit 7c65d05b02

View file

@ -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().