diff --git a/content/html/content/test/file_bug546995.html b/content/html/content/test/file_bug546995.html index c67b55e74ac2..b0483796ebf5 100644 --- a/content/html/content/test/file_bug546995.html +++ b/content/html/content/test/file_bug546995.html @@ -25,7 +25,7 @@ function load() { // When the function will be executed, the focus events from autofocus should // have been processed. - setTimeout(parent.gGen.next(), 0); + parent.SimpleTest.executeSoon(parent.gGen.next.bind(parent.gGen)); }