LayoutTests/ChangeLog

 12010-04-20 Dmitry Titov <dimich@chromium.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 worker-close.html is flaky on slow machines.
 6 https://bugs.webkit.org/show_bug.cgi?id=37887
 7
 8 * fast/workers/worker-close.html: Move the start of the timer to terminate the test after an expected message is received.
 9
1102010-04-19 James Robinson <jamesr@chromium.org>
211
312 Unreviewed build fix for Chromium

LayoutTests/fast/workers/worker-close.html

@@function testTerminateAfterClose()
8787 worker.postMessage("close");
8888 worker.onmessage = function(evt) {
8989 log("PASS: Received message after worker closed: " + evt.data);
 90 // Give worker a chance to close first, then terminate it.
 91 timeout = setTimeout(function() {
 92 worker.terminate();
 93 done();
 94 }, 500);
9095 };
91  // Give worker a chance to close first, then terminate it.
92  timeout = setTimeout(function() {
93  worker.terminate();
94  done();
95  }, 500);
9696}
9797
9898function done() {