Commit Graph
92 Commits
Author SHA1 Message Date
Sylvestre Ledru 6149f49299 Bug 2023419 - Remove Emacs/Vim modelines from xpcom/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287878
2026-03-16 17:22:07 +00:00
Markus Stange 0528dda2c7 Bug 1949978 - Do an early write of the startup cache if no cache file is present. r=tcampbell
This will make Firefox behavior in our performance CI tests more realistic:
These tests perform a warmup run which is killed before the regular
StartupCache write occurs. We don't really want to increase the time for
the warmup run, and I believe the behavior introduced in this patch makes
sense regardless - if there's no cache, writing out an incomplete cache
is better than waiting for more complete data and failing to write it out.

Differential Revision: https://phabricator.services.mozilla.com/D283122
2026-03-05 08:18:43 +00:00
serge-sans-paille 7662b3abdc Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 19:36:01 +00:00
Cristina Horotan 8a1b1970b7 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing Gtest failures on AlreadyAddRefed.h
This reverts commit e98adca292.
2025-10-21 16:16:29 +00:00
serge-sans-paille e98adca292 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 15:05:17 +00:00
Cristina Horotan aab924e90d Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing build bustage at nsBrowserApp.cpp
This reverts commit fd0ffa193c.
2025-10-21 10:44:13 +00:00
serge-sans-paille fd0ffa193c Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 09:44:11 +00:00
Narcis Beleuzu e1e6bbb1c9 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing bustages on Document.cpp
This reverts commit b23c15e927.
2025-10-21 06:34:58 +00:00
serge-sans-paille b23c15e927 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 06:01:36 +00:00
jstutte 67320353ea Bug 1954728 - For xpcshell tests we need to SetImpendingShutdown on the first advanceShutdownPhase. r=xpcom-reviewers,nika
The xpcshell test harness simulates a shutdown sequence for the parent
process (in testing\xpcshell\head.js) by manually advancing the shutdown
phases. This omits any call to AppShutdown::Init (which prevents us from
starting the terminator, as most likely wanted), resulting in
SetImpendingShutdown never been called in the parent process.

There might be a question here if the test harness should also simulate
a more complete shutdown sequence (currently some notifications and
phases are missing), but that is out of scope here.

For now we always set the shutdown flag on each advanceShutdownPhase
in order to ensure we can safely test against it in all configurations.

Differential Revision: https://phabricator.services.mozilla.com/D246922
2025-04-29 06:16:26 +00:00
Jens Stutte 5eb5987ffa Bug 1948736 - Move the global impending shutdown flag to AppShutdown. r=xpcom-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D238522
2025-02-18 08:18:58 +00:00
Oliver Old e3ca610d68 Bug 1827807 - Remove the MOZ_WM_APP_QUIT macro. r=win-reviewers,rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D226236
2024-10-30 15:51:12 +00:00
serge-sans-paille 262f78c07f Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang
Namely std::size, std::end and std::size. This drops C support for
MOZ_ARRAY_LENGTH but it wasn't used anyway.

Differential Revision: https://phabricator.services.mozilla.com/D224611
2024-10-28 08:21:19 +00:00
Alexandru Marc a5eb905bf4 Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
serge-sans-paille 07101ac24d Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang
Namely std::size, std::end and std::size. This drops C support for
MOZ_ARRAY_LENGTH but it wasn't used anyway.

Differential Revision: https://phabricator.services.mozilla.com/D224611
2024-10-24 09:06:01 +00:00
Alexandru Marc 004e704b22 Backed out changeset 448597bce69d (bug 1922838) for causing build bustages. CLOSED TREE 2024-10-24 11:37:49 +03:00
serge-sans-paille 2c916d4973 Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang
Namely std::size, std::end and std::size. This drops C support for
MOZ_ARRAY_LENGTH but it wasn't used anyway.

Differential Revision: https://phabricator.services.mozilla.com/D224611
2024-10-24 07:38:30 +00:00
Gabriele Svelto e1e9346196 Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro
This changes comes with several different refactorings all rolled into one,
unfotunately I couldn't find a way to pull them apart:
- First of all annotations now can either recorded (that is, we copy the value
  and have the crash reporting code own the copy) or registered. Several
  annotations are changed to use this functionality so that we don't need to
  update them as their value change.
- The code in the exception handler is modified to read the annotations from
  the mozannotation_client crate. This has the unfortunate side-effect that
  we need three different bits of code to serialize them: one for annotations
  read from a child process, one for reading annotations from the main process
  outside of the exception handler and one for reading annotations from the
  main process within the exception handler. As we move to fully
  out-of-process crash reporting the last two methods will go away.
- The mozannotation_client crate now doesn't record annotation types anymore.
  I realized as I was working on this that storing types at runtime has two
  issues: the first one is that buggy code might change the type of an
  annotation (that is record it under two different types at two different
  moments), the second issue is that types might become corrupt during a
  crash, so better enforce them at annotation-writing time. The end result is
  that the mozannotation_* crates now only store byte buffers, track the
  format the data is stored in (null-terminated string, fixed size buffer,
  etc...) but not the type of data each annotation is supposed to contain.
- Which brings us to the next change: concrete types for annotations are now
  enforced when they're written out. If an annotation doesn't match the
  expected type it's skipped. Storing an annotation with the wrong type will
  also trigger an assertion in debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D195248
2024-03-04 10:24:43 +00:00
Jens Stutte 868e35650f Bug 1825917 - Have a ShutdownReason annotation and identify OS shutdown on Windows. r=xpcom-reviewers,gstoll,nika
Differential Revision: https://phabricator.services.mozilla.com/D174899
2023-04-17 14:03:48 +00:00
Dave Townsend 4f946cc05d Bug 1777973: Remove MOZ_NEW_XULSTORE implementation. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D166786
2023-01-16 19:21:23 +00:00
Jens Stutte 010370e803 Bug 1768581 - Part 8: Exclude AppShutdownConfirmed from any Ns_ProcessPendingEvents. r=xpcom-reviewers,nika
Depends on D163128

Differential Revision: https://phabricator.services.mozilla.com/D163175
2022-12-12 15:21:29 +00:00
Jens Stutte 254e7fcf04 Bug 1768581 - Part 3 Swap the order of MaybeFastShutdown and KillClearOnShutdown inside AdvanceShutdownPhase and add extra NS_ProcessPendingEvents for the main thread. r=xpcom-reviewers,nika
This change will effectively anticipate the fast shutdown by half a phase, making it more coherent with the phase it is defined to happen.

Depends on D160250

Differential Revision: https://phabricator.services.mozilla.com/D160628
2022-12-12 15:21:27 +00:00
Jens Stutte 2bd333fda5 Bug 1709184 - Part 2: Add a paranoia check against re-entrance in AdvanceShutdownPhase. r=xpcom-reviewers,nika
Depends on D160176

Differential Revision: https://phabricator.services.mozilla.com/D160250
2022-12-12 15:21:27 +00:00
Jens Stutte edb521cc62 Bug 1709184 - Part 1: Process pending MT events before advancing the shutdown phase. r=xpcom-reviewers,nika,kmag
Differential Revision: https://phabricator.services.mozilla.com/D160176
2022-12-12 15:21:26 +00:00
Butkovits Atila e775bd40e5 Backed out 4 changesets (bug 1768581, bug 1709184) for causing high frequency Xpcshell failures at test_bug1274685_unowned_list.js. CLOSED TREE
Backed out changeset 6bae0f16eae9 (bug 1768581)
Backed out changeset 1f111f5b8baf (bug 1768581)
Backed out changeset a3d89b2ef44a (bug 1709184)
Backed out changeset 98f1dc6f0123 (bug 1709184)
2022-11-23 22:09:33 +02:00
Jens Stutte da177ade61 Bug 1768581 - Part 12: Swap the order of MaybeFastShutdown and KillClearOnShutdown inside AdvanceShutdownPhase and add extra NS_ProcessPendingEvents for the main thread. r=xpcom-reviewers,nika
This change will effectively anticipate the fast shutdown by half a phase, making it more coherent with the phase it is defined to happen.

Depends on D160250

Differential Revision: https://phabricator.services.mozilla.com/D160628
2022-11-23 16:03:18 +00:00
Jens Stutte 26e9a51d23 Bug 1709184 - Part 11: Add a paranoia check against re-entrance in AdvanceShutdownPhase. r=xpcom-reviewers,nika
Depends on D160176

Differential Revision: https://phabricator.services.mozilla.com/D160250
2022-11-23 16:03:17 +00:00
Jens Stutte 3af6df72a7 Bug 1709184 - Part 10: Process pending MT events before advancing the shutdown phase. r=xpcom-reviewers,nika,kmag
Differential Revision: https://phabricator.services.mozilla.com/D160176
2022-11-23 16:03:17 +00:00
Cristian Tuns b469489285 Backed out 3 changesets (bug 1709184, bug 1768581) for causing xpcshell failures CLOSED TREE
Backed out changeset bd3bc1478107 (bug 1768581)
Backed out changeset c7465ec6154e (bug 1709184)
Backed out changeset 032bf39acabb (bug 1709184)
2022-11-19 06:31:59 -05:00
Jens Stutte 2d4b4897d2 Bug 1768581 - Part 12: Swap the order of MaybeFastShutdown and KillClearOnShutdown inside AdvanceShutdownPhase and add extra NS_ProcessPendingEvents for the main thread. r=xpcom-reviewers,nika
This change will effectively anticipate the fast shutdown by half a phase, making it more coherent with the phase it is defined to happen.

Depends on D160250

Differential Revision: https://phabricator.services.mozilla.com/D160628
2022-11-19 10:15:32 +00:00
Jens Stutte 221e8b092f Bug 1709184 - Part 11: Add a paranoia check against re-entrance in AdvanceShutdownPhase. r=xpcom-reviewers,nika
Depends on D160176

Differential Revision: https://phabricator.services.mozilla.com/D160250
2022-11-19 10:15:31 +00:00
Jens Stutte 90621fecde Bug 1709184 - Part 10: Process pending MT events before advancing the shutdown phase. r=xpcom-reviewers,nika,kmag
Depends on D160627

Differential Revision: https://phabricator.services.mozilla.com/D160176
2022-11-19 10:15:31 +00:00
Marian-Vasile Laza 1aecdbccac Backed out 3 changesets (bug 1768581, bug 1709184) for causing mochitest failures on LateWriteChecks.cpp. CLOSED TREE
Backed out changeset c49173f72e0d (bug 1768581)
Backed out changeset a4c2b2d0b63a (bug 1709184)
Backed out changeset 1181bdcde598 (bug 1709184)
2022-11-18 12:34:22 +02:00
Jens Stutte 21fb510171 Bug 1768581 - Part 12: Swap the order of MaybeFastShutdown and KillClearOnShutdown inside AdvanceShutdownPhase and add extra NS_ProcessPendingEvents for the main thread. r=xpcom-reviewers,nika
This change will effectively anticipate the fast shutdown by half a phase, making it more coherent with the phase it is defined to happen.

Depends on D160250

Differential Revision: https://phabricator.services.mozilla.com/D160628
2022-11-18 09:22:26 +00:00
Jens Stutte a5b0c2c24c Bug 1709184 - Part 11: Add a paranoia check against re-entrance in AdvanceShutdownPhase. r=xpcom-reviewers,nika
Depends on D160176

Differential Revision: https://phabricator.services.mozilla.com/D160250
2022-11-18 09:22:26 +00:00
Jens Stutte d57a93c397 Bug 1709184 - Part 10: Process pending MT events before advancing the shutdown phase. r=xpcom-reviewers,nika,kmag
Depends on D160627

Differential Revision: https://phabricator.services.mozilla.com/D160176
2022-11-18 09:22:25 +00:00
Csoregi Natalia d98c18e280 Backed out 2 changesets (bug 1709184) for xpcshell failures. CLOSED TREE
Backed out changeset 46d7864a45df (bug 1709184)
Backed out changeset ac48b4d61b39 (bug 1709184)
2022-11-17 16:43:59 +02:00
Jens Stutte e8cc73a20b Bug 1709184 - Part 11: Add a paranoia check against re-entrance in AdvanceShutdownPhase. r=xpcom-reviewers,nika
Depends on D160176

Differential Revision: https://phabricator.services.mozilla.com/D160250
2022-11-17 10:07:14 +00:00
Jens Stutte 2a6280819a Bug 1709184 - Part 10: Process pending MT events before advancing the shutdown phase. r=xpcom-reviewers,nika,kmag
Depends on D160627

Differential Revision: https://phabricator.services.mozilla.com/D160176
2022-11-17 10:07:13 +00:00
Jens Stutte bf307ee3d2 Bug 1766572: Part 3 - Make nsTerminator aware of late shutdown phases. r=xpcom-reviewers,nika
In order to get better shutdown hang reporting, we want to distinguish also the last phases, namely `XPCOMShutdownThreads`, `XPCOMShutdownMainThread` and `CCPostLastCycleCollection`.
This also makes `XPCOMShutdownNotified()` obsolete and we need to slightly re-arrange the watchdog function.

Differential Revision: https://phabricator.services.mozilla.com/D145433
2022-05-13 15:47:53 +00:00
Jens Stutte 7cac292560 Bug 1766572: Part 2 - Synchronize KillClearOnShutdown phases with AdvanceShutdownPhase. r=xpcom-reviewers,dthayer,nika
The concept of a shutdown phase is meant to be a finite and named period of time where:

1. we can query if we are in or beyond a given phase
2. we may want to do a fast shutdown
3. we inform the terminator that we reached the next phase
4. if needed/wanted, we notify observers of the associated topic
5. we KillClearOnShutdown smart pointers associated with this phase
6. we do any further, phase-individual cleanup until the next phase starts

`AdvanceShutdownPhase(WithoutNotify)` now provides the functionality for 1. through 5. and must be the only place that calls `KillClearOnShutdown` in order to avoid misalignments.
In doing so, it becomes also the only caller of `MaybeFastShutdown`.

Please refer to bug 1768581 as working on this patch made us think if we should re-work the order inside AdvanceShutdownPhase.

Differential Revision: https://phabricator.services.mozilla.com/D145083
2022-05-13 15:47:52 +00:00
Jens Stutte caf2e00e5a Bug 1766572: Part 1 - Remove obsolete ShutdownPhase::XPCOMShutdownLoaders. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D145082
2022-05-13 15:47:52 +00:00
Nicholas Rishel c06a797c92 Bug 1757435 - Disable fast shutdown for background tasks. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D141304
2022-03-18 20:14:47 +00:00
Nick Alexander f24cb48487 Bug 1757229 - Ensure Telemetry::CanRecordExtended() is false in background tasks. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D141291
2022-03-17 15:45:56 +00:00
Gerald Squelart 518a4063e8 Bug 1668867 - Move parts of GeckoProfiler.h into ProfilerControl.h - r=canaltinova
This profiler-controlling functions are used in very few places, so it's good to have them in a separate header to reduce dependencies.

On top of making GeckoProfiler.h lighter, this is actually needed for this bug, because a later patch adds MozPromise to profiler_start and others, which would have created a header loop (GeckoProfiler -> MozPromise -> Monitor -> CondVar -> GeckoProfiler) that makes the build fail.

Differential Revision: https://phabricator.services.mozilla.com/D139331
2022-03-01 06:56:00 +00:00
Jens Stutte e8152a0b44 Bug 1750635: Substitute AppShutdown:IsShuttingDown with equivalent AppShutdown::IsInOrBeyond. r=florian,xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D139143
2022-02-18 19:35:13 +00:00
Tooru Fujisawa 97b4bdff66 Bug 1738282 - Delete ScriptPreloader singleton after CCPostLastCycleCollection phase. r=mccr8
This stops destructing the stencils held by ScriptPreloader on release build,
to avoid the shutdown hang caused by thrashing.

Also:
  * Move ScriptPreloader::Cleanup from xpcom-shutdown notification to ScriptPreloader destructor, given there's no reason for having 2 steps
  * Replace ClearOnShutdown call with explicit function call for the singleton deletion, for simplicity
  * Remove now-unused PostJSShutDown phase

Differential Revision: https://phabricator.services.mozilla.com/D130839
2021-11-22 02:25:43 +00:00
Tooru Fujisawa 1260c51bc5 Bug 1732168 - Part 2: Add ShutdownPhase after JS_ShutDown. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D126633
2021-10-22 21:03:52 +00:00
Jens Stutte 25c0c4359e Bug 1731564: Use motivated SpinEventLoopUntil inside xpcom/*. r=xpcom-reviewers,nika
Depends on D127236

Differential Revision: https://phabricator.services.mozilla.com/D127237
2021-10-07 08:06:16 +00:00
Marian-Vasile Laza 7de6967c5a Backed out 18 changesets (bug 1731564) for causing build bustages on SpinEventLoopUntil. CLOSED TREE
Backed out changeset 0464dbdc8584 (bug 1731564)
Backed out changeset 0d996df13545 (bug 1731564)
Backed out changeset 5630a0e7a109 (bug 1731564)
Backed out changeset 37b41d187cdb (bug 1731564)
Backed out changeset d37700fa60b6 (bug 1731564)
Backed out changeset b0ce7db44b99 (bug 1731564)
Backed out changeset aa5ec3aa1535 (bug 1731564)
Backed out changeset 73b648f1fa70 (bug 1731564)
Backed out changeset bb8fb0f9833e (bug 1731564)
Backed out changeset 0d8905144f5d (bug 1731564)
Backed out changeset 2cfb094a1ec3 (bug 1731564)
Backed out changeset 78d3b0257a6a (bug 1731564)
Backed out changeset e9d32926e93c (bug 1731564)
Backed out changeset 874cab520ce5 (bug 1731564)
Backed out changeset d8071cc32bd9 (bug 1731564)
Backed out changeset 283c5393cbbc (bug 1731564)
Backed out changeset 317bc38e3de5 (bug 1731564)
Backed out changeset 53e3f4862439 (bug 1731564)
2021-10-07 00:09:19 +03:00