Open Bug 1114790 Opened 5 years ago

SimpleTest assertion functions implemented in terms of other global SimpleTest assertion function names are not logged correctly for browser mochitests

Categories

(Testing :: Mochitest, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

People

(Reporter: chmanchester, Unassigned)

References

(Blocks 1 open bug)

Details

I noticed this for a "doesThrow" check. Because it's implemented in terms of the global "ok", it looks like it doesn't get correct treatment in browser-test.js, meaning raw strings are dumped instead of going through the logger in browser-test.js. There are plans to diminish support for this sort of thing.
You need to log in before you can comment on or make changes to this bug.