You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2023/09/04 23:18:11 UTC

[cordova-plugin-file-transfer] branch use-https created (now 789830d)

This is an automated email from the ASF dual-hosted git repository.

jcesarmobile pushed a change to branch use-https
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file-transfer.git


      at 789830d  fix(tests): Use https on file urls

This branch includes the following new commits:

     new 789830d  fix(tests): Use https on file urls

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[cordova-plugin-file-transfer] 01/01: fix(tests): Use https on file urls

Posted by jc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jcesarmobile pushed a commit to branch use-https
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file-transfer.git

commit 789830da900cda5145fefb79b671598b14768310
Author: jcesarmobile <jc...@gmail.com>
AuthorDate: Tue Sep 5 01:18:02 2023 +0200

    fix(tests): Use https on file urls
---
 tests/tests.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/tests.js b/tests/tests.js
index d5c6b9b..9fc6a23 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -554,7 +554,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.11 should call the error callback on abort()',
                     function (done) {
-                        let fileURL = 'http://cordova.apache.org/static/downloads/BlueZedEx.mp3';
+                        let fileURL = 'https://cordova.apache.org/static/downloads/BlueZedEx.mp3';
                         fileURL = fileURL + '?q=' + new Date().getTime();
                         const specContext = this;
 
@@ -574,7 +574,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.9 should not leave partial file due to abort',
                     function (done) {
-                        const fileURL = 'http://cordova.apache.org/static/downloads/logos.zip';
+                        const fileURL = 'https://cordova.apache.org/static/downloads/logos.zip';
                         const specContext = this;
 
                         const fileSystemWin = function () {
@@ -622,7 +622,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.10 should be stopped by abort()',
                     function (done) {
-                        let fileURL = 'http://cordova.apache.org/static/downloads/BlueZedEx.mp3';
+                        let fileURL = 'https://cordova.apache.org/static/downloads/BlueZedEx.mp3';
                         fileURL = fileURL + '?q=' + new Date().getTime();
                         const specContext = this;
 
@@ -760,7 +760,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.17 progress should work with gzip encoding',
                     function (done) {
-                        const fileURL = 'http://www.apache.org/';
+                        const fileURL = 'https://www.apache.org/';
                         const specContext = this;
 
                         const downloadWin = function (entry) {
@@ -1766,7 +1766,7 @@ exports.defineAutoTests = function () {
 exports.defineManualTests = function (contentEl, createActionButton) {
     'use strict';
 
-    const imageURL = 'http://apache.org/images/feather-small.gif';
+    const imageURL = 'https://apache.org/images/feather-small.gif';
     const videoURL = 'http://techslides.com/demos/sample-videos/small.mp4';
 
     function clearResults () {


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