RESOLVED FIXED 182055
Fix race-condition in fast/text/click-ellipsis-assertion-failure.html
https://bugs.webkit.org/show_bug.cgi?id=182055
Summary Fix race-condition in fast/text/click-ellipsis-assertion-failure.html
Jonathan Bedard
Reported 2018-01-24 11:17:16 PST
fast/text/click-ellipsis-assertion-failure.html should wait for it's promise to be fulfilled before finishing the test. If it does not, the subsequent test may crash.
Attachments
Patch (1.28 KB, patch)
2018-01-24 11:19 PST, Jonathan Bedard
no flags
Jonathan Bedard
Comment 1 2018-01-24 11:17:40 PST
Jonathan Bedard
Comment 2 2018-01-24 11:19:46 PST
Jonathan Bedard
Comment 3 2018-01-24 11:23:01 PST
I very much doubt that this is the only test suffering from this problem. However, I think we should take these one-at-a-time. This specific bug will look like a flakey crash occurring on the test immediately after the test with the bug. Thankfully, the crashlog of the subsequent test will specifically call out the test with the race condition.
Megan Gardner
Comment 4 2018-01-24 13:57:36 PST
Can we make sure to file a bug about the other tests? There's been a lot more async code in our tests in the last few months, while it makes the tests more readable, I think it will make these races a lot more common, and we should try and keep a handle on it.
Jonathan Bedard
Comment 5 2018-01-24 14:07:55 PST
(In reply to Megan Gardner from comment #4) > Can we make sure to file a bug about the other tests? There's been a lot > more async code in our tests in the last few months, while it makes the > tests more readable, I think it will make these races a lot more common, and > we should try and keep a handle on it. I've filed <https://bugs.webkit.org/show_bug.cgi?id=182062>. Ryan and I are working on repaying technical debt in iOS layout tests, this is one class of failures we will be looking for.
WebKit Commit Bot
Comment 6 2018-01-24 14:25:08 PST
Comment on attachment 332181 [details] Patch Clearing flags on attachment: 332181 Committed r227571: <https://trac.webkit.org/changeset/227571>
WebKit Commit Bot
Comment 7 2018-01-24 14:25:10 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2018-01-24 14:29:08 PST
Note You need to log in before you can comment on or make changes to this bug.