Closed Bug 917774 Opened 11 years ago Closed 11 years ago

We need a way to crash from JavaScript

Categories

(Toolkit :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Yoric, Unassigned)

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
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.