cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Woghiren (JIRA)" <>
Subject [jira] [Commented] (CB-2235) FileTransfer spec test failing on iOS5
Date Tue, 22 Jan 2013 16:34:12 GMT


Max Woghiren commented on CB-2235:

It looks like the tests are *correctly* failing on iOS5 and falsely passing on iOS6.

Your tests will pass in iOS5 if you wildcard the apache subdomains (ie. *  The
failing tests are trying to access and, neither of which
passes the whitelist regex check without a leading wildcard.

The tests pass on iOS6 because the whitelist appears to be completely ignored.  Removing the
other access tags has no effect; the tests still all pass, and breakpoints in the whitelist
methods are not hit when running the iOS6 emulator.  The whitelist is broken on iOS6.

Digging deeper, it looks like the reason has to do with the user agent not being set on the
download request.  Does this mean anything to you?
> FileTransfer spec test failing on iOS5
> --------------------------------------
>                 Key: CB-2235
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Max Woghiren
>             Fix For: 2.4.0
> I'm seeing all tests passing on iOS 6 simulator, but 4 tests failing on iOS5 simulator.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message