Skip to content

Commit

Permalink
CB-8843 Fixed mobilespec tests to pass on Android
Browse files Browse the repository at this point in the history
github close apache#130
  • Loading branch information
alsorokin authored and sgrebnov committed May 27, 2015
1 parent dac4980 commit 84b1104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cordova-plugin-mobilespec-tests/tests/whitelist.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ exports.defineAutoTests = function () {
itShouldReject('http://www.apache.org.evil.com/');
itShouldAccept('file:///foo');
if (cordova.platformId == 'android')
itShouldAccept('content:///foo');
itShouldReject('content:///foo');
});
});
}
2 changes: 1 addition & 1 deletion www/csp-incl.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if (!window._disableCSP) {
cspMetaContent = 'default-src \'self\' https://ssl.gstatic.com/accessibility/javascript/android/;' +
' connect-src \'self\' http://cordova-filetransfer.jitsu.com;' +
' media-src \'self\' http://cordova.apache.org/downloads/;' +
' frame-src \'self\' data: gap:;' +
' frame-src \'self\' http://stealbridgesecret.test/ data: gap:;' +
' img-src \'self\' data:;' +
' style-src \'self\' \'unsafe-inline\'';
break;
Expand Down

0 comments on commit 84b1104

Please sign in to comment.