[
https://issues.apache.org/jira/browse/CB-8298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14274633#comment-14274633
]
ASF subversion and git services commented on CB-8298:
-----------------------------------------------------
Commit f6ec6b13c5c8c2de231740f20c73e16026188414 in cordova-js's branch
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=f6ec6b1 ]
CB-8298 android: Execute exec callbacks within their own stack frames
This allow us to remove a try/catch that was messing with remote
inspector being able to effectively log exceptions in user callbacks
> android: Execute exec() callbacks in their own callstacks
> ---------------------------------------------------------
>
> Key: CB-8298
> URL: https://issues.apache.org/jira/browse/CB-8298
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CordovaJS
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> There is a long-standing TODO in the code already to address this:
> https://github.com/apache/cordova-js/blob/24ab6855470f2dc0662624b597c98585e56a1666/src/android/exec.js#L258
> Now that Promises are a part of Android for KitKat and above, it makes sense
> to use them when available to execute callbacks on their own stacks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]