You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/08/03 23:08:15 UTC

[GitHub] [cordova-plugin-inappbrowser] allroundexperts opened a new issue #516: ExecuteScript callback does not return promise results.

allroundexperts opened a new issue #516: ExecuteScript callback does not return promise results.
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/516
 
 
   If I execute a script that returns a promise in the executeScript function, I always get a blank object "{}" as a response. Ideally, I should be getting the resolved value of the promise.
   
   eg: executeScript({
               code: 'new Promise((resolve) => resolve(window.location.href))',
             })
   
   returns {}
   
   Any help will be greatly appreciated.
   
   Thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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