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-7380) mobilespec's whitelist test for file:///etc/foo is failing
Date Tue, 26 Aug 2014 15:53:58 GMT


ASF subversion and git services commented on CB-7380:

Commit 25ce0e4a8b4df629204a83ed958e19dcc92e5c26 in cordova-mobile-spec's branch refs/heads/master
from [~cmarcelk]
[;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

> mobilespec's whitelist test for file:///etc/foo is failing
> ----------------------------------------------------------
>                 Key: CB-7380
>                 URL:
>             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

View raw message