[ 
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 navigator.app.loadUrl('http://domain.com', { "clearHistory": true}) to 
open the remote url inside the crosswalk webview, 

There will be an error reported at CordovaWebViewImpl.showWebPage(...) method, 
which is requiring the engine.clearHistory() 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to