cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-7876) whitelist tests in IAB don't work properly probably outside of U.S.
Date Mon, 27 Oct 2014 16:25:36 GMT


ASF subversion and git services commented on CB-7876:

Commit 7a816d845427a8c069684c96a1697b7232c3391b in cordova-plugin-inappbrowser's branch refs/heads/master
from [~cmarcelk]
[;h=7a816d8 ]

CB-7876 change test target to avoid undesired redirects

The 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:
>             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 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 which are actually not hitting the whitelisted URL 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="*" />
>     <access origin="*" />
> {code}
> Note that at least United Kingdom and Japan have domain formats looking like *
or * 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message