2009-07-03 Dmitry Titov <dimich@chromium.org>
Reviewed by Darin Fisher.
Increase delay in worker-terminate layout test to make it more reliable.
https://bugs.webkit.org/show_bug.cgi?id=26917
This test used time delay to see of terminated worker does not return
messages (terminated). In some test conditions, the current delay (500ms)
is too short and test fails. Move setting the delay to the end of initialization
and increase it 2x to make test more reliable.
* fast/workers/worker-terminate.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index eaa208a..cb408db 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,17 @@
+2009-07-03 Dmitry Titov <dimich@chromium.org>
+
+ Reviewed by Darin Fisher.
+
+ Increase delay in worker-terminate layout test to make it more reliable.
+ https://bugs.webkit.org/show_bug.cgi?id=26917
+
+ This test used time delay to see of terminated worker does not return
+ messages (terminated). In some test conditions, the current delay (500ms)
+ is too short and test fails. Move setting the delay to the end of initialization
+ and increase it 2x to make test more reliable.
+
+ * fast/workers/worker-terminate.html:
+
2009-07-03 Jan Michael Alonzo <jmalonzo@webkit.org>
Skip tests that require expected results that Gtk doesn't have.
diff --git a/LayoutTests/fast/workers/worker-terminate.html b/LayoutTests/fast/workers/worker-terminate.html
index 0ccf222..631640a 100644
--- a/LayoutTests/fast/workers/worker-terminate.html
+++ b/LayoutTests/fast/workers/worker-terminate.html
@@ -43,11 +43,10 @@
worker4.postMessage("eval true");
worker4.terminate();
log("Received message from worker4.");
+ setTimeout("log('DONE'); if (window.layoutTestController) layoutTestController.notifyDone()", 1000);
}
worker4.postMessage("eval true");
-setTimeout("log('DONE'); if (window.layoutTestController) layoutTestController.notifyDone()", 500);
-
</script>
</body>
</html>