gecko/toolkit/crashreporter/test/nsITestCrasher.idl
Ted Mielczarek 59b56c5131 bug 563662 - FPU Exception filter crashes when we hit a pure virtual function call. r=bsmedberg
--HG--
extra : rebase_source : 34016adebf806015162553df71ad28879105e978
2010-05-04 15:34:55 -04:00

21 lines
491 B
Plaintext

#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;
};