gecko/toolkit/crashreporter/test/unit/crasher_subprocess_tail.js
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

8 lines
324 B
JavaScript

// now actually crash
let cd = cwd.clone();
cd.append("components");
Components.manager instanceof Components.interfaces.nsIComponentRegistrar;
Components.manager.autoRegister(cd);
let crasher = Components.classes["@mozilla.org/testcrasher;1"].createInstance(Components.interfaces.nsITestCrasher);
crasher.crash(crashType);