cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [cordova-ios] branch master updated: CB-13212 - Update cordova-ios with new cordova-common that parses new attribute for access tag
Date Wed, 06 Sep 2017 02:02:47 GMT
This is an automated email from the ASF dual-hosted git repository.

shazron pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new 53c8daa  CB-13212 - Update cordova-ios with new cordova-common that parses new attribute
for access tag
53c8daa is described below

commit 53c8daae191a3587c13ddd770cc8cfcf3da82874
Author: Shazron Abdullah <shazron@gmail.com>
AuthorDate: Wed Sep 6 10:02:37 2017 +0800

    CB-13212 - Update cordova-ios with new cordova-common that parses new attribute for access
tag
---
 tests/spec/unit/prepare.spec.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/spec/unit/prepare.spec.js b/tests/spec/unit/prepare.spec.js
index a94ef52..8c12305 100644
--- a/tests/spec/unit/prepare.spec.js
+++ b/tests/spec/unit/prepare.spec.js
@@ -747,11 +747,11 @@ describe('prepare', function () {
             });
         });
 
-        xit('<access> - should handle wildcard, with NSAllowsArbitraryLoadsForMedia
set (fixed allows-arbitrary-loads-for-media)', function (done) {
+        it('<access> - should handle wildcard, with NSAllowsArbitraryLoadsForMedia
set (fixed allows-arbitrary-loads-for-media)', function (done) {
 
             var readFile = spyOn(fs, 'readFileSync');
             var configXml = '<?xml version="1.0" encoding="UTF-8"?><widget id="io.cordova.hellocordova"
ios-CFBundleIdentifier="io.cordova.hellocordova.ios" version="0.0.1" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"><name>SampleApp</name>' +
-            '<access origin="*" allows-arbitrary-loads-for-media="false" />' +
+            '<access origin="*" allows-arbitrary-loads-for-media="true" />' +
             '</widget>';
             readFile.and.returnValue(configXml);
 
@@ -766,7 +766,7 @@ describe('prepare', function () {
             });
         });
 
-        xit('<access> - should handle wildcard, with NSAllowsArbitraryLoadsForMedia
not set (fixed allows-arbitrary-loads-for-media)', function (done) {
+        it('<access> - should handle wildcard, with NSAllowsArbitraryLoadsForMedia
not set (fixed allows-arbitrary-loads-for-media)', function (done) {
 
             var readFile = spyOn(fs, 'readFileSync');
             var configXml = '<?xml version="1.0" encoding="UTF-8"?><widget id="io.cordova.hellocordova"
ios-CFBundleIdentifier="io.cordova.hellocordova.ios" version="0.0.1" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"><name>SampleApp</name>' +

-- 
To stop receiving notification emails like this one, please contact
['"commits@cordova.apache.org" <commits@cordova.apache.org>'].

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message