cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7380) mobilespec's whitelist test for file:///etc/foo is failing
Date Tue, 26 Aug 2014 15:53:58 GMT

    [ https://issues.apache.org/jira/browse/CB-7380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110860#comment-14110860
] 

ASF subversion and git services commented on CB-7380:
-----------------------------------------------------

Commit 25ce0e4a8b4df629204a83ed958e19dcc92e5c26 in cordova-mobile-spec's branch refs/heads/master
from [~cmarcelk]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=25ce0e4 ]

CB-7380 update tests for file URL

It was previously checking that a file URL would fail, but file URLs should
always be accepted otherwise local loading into the webview won't work. So
the file URL test was broken into 2 separate tests. The first was changed to
expect success on an empty whitelist against a file URL, and the pattern match
part of the original file URL test was put in a second (new) test to use
an HTTP URL.


> mobilespec's whitelist test for file:///etc/foo is failing
> ----------------------------------------------------------
>
>                 Key: CB-7380
>                 URL: https://issues.apache.org/jira/browse/CB-7380
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec
>            Reporter: Marcel Kinard
>            Assignee: Marcel Kinard
>            Priority: Minor
>
> Error when running on Android: Whitelist API (cordova.whitelist) Match function should
reject file:///etc/foo for ["file:///foo*"]
> I believe this is failing because "file:///* is an implicitly-added pattern that was
recently added.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message