Adding missing callback onJsConfirm to dismiss any confirmation dialogs
This commit is contained in:
@@ -214,6 +214,12 @@ public class ReliabilityTestActivity extends Activity {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onJsConfirm(WebView view, String url, String message, JsResult result) {
|
||||
result.confirm();
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onJsPrompt(WebView view, String url, String message, String defaultValue,
|
||||
JsPromptResult result) {
|
||||
|
||||
Reference in New Issue
Block a user