Skip to content

Commit 9d807ba

Browse files
committed
Tabs: Remove test for Ajax URLs containing hashes
This hasn't been a problem for a long time and jQuery no longer removes the hash in 3.0.0, so the test started to fail even though the actual code is working just fine. Ref #3627 Ref jquery/jquery#1732
1 parent 71b93ed commit 9d807ba

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/unit/tabs/core.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -647,18 +647,6 @@ QUnit.test( "keyboard support - CTRL+UP, ALT+PAGE_DOWN, ALT+PAGE_UP", function(
647647
setTimeout( step1 );
648648
} );
649649

650-
QUnit.test( "#3627 - Ajax tab with url containing a fragment identifier fails to load", function( assert ) {
651-
assert.expect( 1 );
652-
653-
$( "#tabs2" ).tabs( {
654-
active: 2,
655-
beforeLoad: function( event, ui ) {
656-
event.preventDefault();
657-
assert.ok( /test.html$/.test( ui.ajaxSettings.url ), "should ignore fragment identifier" );
658-
}
659-
} );
660-
} );
661-
662650
QUnit.test( "#4033 - IE expands hash to full url and misinterprets tab as ajax", function( assert ) {
663651
assert.expect( 2 );
664652

0 commit comments

Comments
 (0)