From 89ed68fb05ed8dff281d0de941a6d1164f2e66f1 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 20 Oct 2014 19:26:01 -0400 Subject: Core: Removed .focus( delay ) Fixes #9649 --- tests/unit/core/core_deprecated.js | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'tests') diff --git a/tests/unit/core/core_deprecated.js b/tests/unit/core/core_deprecated.js index f97b009a7..bb06f77b2 100644 --- a/tests/unit/core/core_deprecated.js +++ b/tests/unit/core/core_deprecated.js @@ -2,34 +2,6 @@ module( "core - deprecated" ); -asyncTest( "focus - original functionality", function() { - expect( 1 ); - $( "#inputTabindex0" ) - .one( "focus", function() { - ok( true, "event triggered" ); - start(); - }) - .focus(); -}); - -asyncTest( "focus", function() { - expect( 2 ); - - // support: IE 8 - // IE sometimes gets confused about what's focused if we don't explicitly - // focus a different element first - $( "body" ).focus(); - - $( "#inputTabindex0" ) - .one( "focus", function() { - ok( true, "event triggered" ); - start(); - }) - .focus( 500, function() { - ok( true, "callback triggered" ); - }); -}); - test( "zIndex", function() { expect( 7 ); var el = $( "#zIndexAutoWithParent" ), -- cgit v1.2.3