stop exposing startProfiling, stopProfiling etc. and getMaxGCPauseSinceClear, clearMaxGCPauseAccumulator to content
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
People
(Reporter: freddy, Assigned: mccr8)
Details
(Keywords: sec-moderate, Whiteboard: [Affects Nightly and other MOZ_PROFILING builds][secdom:patch])
Attachments
(1 file)
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•7 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Comment 6•4 years ago
|
||
JS_DefineProfilingFunctions is called in dom::CreateGlobal, the JS shell, and xpc::InitClassesWithNewWrappedGlobal. Only the first seems to be used for web content. Let's just get rid of the call there. If somebody complains, we can add it back behind an if (false) or something. It seems absurd to keep shipping this without any evidence that anybody actually cares about it.
| Assignee | ||
Comment 7•4 years ago
|
||
In the modern age of the Gecko Profiler, surely nobody is using this.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 8•4 years ago
|
||
FWIW, I accidentally pushed this patch to try.
Comment 9•3 years ago
|
||
Don't call JS_DefineProfilingFunctions in CreateGlobal. r=peterv
https://hg.mozilla.org/integration/autoland/rev/57fad07090a4c5b37531f276b8ca6da5d857969b
https://hg.mozilla.org/mozilla-central/rev/57fad07090a4
| Assignee | ||
Comment 10•3 years ago
|
||
I think MOZ_PROFILING is only defined on Nightly, so there's no need to backport this.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•