Bug 1422432 - Remove PrintJSStack(). r=mrbkap

MozReview-Commit-ID: 8ObqjMxAzIR

--HG--
extra : rebase_source : 91fdc59e435ccdb007c0a1b37b85bc4ddd0b189e
This commit is contained in:
Andrew McCreight 2017-12-01 16:16:11 -08:00
parent 75e4e1138f
commit f5c90d1f80

View File

@ -1132,13 +1132,6 @@ JS_EXPORT_API(void) DumpJSStack()
xpc_DumpJSStack(true, true, false);
}
JS_EXPORT_API(const char*) PrintJSStack()
{
if (JSContext* cx = nsContentUtils::GetCurrentJSContext())
return xpc_PrintJSStack(cx, true, true, false).release();
return "There is no JSContext on the stack.\n";
}
JS_EXPORT_API(void) DumpCompleteHeap()
{
nsCOMPtr<nsICycleCollectorListener> listener =