cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fadi Eliya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-8479) InAppBrowser executeScript callback does not fire on certain urls
Date Fri, 13 Feb 2015 16:25:12 GMT

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

Fadi Eliya updated CB-8479:
---------------------------
    Description: 
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}

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.

  was:
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}

I tested this on cordova 3.6.3 and InAppBrowser 0.5.4 as well.  This code executes normally
on most pages.


> 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
>
> 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}
> 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


Mime
View raw message