javascript - Alert dialog from <webview> was blocked -


dart doesn't show alert dialog when use webview , show error:

: alert dialog blocked. (extensions::webviewevents:225)

: confirm dialog blocked. (extensions::webviewevents:225)

does know how bypass problem or how catch error?

thanks.

sorry bad english.

edit

the code used:

element webview= queryselector("#webview"); map<string,string> map=new map(); map["src"]=urlwebview; webview.attributes.addall(map); webview.style.visibility="visible"; 

darteditor version= stable build 45396

the version number of sdk= 1.10.0

the webview loads page works on js not created me.

the error occurs when using this:

alert("***") 

a webview cannot show default.

you need catch dialog event, show own ui (remember, apps can't use alert , friends, <dialog> option) , pass response dialogcontroller


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -