You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Pu Wang (JIRA)" <ji...@apache.org> on 2017/02/03 10:05:51 UTC

[jira] [Created] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread

Pu Wang created CB-12421:
----------------------------

             Summary: 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 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org