[Webkit-unassigned] [Bug 71695] [Qt] http/tests/xmlhttprequest/workers/abort-exception-assert.html makes 6 fast/workers test fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 24 00:54:30 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=71695





--- Comment #3 from Nandor Huszka <Huszka.Nandor at stud.u-szeged.hu>  2011-11-24 00:54:30 PST ---
In abort-exception-assert.html, the mentioned Worker's terminating is called with 100 milliseconds latency. This Worker does an endless cycle: sleeping for 10 seconds and then send a synchronous request.

If we try to terminate this Worker with 2 seconds latency, and sleeping it for 1 second in every iteration before sending the request, the
layoutTestController.notifyDone();
will be called, so the Worker will terminate successfully. In this case the other 6 tests will be passed too.

Before terminating the Worker, there can be read a comment, it says:
"This is an (unlikely) race condition here in that the worker may not have started the sync xhr call at this point, but it has been greatly lessened by the 100ms delay."
In spite of giving the 100ms delay, I think it's a race condition yet, it must be the cause of the bug...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list