aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-04-26 16:25:34 +0200
committerGitHub <noreply@github.com>2024-04-26 16:25:34 +0200
commit4966aea381403ce368c17bcf4b2ecd836c82487d (patch)
treef22c8c76026832b9834dfc51f3d46be3d1831b22 /tests/unit
parent28895912d7eed6862a062be7b8c51fad021e51cf (diff)
downloadjquery-ui-4966aea381403ce368c17bcf4b2ecd836c82487d.tar.gz
jquery-ui-4966aea381403ce368c17bcf4b2ecd836c82487d.zip
Docs: Change a few most common domains from HTTP to HTTPS
Also, update a few stale URLs to what they redirect now to. Closes gh-2244
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/accordion/options.js2
-rw-r--r--tests/unit/dialog/methods.js2
-rw-r--r--tests/unit/draggable/core.js8
-rw-r--r--tests/unit/draggable/events.js2
-rw-r--r--tests/unit/draggable/options.js12
-rw-r--r--tests/unit/slider/events.js4
-rw-r--r--tests/unit/slider/options.js2
-rw-r--r--tests/unit/sortable/events.js2
-rw-r--r--tests/unit/tooltip/core.js6
-rw-r--r--tests/unit/tooltip/options.js2
10 files changed, 21 insertions, 21 deletions
diff --git a/tests/unit/accordion/options.js b/tests/unit/accordion/options.js
index 00c1d0361..1a2b55d5e 100644
--- a/tests/unit/accordion/options.js
+++ b/tests/unit/accordion/options.js
@@ -50,7 +50,7 @@ QUnit.test( "{ active: false }", function( assert ) {
assert.strictEqual( element.accordion( "option", "active" ), 0 );
} );
-// http://bugs.jqueryui.com/ticket/11938
+// https://bugs.jqueryui.com/ticket/11938
QUnit.test( "{ active: false, collapsible: true }", function( assert ) {
assert.expect( 1 );
var element = $( "#collapsible" ).accordion(),
diff --git a/tests/unit/dialog/methods.js b/tests/unit/dialog/methods.js
index 6b10b399f..90a6a6455 100644
--- a/tests/unit/dialog/methods.js
+++ b/tests/unit/dialog/methods.js
@@ -197,7 +197,7 @@ QUnit.test( "open", function( assert ) {
assert.ok( element.dialog( "widget" ).is( ":visible" ) && !element.dialog( "widget" ).is( ":hidden" ), "dialog visible after open method called" );
} );
-// http://bugs.jqueryui.com/ticket/6137
+// https://bugs.jqueryui.com/ticket/6137
QUnit.test( "Ensure form elements don't reset when opening a dialog", function( assert ) {
assert.expect( 2 );
diff --git a/tests/unit/draggable/core.js b/tests/unit/draggable/core.js
index 9cfbb1853..b8be0fd20 100644
--- a/tests/unit/draggable/core.js
+++ b/tests/unit/draggable/core.js
@@ -109,7 +109,7 @@ QUnit.test( "#8269: Removing draggable element on drop", function( assert ) {
}
} );
-// http://bugs.jqueryui.com/ticket/7778
+// https://bugs.jqueryui.com/ticket/7778
// drag element breaks in IE8 when its content is replaced onmousedown
QUnit.test( "Stray mousemove after mousedown still drags", function( assert ) {
assert.expect( 2 );
@@ -186,11 +186,11 @@ QUnit.test( "scroll offset with fixed ancestors", function( assert ) {
var startValue = 300,
element = $( "#draggable1" )
- // http://bugs.jqueryui.com/ticket/5009
+ // https://bugs.jqueryui.com/ticket/5009
// scroll not working with parent's position fixed
.wrap( "<div id='wrapper' />" )
- // http://bugs.jqueryui.com/ticket/9612
+ // https://bugs.jqueryui.com/ticket/9612
// abspos elements inside of fixed elements moving away from the mouse when scrolling
.wrap( "<div id='wrapper2' />" )
.draggable( {
@@ -221,7 +221,7 @@ $( [ "hidden", "auto", "scroll" ] ).each( function() {
var overflow = this;
// Http://bugs.jqueryui.com/ticket/9379 - position bug in scrollable div
- // http://bugs.jqueryui.com/ticket/10147 - Wrong position in a parent with "overflow: hidden"
+ // https://bugs.jqueryui.com/ticket/10147 - Wrong position in a parent with "overflow: hidden"
QUnit.test( "position in scrollable parent with overflow: " + overflow, function( assert ) {
assert.expect( 2 );
diff --git a/tests/unit/draggable/events.js b/tests/unit/draggable/events.js
index 97ec912ae..45c3c20d5 100644
--- a/tests/unit/draggable/events.js
+++ b/tests/unit/draggable/events.js
@@ -124,7 +124,7 @@ QUnit.test( "stopping the stop callback", function( assert ) {
assert.ok( element.draggable( "instance" ).helper, "the clone should not be deleted if the stop callback is stopped" );
} );
-// http://bugs.jqueryui.com/ticket/6884
+// https://bugs.jqueryui.com/ticket/6884
// Draggable: ui.offset.left differs between the "start" and "drag" hooks
QUnit.test( "position and offset in hash is consistent between start, drag, and stop", function( assert ) {
assert.expect( 4 );
diff --git a/tests/unit/draggable/options.js b/tests/unit/draggable/options.js
index 40a36ba67..10f279037 100644
--- a/tests/unit/draggable/options.js
+++ b/tests/unit/draggable/options.js
@@ -280,7 +280,7 @@ QUnit.test( "connectToSortable, dragging out of a sortable", function( assert )
$( element ).one( "dragstop", function( event, ui ) {
- // http://bugs.jqueryui.com/ticket/8809
+ // https://bugs.jqueryui.com/ticket/8809
// Position issue when connected to sortable
result = ui.helper.offset();
@@ -324,7 +324,7 @@ QUnit.test( "connectToSortable, dragging clone into sortable", function( assert
$( sortable ).one( "sort", function( event, ui ) {
offsetPlaceholder = ui.placeholder.offset();
- // http://bugs.jqueryui.com/ticket/8809
+ // https://bugs.jqueryui.com/ticket/8809
// Position issue when connected to sortable
assert.deepEqual( ui.helper.offset(), offsetSortable, "sortable offset is correct" );
assert.notDeepEqual( ui.helper.offset(), offsetPlaceholder, "offset not equal to placeholder" );
@@ -332,7 +332,7 @@ QUnit.test( "connectToSortable, dragging clone into sortable", function( assert
$( sortable ).one( "sortstop", function( event, ui ) {
- // http://bugs.jqueryui.com/ticket/9675
+ // https://bugs.jqueryui.com/ticket/9675
// Animation issue with revert and connectToSortable
assert.deepEqual( ui.item.offset(), offsetPlaceholder, "offset eventually equals placeholder" );
ready();
@@ -571,7 +571,7 @@ QUnit.test( "containment, account for border", function( assert ) {
"The draggable should be to the right of its parent's right border" );
} );
-// http://bugs.jqueryui.com/ticket/7016
+// https://bugs.jqueryui.com/ticket/7016
// draggable can be pulled out of containment in Chrome and IE8
QUnit.test( "containment, element cant be pulled out of container", function( assert ) {
assert.expect( 1 );
@@ -898,7 +898,7 @@ QUnit.test( "helper, default, switching after initialization", function( assert
testHelper.shouldMove( assert, element, "helper: original" );
} );
-// http://bugs.jqueryui.com/ticket/9446
+// https://bugs.jqueryui.com/ticket/9446
// Draggable: helper function cannot emulate default behavior
QUnit.test( "helper, function returning original element", function( assert ) {
assert.expect( 1 );
@@ -1490,7 +1490,7 @@ QUnit.test( "iframeFix", function( assert ) {
var divOffset, iframeOffset,
div = $( this ).children().not( "iframe" );
- // http://bugs.jqueryui.com/ticket/9671
+ // https://bugs.jqueryui.com/ticket/9671
// iframeFix doesn't handle iframes that move
assert.equal( div.length, 1, "blocking div added as sibling" );
assert.equal( div.outerWidth(), iframe.outerWidth(), "blocking div is wide enough" );
diff --git a/tests/unit/slider/events.js b/tests/unit/slider/events.js
index 3b283d281..365c2c0f3 100644
--- a/tests/unit/slider/events.js
+++ b/tests/unit/slider/events.js
@@ -8,8 +8,8 @@ define( [
QUnit.module( "slider: events", { afterEach: helper.moduleAfterEach } );
-//Specs from http://wiki.jqueryui.com/Slider#specs
-//"change callback: triggers when the slider has stopped moving and has a new
+// Specs from https://wiki.jqueryui.com/Slider#specs
+// "change callback: triggers when the slider has stopped moving and has a new
// value (even if same as previous value), via mouse(mouseup) or keyboard(keyup)
// or value method/option"
QUnit.test( "mouse based interaction", function( assert ) {
diff --git a/tests/unit/slider/options.js b/tests/unit/slider/options.js
index 40b6bab22..b607b535f 100644
--- a/tests/unit/slider/options.js
+++ b/tests/unit/slider/options.js
@@ -205,7 +205,7 @@ QUnit.test( "orientation", function( assert ) {
element.slider( "destroy" );
} );
-//spec: http://wiki.jqueryui.com/Slider#specs
+// spec: https://wiki.jqueryui.com/Slider#specs
// value option/method: the value option is not restricted by min/max/step.
// What is returned by the value method is restricted by min (>=), max (<=), and step (even multiple)
QUnit.test( "step", function( assert ) {
diff --git a/tests/unit/sortable/events.js b/tests/unit/sortable/events.js
index 0e26603d2..01d0780f2 100644
--- a/tests/unit/sortable/events.js
+++ b/tests/unit/sortable/events.js
@@ -263,7 +263,7 @@ QUnit.test( "over", function( assert ) {
assert.equal( overCount, 1, "over fires only once" );
} );
-// http://bugs.jqueryui.com/ticket/9335
+// https://bugs.jqueryui.com/ticket/9335
// Sortable: over & out events does not consistently fire
QUnit.test( "over, fires with draggable connected to sortable", function( assert ) {
assert.expect( 3 );
diff --git a/tests/unit/tooltip/core.js b/tests/unit/tooltip/core.js
index 0e765c4ba..8fb2fcf92 100644
--- a/tests/unit/tooltip/core.js
+++ b/tests/unit/tooltip/core.js
@@ -135,7 +135,7 @@ QUnit.test( "tooltip on .ui-state-disabled element", function( assert ) {
assert.equal( $( ".ui-tooltip" ).length, 0 );
} );
-// http://bugs.jqueryui.com/ticket/8740
+// https://bugs.jqueryui.com/ticket/8740
QUnit.test( "programmatic focus with async content", function( assert ) {
var ready = assert.async();
assert.expect( 2 );
@@ -185,7 +185,7 @@ QUnit.test( "destroy during hide animation; only one close event", function( ass
} );
} );
-// http://bugs.jqueryui.com/ticket/10602
+// https://bugs.jqueryui.com/ticket/10602
QUnit.test( "multiple active delegated tooltips", function( assert ) {
var ready = assert.async();
assert.expect( 1 );
@@ -234,7 +234,7 @@ QUnit.test( "multiple active delegated tooltips", function( assert ) {
step1();
} );
-// http://bugs.jqueryui.com/ticket/11272
+// https://bugs.jqueryui.com/ticket/11272
QUnit.test( "remove conflicting attributes from live region", function( assert ) {
assert.expect( 2 );
diff --git a/tests/unit/tooltip/options.js b/tests/unit/tooltip/options.js
index f2fbe982a..c620b7fc0 100644
--- a/tests/unit/tooltip/options.js
+++ b/tests/unit/tooltip/options.js
@@ -87,7 +87,7 @@ QUnit.test( "content: sync + async callback", function( assert ) {
} ).tooltip( "open" );
} );
-// http://bugs.jqueryui.com/ticket/8740
+// https://bugs.jqueryui.com/ticket/8740
QUnit.test( "content: async callback loses focus before load", function( assert ) {
var ready = assert.async();
assert.expect( 1 );