Add allowpopups attribute for webview

This commit is contained in:
Cheng Zhao 2015-09-22 20:11:05 +08:00
parent 7c65d05b02
commit f07fea1936
4 changed files with 5 additions and 1 deletions

View file

@ -84,6 +84,8 @@ createGuest = (embedder, params) ->
if params.allowtransparency?
@setAllowTransparency params.allowtransparency
guest.allowPopups = params.allowpopups
# Dispatch events to embedder.
for event in supportedWebViewEvents
do (event) ->