aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/selector.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/selector.js
parent6eee5f7f181f9ebf5aa428e96356667e3cf7ddbd (diff)
downloadjquery-f09d92100ffff6208211b200ed0cdc39bfd17fc3.tar.gz
jquery-f09d92100ffff6208211b200ed0cdc39bfd17fc3.zip
Docs: Update most URLs to HTTPS
Closes gh-4511
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r--test/unit/selector.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js
index f6e977094..461339335 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -537,7 +537,7 @@ QUnit.test( "attributes - equals", function( assert ) {
assert.t( "Identifier with underscore", "input[id=types_all]", [ "types_all" ] );
assert.t( "String", "#qunit-fixture a[rel='bookmark']", [ "simon1" ] );
assert.t( "String (whitespace ignored)", "#qunit-fixture a[ rel = 'bookmark' ]", [ "simon1" ] );
- assert.t( "Non-identifier string", "#qunit-fixture a[href='http://www.google.com/']", [ "google" ] );
+ assert.t( "Non-identifier string", "#qunit-fixture a[href='https://www.google.com/']", [ "google" ] );
assert.t( "Empty string", "#select1 option[value='']", [ "option1a" ] );
if ( QUnit.jQuerySelectors ) {
@@ -592,7 +592,7 @@ QUnit[ QUnit.jQuerySelectors ? "test" : "skip" ]( "attributes - does not equal",
QUnit.test( "attributes - starts with", function( assert ) {
assert.expect( 4 );
- assert.t( "string (whitespace ignored)", "a[href ^= 'http://www']", [ "google", "yahoo" ] );
+ assert.t( "string (whitespace ignored)", "a[href ^= 'https://www']", [ "google", "yahoo" ] );
assert.t( "href starts with hash", "p a[href^='#']", [ "anchor2" ] );
assert.t( "string containing '['", "input[name^='foo[']", [ "hidden2" ] );
assert.t( "string containing '[' ... ']'", "input[name^='foo[bar]']", [ "hidden2" ] );
@@ -1014,7 +1014,7 @@ QUnit.test( "pseudo - misc", function( assert ) {
tmp.id = "tmp_input";
tmp.innerHTML = "<span>Hello I am focusable.</span>";
// Setting tabIndex should make the element focusable
- // http://dev.w3.org/html5/spec/single-page.html#focus-management
+ // https://html.spec.whatwg.org/#the-tabindex-attribute
document.body.appendChild( tmp );
tmp.tabIndex = 0;
tmp.focus();