Skip to content
Permalink
Browse files

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
  • Loading branch information
scottgonzalez committed Jul 6, 2016
1 parent 71b93ed commit 9d807ba1095de773bc78fda077fcc2a0bfc25eac
Showing with 0 additions and 12 deletions.
  1. +0 −12 tests/unit/tabs/core.js
@@ -647,18 +647,6 @@ QUnit.test( "keyboard support - CTRL+UP, ALT+PAGE_DOWN, ALT+PAGE_UP", function(
setTimeout( step1 );
} );

QUnit.test( "#3627 - Ajax tab with url containing a fragment identifier fails to load", function( assert ) {
assert.expect( 1 );

$( "#tabs2" ).tabs( {
active: 2,
beforeLoad: function( event, ui ) {
event.preventDefault();
assert.ok( /test.html$/.test( ui.ajaxSettings.url ), "should ignore fragment identifier" );
}
} );
} );

QUnit.test( "#4033 - IE expands hash to full url and misinterprets tab as ajax", function( assert ) {
assert.expect( 2 );

0 comments on commit 9d807ba

Please sign in to comment.
You can’t perform that action at this time.