X-Git-Url: http://git.asbjorn.it/?p=jquery.git;a=blobdiff_plain;f=test%2Funit%2Fevent.js;h=e4caee82a54982d0c0017ac16d59cdff6352272b;hp=02824a9a30dd5faefa14f07f4f83fb6c0e85613d;hb=328a86f9a0d3f0907cc950f7543e34cb3efbda3f;hpb=dc2e7317a90464e729fd9f29afaa16fa9c01487c diff --git a/test/unit/event.js b/test/unit/event.js index 02824a9..e4caee8 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -1953,26 +1953,6 @@ test("window resize", function() { ok( !jQuery._data(window, "__events__"), "Make sure all the events are gone." ); }); -test("focusin bubbles", function() { - //create an input and focusin on it - var input = jQuery(""), order = 0; - - input.prependTo("body"); - - jQuery("body").bind("focusin.focusinBubblesTest",function(){ - equals(1,order++,"focusin on the body second") - }); - - input.bind("focusin.focusinBubblesTest",function(){ - equals(0,order++,"focusin on the element first") - }); - - input[0].focus(); - input.remove(); - - jQuery("body").unbind("focusin.focusinBubblesTest"); -}); - /* test("jQuery(function($) {})", function() { stop();