Skip to content

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> types
1477-
div = jQuery( "<div/>" ).html( "<embed height='355' width='425' src='http://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'></embed>" );
1477+
div = jQuery( "<div/>" ).html( "<embed height='355' width='425' src='https://www.youtube.com/v/3KANI2dpXLw&amp;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 special
14851485
// 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&amp;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&amp;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&amp;hl=en'> <param name='movie' value='http://www.youtube.com/v/3KANI2dpXLw&amp;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&amp;hl=en'> <param name='movie' value='https://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'> <param name='wmode' value='transparent'> </object>" );
15151515

15161516
clone = div.clone( true );
15171517
assert.equal( clone.length, 1, "One element cloned" );