commit a0670b7b8a56e4e605a1a56500aefe2fb5f1cd7c
parent 9b1ebbeb5c6693ef4e7f0c02148ab80b67dd6f33
Author: Andrew McCreight <continuation@gmail.com>
Date: Sat, 3 Jan 2026 21:41:14 +0000
Bug 2007393 - Don't use the new serializer for devtools. r=dom-core,smaug
Differential Revision: https://phabricator.services.mozilla.com/D277778
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/dom/ipc/jsactor/JSIPCValueUtils.cpp b/dom/ipc/jsactor/JSIPCValueUtils.cpp
@@ -57,6 +57,14 @@ bool JSActorSupportsTypedSend(const nsACString& aName) {
return false;
}
+ // Using the new serializer for the devtools DAMP tests causes performance
+ // regressions. Devtools uses complex messages that are difficult to type, so
+ // we're probably not losing much by giving up entirely on typing it.
+ // See bug 2007393.
+ if (aName == "DevToolsProcess" || aName == "BrowserToolboxDevToolsProcess") {
+ return false;
+ }
+
// Send messages from these actors untyped. Their messages are complex, so
// using IPDL serialization might cause problems, and the actors have a lot
// of privilege, so type checking won't add much safety.