]> 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 15:19:37 +0000 (17:19 +0200)
(cherry picked from commit d225639a8ea62863482bd20249077688f60235db)

test/data/testinit.js

index b27ac4caabd6cf67b9d63159276d268f18d7701a..9aef2eda201b884865b5ef32e6298460cb85115e 100644 (file)
@@ -387,7 +387,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();
                                        } );