Closed Bug 1399155 Opened 7 years ago Closed 7 years ago

Add reftest selftests for crashes, assertions and leaks

Categories

(Testing :: Reftest, enhancement)

enhancement
Not set
normal

Tracking

(firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

Details

Attachments

(1 file)

In the mochitest selftests, we largely rely on nsIDebug to write tests that cause crashes and assertions. But I don't think that API is accessible by reftests. We'll either need to figure out a way to access that API or some other clever way of causing crashes/assertions. Maybe we'll need to install the crashme extension (legacy extensions still work in test automation).
Ted pointed out that reftest has the ability to install specialpowers, it just isn't installed by default. This should be good enough to proceed here.
Comment on attachment 8911771 [details] Bug 1399155 - Add reftest selftests for crashes, assertions, asan and leaks, https://reviewboard.mozilla.org/r/183192/#review188422 I am happy to see the assertions and crashes accounted for, even asan specific :)
Attachment #8911771 - Flags: review?(jmaher) → review+
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b24baaa4f187 Add reftest selftests for crashes, assertions, asan and leaks, r=jmaher
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Assignee: nobody → ahal
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: