We should consider "getting results" and "updating based on LayoutTestResults" as separate operations in the code. It's hard to tell how entangled this code is right now at quick glance, and hard to add support for "getting LayoutTestResults from elsewhere".
Pull request: https://github.com/WebKit/WebKit/pull/17454
Committed 267690@main (5b3cad0ec99c): <https://commits.webkit.org/267690@main> Reviewed commits have been landed. Closing PR #17454 and removing active labels.
<rdar://problem/115073525>