[ https://issues.apache.org/jira/browse/CB-12421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pu Wang updated CB-12421: ------------------------- Description: Calling {color:red}navigator.app.loadUrl('http://domain.com', { "clearHistory": true}){color} to open the remote url inside the crosswalk webview, there will be an error reported at {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is requiring the {color:red}engine.clearHistory(){color} method to be run in the cordova UI thread. was: Calling {color:red}navigator.app.loadUrl('http://domain.com', { "clearHistory": true}){color} to open the remote url inside the crosswalk webview, There will be an error reported at {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is requiring the {color:red}engine.clearHistory(){color} method to be run in the cordova UI thread. > The CoreAndroid's loadUrl method should load web pages in the UI thread > ----------------------------------------------------------------------- > > Key: CB-12421 > URL: https://issues.apache.org/jira/browse/CB-12421 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: Master > Environment: Using android cordova with the crosswalk webview engine: > https://www.npmjs.com/package/cordova-plugin-crosswalk-webview/ > Reporter: Pu Wang > Priority: Minor > > Calling {color:red}navigator.app.loadUrl('http://domain.com', { > "clearHistory": true}){color} to open the remote url inside the crosswalk > webview, > there will be an error reported at > {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is > requiring the {color:red}engine.clearHistory(){color} method to be run in the > cordova UI thread. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org