]> source.dussan.org Git - jquery.git/commitdiff
Tests: Load the TestSwarm listener via HTTPS
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 29 Sep 2021 13:28:52 +0000 (15:28 +0200)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 29 Sep 2021 13:28:52 +0000 (15:28 +0200)
test/data/testinit.js

index c9b9c45a061a9d82c4268bd55ea50e3e67c62c9d..37f5b556a7ab07cf307a08bbe2e502c995ca197f 100644 (file)
@@ -386,7 +386,7 @@ this.loadTests = function() {
 
                                // Load the TestSwarm listener if swarmURL is in the address.
                                if ( QUnit.isSwarm ) {
-                                       require( [ "http://swarm.jquery.org/js/inject.js?" + ( new Date() ).getTime() ],
+                                       require( [ "https://swarm.jquery.org/js/inject.js?" + ( new Date() ).getTime() ],
                                        function() {
                                                QUnit.start();
                                        } );