gecko/toolkit/crashreporter/test/nsITestCrasher.idl

21 lines
491 B
Plaintext
Raw Normal View History

#include "nsISupports.idl"
interface nsILocalFile;
[scriptable, uuid(95464a04-6949-46cb-b621-d167790704a0)]
interface nsITestCrasher : nsISupports
{
void crash(in short how);
/**
* Lock a directory using XRE_LockProfileDirectory.
*
* @param directory The directory to lock
* @return An opaque lock object.
*/
nsISupports lockDir(in nsILocalFile directory);
const short CRASH_INVALID_POINTER_DEREF = 0;
const short CRASH_PURE_VIRTUAL_CALL = 1;
};