From 9d807ba1095de773bc78fda077fcc2a0bfc25eac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 6 Jul 2016 13:09:15 -0400 Subject: [PATCH] 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 --- tests/unit/tabs/core.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/unit/tabs/core.js b/tests/unit/tabs/core.js index c0097ecfb..f367b098e 100644 --- a/tests/unit/tabs/core.js +++ b/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 ); -- 2.39.5