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] [Commented] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread
Date Fri, 17 Feb 2017 16:10:42 GMT

    [ https://issues.apache.org/jira/browse/CB-12421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872035#comment-15872035
] 

Pu Wang commented on CB-12421:
------------------------------

ohh, that shocks me!
Thanks for let me know that!

> 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