From 5b812bc38262ce4741e95ed25056564142a4588a Mon Sep 17 00:00:00 2001 From: Benjamin Smedberg Date: Tue, 26 Jan 2010 17:50:41 -0500 Subject: [PATCH] Add a timeout for test_plugin_focus in order for events to be delievered to asynchronous event loops, r=jimm --- layout/generic/test/plugin_focus_helper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/generic/test/plugin_focus_helper.html b/layout/generic/test/plugin_focus_helper.html index 6c217641c9e5..e5c26d0fe194 100644 --- a/layout/generic/test/plugin_focus_helper.html +++ b/layout/generic/test/plugin_focus_helper.html @@ -66,7 +66,7 @@ function handleEvent(event) { if (s.action) { // Do the action after this event cycle is done - setTimeout(s.action, 0); + setTimeout(s.action, 1000); } }