aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-10-21 19:03:48 +0200
committerGitHub <noreply@github.com>2019-10-21 19:03:48 +0200
commitf09d92100ffff6208211b200ed0cdc39bfd17fc3 (patch)
treef04e3fdd77d99727b91ed4dfe4809abc0aa5dbb0 /test/unit/ajax.js
parent6eee5f7f181f9ebf5aa428e96356667e3cf7ddbd (diff)
downloadjquery-f09d92100ffff6208211b200ed0cdc39bfd17fc3.tar.gz
jquery-f09d92100ffff6208211b200ed0cdc39bfd17fc3.zip
Docs: Update most URLs to HTTPS
Closes gh-4511
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r--test/unit/ajax.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index fbe1802b0..23fb0b473 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -503,7 +503,7 @@ QUnit.module( "ajax", {
}
),
request(
- " http://otherdomain.com",
+ " https://otherdomain.com",
"Cross-domain url with leading space is detected as cross-domain"
)
];
@@ -1507,7 +1507,7 @@ QUnit.module( "ajax", {
return {
// see RFC 2606
- url: "http://example.invalid",
+ url: "https://example.invalid",
error: function( xhr, _, e ) {
assert.ok( true, "file not found: " + xhr.status + " => " + e );
}
@@ -1516,7 +1516,7 @@ QUnit.module( "ajax", {
ajaxTest( "jQuery.ajax() - failing cross-domain", 1, function( assert ) {
return {
- url: "http://" + externalHost,
+ url: "https://" + externalHost,
error: function( xhr, _, e ) {
assert.ok( true, "access denied: " + xhr.status + " => " + e );
}
@@ -2113,7 +2113,7 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
assert.strictEqual( status, "error", "proper status" );
}
}, {
- url: "http://" + externalHost + ":80q",
+ url: "https://" + externalHost + ":80q",
done: function( data ) {
assert.ok( false, "done: " + data );
},