[Webkit-unassigned] [Bug 168066] LayoutTest performance-api/performance-now-api.html is a flaky failure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 10 14:54:59 PST 2017


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

--- Comment #3 from Alexey Proskuryakov <ap at webkit.org> ---
I don't know how to make an end to end layout test that expects something to happen in a given time frame, kernel scheduling can easily make a thread stop for several seconds.

Injecting test specific code can of course work, but then it's always a question of whether the behavior is likely to be broken in a way that bypasses the test.

I think that the best question to ask with regards to a new regression test is whether it tests for something that's likely to break. The easiest way to answer it is by adding tests together with fixes - that way you know that it's fragile code, and you can confirm whether your test catches that specific failure mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170210/471394e2/attachment.html>


More information about the webkit-unassigned mailing list