RESOLVED FIXED Bug 37887
worker-close.html is flaky on slow machines.
https://bugs.webkit.org/show_bug.cgi?id=37887
Summary worker-close.html is flaky on slow machines.
Dmitry Titov
Reported 2010-04-20 13:57:23 PDT
The test sends a message to the worker to close and also to reply with a message. Immediately, it sets up a timer for 500ms which will terminate the test. On slow machines, the timer may terminate test before the reply comes from the worker, so the actual dump is one message short. Fix is to start timer after the message comes. Patch coming.
Attachments
Patch. (1.37 KB, patch)
2010-04-20 13:59 PDT, Dmitry Titov
abarth: review+
dimich: commit-queue-
Dmitry Titov
Comment 1 2010-04-20 13:59:39 PDT
Adam Barth
Comment 2 2010-04-20 14:05:24 PDT
Comment on attachment 53877 [details] Patch. Ok. I'm sad that we have to setTimeout at all...
Dmitry Titov
Comment 3 2010-04-20 14:23:36 PDT
WebKit Review Bot
Comment 4 2010-04-20 14:53:18 PDT
http://trac.webkit.org/changeset/57919 might have broken SnowLeopard Intel Release (Tests)
Note You need to log in before you can comment on or make changes to this bug.