desktop_unittest.py is rather complex, and it seems like a large amount of this complexity comes from sharing a single frontend to multiple harnesses, which necessitates a complex configuration format and inline if-blocks to handle cases that are nevertheless too complex. Replacing this with simpler per-harness script files and code sharing via inheritance/composition rather than configuration would be a win for maintainability.
+1 this is overdue for a cleanup. It was my first intern project and was designed for mochitest, reftest, and xpcshell. It has obviously not scaled well, particularly the way we have so many edge cases now: in-tree configs, suite specific tests.zip extraction, log parsing, unique platform behaviour for special suites that act like mochitest but are not.
You need to log in before you can comment on or make changes to this bug.