Commit Graph
8 Commits
Author SHA1 Message Date
Nika Layzell c6814a4d14 Bug 2025986 - Support NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DELETE_ON_MAIN_THREAD after XPCOMShutdownThreads, r=xpcom-reviewers,emilio,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D291219
2026-04-03 00:13:36 +00:00
Sylvestre Ledru a22215a2f9 Bug 2023419 - Remove Emacs/Vim modelines from netwerk/ r=emilio,cookie-reviewers,valentin
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287861
2026-03-17 12:06:31 +00:00
Jens Stutte 6829afc661 Bug 1999508 - Introduce nsIEventTarget::GetFeatures. r=xpcom-reviewers,necko-reviewers,dom-worker-reviewers,nika,asuth,valentin
Introduces SUPPORTS_SHUTDOWN_TASKS and SUPPORTS_SHUTDOWN_TASK_DISPATCH flags.

This just wires the function through all event targets without ever being used.

Differential Revision: https://phabricator.services.mozilla.com/D272150
2026-01-28 07:24:07 +00:00
acreskeyMoz 52db7a59d6 Bug 1635092 - Save one main thread loop to nsHttpChannel::AsyncOpen of IPC'ed channels r=necko-reviewers,kershaw,valentin
Adds a new serial event target that executes the runnable immediately if already on the main thread. This allows then ThenValue to execute immediately instead of being dispatched to the back of the main thread event target, when possible.
Used here to prevent WaitForBgParent promise resolution round tripping to the main thread for UrgentStart channels.

Differential Revision: https://phabricator.services.mozilla.com/D258668
2025-10-14 21:49:31 +00:00
Atila Butkovits 378d5926bc Revert "Bug 1635092 - Save one main thread loop to nsHttpChannel::AsyncOpen of IPC'ed channels r=necko-reviewers,kershaw" for causing Bug 1987159.
This reverts commit 709294585e.
2025-09-11 09:50:40 +00:00
acreskeyMoz 709294585e Bug 1635092 - Save one main thread loop to nsHttpChannel::AsyncOpen of IPC'ed channels r=necko-reviewers,kershaw
Adds a new serial event target that executes the runnable immediately if already on the main thread. This allows then ThenValue to execute immediately instead of being dispatched to the back of the main thread event target, when possible.
Used here to prevent WaitForBgParent promise resolution round tripping to the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D258668
2025-08-27 22:01:51 +00:00
Marian-Vasile Laza 3f38f67c82 Backed out changeset 9c3f8e19266c (bug 1635092) as requested by the dev. CLOSED TREE 2022-06-08 22:47:34 +03:00
Andrew Creskey 27b22d4b73 Bug 1635092 - Save one main thread loop to nsHttpChannel::AsyncOpen of IPC'ed channels r=necko-reviewers,dragana,barret
Adds a new serial event target that executes the runnable immediately if already on the main thread. This allows then ThenValue to execute immediately instead of being dispatched to the back of the main thread event target, when possible.

Differential Revision: https://phabricator.services.mozilla.com/D146481
2022-05-25 18:44:12 +00:00