mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
59b56c5131
--HG-- extra : rebase_source : 34016adebf806015162553df71ad28879105e978
8 lines
324 B
JavaScript
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);
|