Commit 9dadd68e authored by Richard Gibson's avatar Richard Gibson

No ticket: Fix IE focus test failures

(cherry picked from commit 3d6ed448)
parent 2d4c0d5f
...@@ -2567,7 +2567,7 @@ test( "make sure events cloned correctly", 18, function() { ...@@ -2567,7 +2567,7 @@ test( "make sure events cloned correctly", 18, function() {
clone.find("#check1").trigger("change"); // 0 events should fire clone.find("#check1").trigger("change"); // 0 events should fire
}); });
test( "Check order of focusin/focusout events", 2, function() { asyncTest( "Check order of focusin/focusout events", 2, function() {
var focus, blur, var focus, blur,
input = jQuery("#name"); input = jQuery("#name");
...@@ -2591,7 +2591,10 @@ test( "Check order of focusin/focusout events", 2, function() { ...@@ -2591,7 +2591,10 @@ test( "Check order of focusin/focusout events", 2, function() {
jQuery("#search").trigger("focus"); jQuery("#search").trigger("focus");
// cleanup // cleanup
input.off(); setTimeout(function() {
input.off();
start();
}, 50 );
}); });
test( "String.prototype.namespace does not cause trigger() to throw (#13360)", function() { test( "String.prototype.namespace does not cause trigger() to throw (#13360)", function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment