Skip to content
Permalink
Browse files
CB-8843 Fixed mobilespec tests to pass on Android
github close #130
  • Loading branch information
alsorokin authored and sgrebnov committed May 27, 2015
1 parent dac4980 commit 84b1104f28e9f9e19c9b2dc8f95f47528f7a401f
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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');
});
});
}
@@ -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;

0 comments on commit 84b1104

Please sign in to comment.