A couple of wpt changes recently landed that might be of interest to people:

* testharness.js tests now trace the individual asserts that run (for performance reasons this only happens when output is enabled e.g. when only a single test is run locally).

* A --debug-test command line option has been added which provides type-specific debugging facilities:

- For testharness tests DevTools are started in the test page, and some console logging is added for test lifecycle events.

- For reftests the reftest analyzer is loaded for failed tests with the relevant data.

This is the initial cut at these features and I'd like to make further improvements in this area; if there are specific ideas you have that will make them work better for you, or additional debugging features you'd like to see, please let me know.

It's also a known issue that the testharness features don't always get enabled for tests that run in workers; the fix requires some coordination so it's not quite trivial but it is on the radar.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to