[
https://issues.apache.org/jira/browse/CB-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185314#comment-14185314
]
ASF subversion and git services commented on CB-7876:
-----------------------------------------------------
Commit 7a816d845427a8c069684c96a1697b7232c3391b in
cordova-plugin-inappbrowser's branch refs/heads/master from [~cmarcelk]
[
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=7a816d8
]
CB-7876 change test target to avoid undesired redirects
The google.com test target would do automatic redirects to geography-specific
domains depending on where the client is, which leads to different behavior
depending where the tester is. This causes confusion, as the test results
may be different in different geographies. Use a test target that doesn't do
that, so the test results are independent of geography.
> 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
>
> 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]