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 17:21:11 UTC

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

Fadi Eliya created CB-8479:
------------------------------

             Summary: 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', 'location=yes');
  ref.executeScript({code: 'window.location'}, 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.



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