Closed Bug 797717 Opened 7 years ago Closed 7 years ago

JS sampling doesn't work in xpcshell

Categories

(Core :: Gecko Profiler, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

While writing a test for bug 793672, I found out that JS sampling doesn't work in xpcshell. This is due to the fact that xpcshell doesn't use XRE_main, but initializes XPCOM directly with NS_InitXPCOM2.
Attachment #667857 - Flags: review?(bgirard) → review+
Blocks: 798047
No longer blocks: 798047
https://hg.mozilla.org/mozilla-central/rev/bc36c86d2d27
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.