[
https://issues.apache.org/jira/browse/CB-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Kinard resolved CB-7876.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.7.0
Tested on Android.
> whitelist tests in IAB don't work properly probably outside of U.S.
> -------------------------------------------------------------------
>
> Key: CB-7876
> URL: https://issues.apache.org/jira/browse/CB-7876
> Project: Apache Cordova
> Issue Type: Bug
> Components: mobile-spec, Plugin InAppBrowser
> Affects Versions: 3.6.3
> Environment: iOS 8
> Reporter: Shingo Toda
> Assignee: Marcel Kinard
> Priority: Minor
> Fix For: 3.7.0
>
>
> In InAppBrowser test, there are tests to load http://www.google.com which is
> listed in whitelist. I saw this page wasn't loaded on CordovaWebView with
> popup message saying that "Unexpected: got multiple loadstart events"..
> I think the reason is I'm working in Australia and google usually redirects
> the request to sender's country which could invoke multiple loadstart events.
> Adding that, Google Australia has domain google.co.au which are actually not
> hitting the whitelisted URL google.com and the test eventually fails to open
> the redirected URL.
> I don't mind the multiple loadstart error so much but I wish the whitelisted
> URL should be considered to be used by developers over the world.
> {code:title=config.xml}
> <access origin="http://www.google.co*" />
> <access origin="https://www.google.co*" />
> {code}
> Note that at least United Kingdom and Japan have domain formats looking like
> *.co.uk or *.co.jp.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]