mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1422432 - Remove PrintJSStack(). r=mrbkap
MozReview-Commit-ID: 8ObqjMxAzIR --HG-- extra : rebase_source : 91fdc59e435ccdb007c0a1b37b85bc4ddd0b189e
This commit is contained in:
parent
75e4e1138f
commit
f5c90d1f80
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user