Commit f09d921
247+ $map = jQuery( "<map/>" ).append( valueObj( "<area id='map01' shape='rect' coords='50,50,150,150' href='https://www.jquery.com/' alt='jQuery'>" ) );248248
249249 assert.equal( $map[ 0 ].childNodes.length, 1, "The area was inserted." );250250 assert.equal( $map[ 0 ].firstChild.nodeName.toLowerCase(), "area", "The area was inserted." );@@ -1474,7 +1474,7 @@ QUnit.test( "clone()", function( assert ) {14741474 div.remove();14751475
14761476 // Test both html() and clone() for <embed> and <object> types1477- div = jQuery( "<div/>" ).html( "<embed height='355' width='425' src='http://www.youtube.com/v/3KANI2dpXLw&hl=en'></embed>" );1477+ div = jQuery( "<div/>" ).html( "<embed height='355' width='425' src='https://www.youtube.com/v/3KANI2dpXLw&hl=en'></embed>" );14781478
14791479 clone = div.clone( true );14801480 assert.equal( clone.length, 1, "One element cloned" );@@ -1484,7 +1484,7 @@ QUnit.test( "clone()", function( assert ) {14841484 // this is technically an invalid object, but because of the special14851485 // classid instantiation it is the only kind that IE has trouble with,14861486 // so let's test with it too.1487- div = jQuery( "<div/>" ).html( "<object height='355' width='425' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'> <param name='movie' value='http://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );1487+ div = jQuery( "<div/>" ).html( "<object height='355' width='425' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'> <param name='movie' value='https://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );14881488
14891489 clone = div.clone( true );14901490 assert.equal( clone.length, 1, "One element cloned" );@@ -1511,7 +1511,7 @@ QUnit.test( "clone()", function( assert ) {15111511 } )();15121512
15131513 // and here's a valid one.1514- div = jQuery( "<div/>" ).html( "<object height='355' width='425' type='application/x-shockwave-flash' data='http://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='movie' value='http://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );1514+ div = jQuery( "<div/>" ).html( "<object height='355' width='425' type='application/x-shockwave-flash' data='https://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='movie' value='https://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );15151515
15161516 clone = div.clone( true );15171517 assert.equal( clone.length, 1, "One element cloned" );540+ assert.t( "Non-identifier string", "#qunit-fixture a[href='https://www.google.com/']", [ "google" ] );541541 assert.t( "Empty string", "#select1 option[value='']", [ "option1a" ] );542542
543543 if ( QUnit.jQuerySelectors ) {@@ -592,7 +592,7 @@ QUnit[ QUnit.jQuerySelectors ? "test" : "skip" ]( "attributes - does not equal",592592QUnit.test( "attributes - starts with", function( assert ) {593593 assert.expect( 4 );594594
595- assert.t( "string (whitespace ignored)", "a[href ^= 'http://www']", [ "google", "yahoo" ] );595+ assert.t( "string (whitespace ignored)", "a[href ^= 'https://www']", [ "google", "yahoo" ] );596596 assert.t( "href starts with hash", "p a[href^='#']", [ "anchor2" ] );597597 assert.t( "string containing '['", "input[name^='foo[']", [ "hidden2" ] );598598 assert.t( "string containing '[' ... ']'", "input[name^='foo[bar]']", [ "hidden2" ] );@@ -1014,7 +1014,7 @@ QUnit.test( "pseudo - misc", function( assert ) {10141014 tmp.id = "tmp_input";10151015 tmp.innerHTML = "<span>Hello I am focusable.</span>";10161016 // Setting tabIndex should make the element focusable1017- // http://dev.w3.org/html5/spec/single-page.html#focus-management1017+ // https://html.spec.whatwg.org/#the-tabindex-attribute10181018 document.body.appendChild( tmp );10191019 tmp.tabIndex = 0;10201020 tmp.focus();
0 commit comments