We need a way to crash from JavaScript

RESOLVED WORKSFORME

Status

()

Toolkit
General
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: Yoric, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

For AsyncShutdown, it would be very useful to have have access to MOZ_CRASH in JavaScript.
Gavin pointed me to nsIDebug::abort and CrashTestUtils.jsm.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
See also bug 915518
You need to log in before you can comment on or make changes to this bug.