You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Fadi Eliya (JIRA)" <ji...@apache.org> on 2015/02/13 20:03:13 UTC

[jira] [Resolved] (CB-8479) InAppBrowser executeScript callback does not fire on certain urls

     [ https://issues.apache.org/jira/browse/CB-8479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fadi Eliya resolved CB-8479.
----------------------------
       Resolution: Fixed
    Fix Version/s: 3.6.3
                   4.0.0

> InAppBrowser executeScript callback does not fire on certain urls
> -----------------------------------------------------------------
>
>                 Key: CB-8479
>                 URL: https://issues.apache.org/jira/browse/CB-8479
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.5.0, 4.0.0, 3.6.3
>         Environment: iOS, Android tested
>            Reporter: Fadi Eliya
>             Fix For: 4.0.0, 3.6.3
>
>
> After running executeScript on certain pages, the provided callback never fires.
> I created a new project using cordova 4.0.0, and installed the InAppBrowser plugin via github url, version '0.6.1-dev'
> Then ran the following javascript:
> {code:javascript}
> var ref = window.open('http://m.ralphlauren.com/product/index.jsp?productId=54946406', '_blank');
> ref.executeScript({code: '1+1'}, function(resp){console.log(resp)})
> {code}
> The code does execute in the browser window.  However the result is not returned via the callback.
> I tested this on iOS and Android, cordova 3.6.3 and InAppBrowser 0.5.4 as well.  This code executes normally on most pages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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