summaryrefslogtreecommitdiffstats
path: root/ipc/chromium/gtest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /ipc/chromium/gtest
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ipc/chromium/gtest')
-rw-r--r--ipc/chromium/gtest/moz.build7
-rw-r--r--ipc/chromium/gtest/ports_unittest.cc4
2 files changed, 10 insertions, 1 deletions
diff --git a/ipc/chromium/gtest/moz.build b/ipc/chromium/gtest/moz.build
index afa175c638..a1af974b16 100644
--- a/ipc/chromium/gtest/moz.build
+++ b/ipc/chromium/gtest/moz.build
@@ -8,9 +8,14 @@ Library("ipcchromiumtest")
SOURCES += [
"name_unittest.cc",
- "ports_unittest.cc",
]
+# Bug 1837550 - Fails under TSAN
+if not CONFIG["MOZ_TSAN"]:
+ SOURCES += [
+ "ports_unittest.cc",
+ ]
+
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul-gtest"
diff --git a/ipc/chromium/gtest/ports_unittest.cc b/ipc/chromium/gtest/ports_unittest.cc
index bfa8214799..705bab7edb 100644
--- a/ipc/chromium/gtest/ports_unittest.cc
+++ b/ipc/chromium/gtest/ports_unittest.cc
@@ -237,6 +237,10 @@ class TestNode : public NodeDelegate {
}
}
+ void ObserveRemoteNode(const NodeName& node) override {
+ DCHECK(node != node_name_);
+ }
+
void ClosePortsInEvent(Event* event) {
if (event->type() != Event::Type::kUserMessage) {
return;