Open Bug 1257424 Opened 8 years ago Updated 2 years ago

Find a way to label uses of processNextEvent from JS

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

People

(Reporter: Yoric, Unassigned)

References

Details

Every so often, we need to analyze code that spins the event loop from JS. For instance, bug 1248819 shows that some such code causes a shutdown hang/crash, but we have no idea which JS code is running.

It would be great to have a way to instrument `nsIThread.processNextEvent`, when it is called from JS, to somehow label it with the JS stack.
Noting we have a top crash on a couple of releases running (45 and 46) that fit this criteria.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.