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

Angela Fowler commented on CB-7852:
-----------------------------------

filetransfer.spec.30 looks similar

org.apache.cordova.file-transfer.tests.tests >> FileTransfer native URL 
interface filetransfer.spec.30 downloaded file entries should have a 
toNativeURL method

Expected 'ms-appd' to be 'file://'.
Error: Expected 'ms-appd' to be 'file://'.
   at stack 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1292:11)
   at buildExpectationResult 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1264:5)
   at expectationResultFactory 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:483:11)
   at Spec.prototype.addExpectationResult 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:259:5)
   at addExpectationResult 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:441:9)
   at Anonymous function 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1208:7)
   at downloadWin 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer.tests/tests.js:852:21)
   at win 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer/www/FileTransfer.js:192:13)
   at cordova.callbackFromNative 
(ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cordova.js:292:37)


> Windows 8 filetransfer.spec.7 should be able to download file
> -------------------------------------------------------------
>
>                 Key: CB-7852
>                 URL: https://issues.apache.org/jira/browse/CB-7852
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec, Plugin File Transfer, Windows 8
>    Affects Versions: 3.6.3
>         Environment: Windows 8
>    "org.apache.cordova.file-transfer.tests": "0.4.7",
>            Reporter: Angela Fowler
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> The window.location.protocol is "ms:appx:" rather than "file:"
> org.apache.cordova.file-transfer.tests.tests >> FileTransfer download method 
> filetransfer.spec.7 should be able to download a file using file:// (when 
> hosted from file://)
> Expected 'ms-appx:///www/cdvtests/index.html' to match /^file:/.
> Error: Expected 'ms-appx:///www/cdvtests/index.html' to match /^file:/.
>    at stack 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1292:11)
>    at buildExpectationResult 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1264:5)
>    at expectationResultFactory 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:483:11)
>    at Spec.prototype.addExpectationResult 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:259:5)
>    at addExpectationResult 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:441:9)
>    at Anonymous function 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1208:7)
>    at Anonymous function 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer.tests/tests.js:248:21)
>    at Anonymous function 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:289:9)
>    at attemptAsync 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1519:9)
>    at QueueRunner.prototype.run (ms-appx



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to