diff --git a/content/base/test/delayedServerEvents.sjs b/content/base/test/delayedServerEvents.sjs index 3ed85c54b67b..f61ba40f55de 100644 --- a/content/base/test/delayedServerEvents.sjs +++ b/content/base/test/delayedServerEvents.sjs @@ -1,4 +1,4 @@ -// this will take strings_to_send.length*5000 ms = 50 sec +// this will take strings_to_send.length*500 ms = 5 sec var timer = null; var strings_to_send = ["data\r\n\nda", "ta", ":", "de", "layed1\n\n", @@ -38,5 +38,5 @@ function handleRequest(request, response) resp = response; timer = Components.classes["@mozilla.org/timer;1"].createInstance(Components.interfaces.nsITimer); - timer.initWithCallback(sendNextString, 5000, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK); + timer.initWithCallback(sendNextString, 500, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK); } diff --git a/content/base/test/test_bug338583.html b/content/base/test/test_bug338583.html index 51e336339af5..9d16fc485258 100755 --- a/content/base/test/test_bug338583.html +++ b/content/base/test/test_bug338583.html @@ -19,8 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=338583