cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pu Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread
Date Fri, 03 Feb 2017 10:08:51 GMT

     [ 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message