Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[testharness.js] Do not wrap assert_any in expose_assert
The assert tracking code cannot handle nested asserts. It ends up both recording all the inner-asserts for assert_any (which is arguably correct but also looks confusing since some fail), as well as not properly recording the result for the `assert_any` itself (it overrides the last inner-assert results instead - even more confusing!) To workaround this quickly, do not wrap assert_any in the wrapper script. This means it will not show up in the asserts run, though its children will (but the last child will no longer have the wrong status). This isn't perfect, but it's a quick fix. Fixes #27824
- Loading branch information