gecko-dev/tools/profiler
Gerald Squelart b22230bc7d Bug 1693502 - Check GetObserverService() instead of gXPCOMShuttingDown to handle pre/failed-XPCOM calls - r=florian
In XREMain(), if something went wrong between `PROFILER_INIT` and `MakeUnique<ScopedXPCOMStartup>()`,
- XPCOM would not be initialized -- Meaning `ExtensionPolicyService::GetSingleton()` would assert when not finding the Observer Service,
- But `gXPCOMShuttingDown` would still be false.
So `StreamMetaJSCustomObject` (invoked by `profiler_shutdown`, called by the `PROFILER_INIT` object destructor at the end of `XREMain()`) would still attempt to use `ExtensionPolicyService::GetSingleton()`.

In this patch, `StreamMetaJSCustomObject` now checks that the observer service exists, instead of only testing `!gXPCOMShuttingDown`. This should handle all situations where `ExtensionPolicyService::GetSingleton()` could assert, not just during normal shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D106061
2021-02-23 09:01:37 +00:00
..
core Bug 1693502 - Check GetObserverService() instead of gXPCOMShuttingDown to handle pre/failed-XPCOM calls - r=florian 2021-02-23 09:01:37 +00:00
docs Bug 1676079 - For consistency and clarity, add Marker suffix to all marker types - r=gregtatum 2020-11-30 22:52:44 +00:00
gecko Bug 1691092 - add PROFILER category to make profiler overhead very visible, r=gerald. 2021-02-16 19:04:02 +00:00
lul Bug 1665029 - LUL: reduce space consumption by not storing duplicate RuleSets. r=fitzgen. 2020-09-16 10:18:36 +00:00
public Bug 1693037 - Fix non-MOZ_GECKO_PROFILER builds - r=florian 2021-02-17 22:36:28 +00:00
rust-helper Bug 1654807 - update thin-vec to 0.2.1 for potential endianess fix. r=froydnj 2020-09-14 17:32:40 +00:00
tasktracer
tests Bug 1688669 - Add a new test for network markers for requests going through a service worker r=canaltinova 2021-02-15 20:32:02 +00:00
moz.build Bug 1693037 - Fix non-MOZ_GECKO_PROFILER builds - r=florian 2021-02-17 22:36:28 +00:00