2009-09-10 04:49:42 -07:00
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
2009-12-14 03:44:27 -08:00
|
|
|
interface nsILocalFile;
|
|
|
|
|
2009-09-10 04:49:42 -07:00
|
|
|
[scriptable, uuid(95464a04-6949-46cb-b621-d167790704a0)]
|
|
|
|
interface nsITestCrasher : nsISupports
|
|
|
|
{
|
2010-05-04 12:34:55 -07:00
|
|
|
void crash(in short how);
|
2009-12-14 03:44:27 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Lock a directory using XRE_LockProfileDirectory.
|
|
|
|
*
|
|
|
|
* @param directory The directory to lock
|
|
|
|
* @return An opaque lock object.
|
|
|
|
*/
|
|
|
|
nsISupports lockDir(in nsILocalFile directory);
|
2010-05-04 12:34:55 -07:00
|
|
|
|
|
|
|
const short CRASH_INVALID_POINTER_DEREF = 0;
|
|
|
|
const short CRASH_PURE_VIRTUAL_CALL = 1;
|
2009-09-10 04:49:42 -07:00
|
|
|
};
|