Summary: | LayoutTest inspector/script-profiler/event-type-Other.html is flaky | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> | ||||
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ryan Haddad
2016-01-12 09:09:38 PST
Marked test as flaky in <https://trac.webkit.org/r194893> Hmm, this is weird. Well the test relies on a setTimeout of 50ms to occur after some work with a timeout of 0ms, but maybe on some systems that is not fast enough. We may be able to have the frontend cue off of an event, like a console message added. Created attachment 269081 [details]
[PATCH] Proposed Fix
Comment on attachment 269081 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=269081&action=review r=me. GLORIOUS. > LayoutTests/inspector/unit-tests/protocol-test-dispatch-event-to-frontend.html:15 > + ProtocolTest.singleFireEventListener("MyEvent", (event) => { This reads better than I expected. Comment on attachment 269081 [details] [PATCH] Proposed Fix Clearing flags on attachment: 269081 Committed r195147: <http://trac.webkit.org/changeset/195147> All reviewed patches have been landed. Closing bug. |