diff --git a/layout/forms/test/test_bug411236.html b/layout/forms/test/test_bug411236.html
index a731733b92a..257c3967c03 100644
--- a/layout/forms/test/test_bug411236.html
+++ b/layout/forms/test/test_bug411236.html
@@ -87,7 +87,7 @@ function do_test() {
}
SimpleTest.waitForExplicitFinish();
-addLoadEvent(test);
+addLoadEvent(do_test);