diff options
Diffstat (limited to 'ipc/chromium/gtest')
-rw-r--r-- | ipc/chromium/gtest/moz.build | 7 | ||||
-rw-r--r-- | ipc/chromium/gtest/ports_unittest.cc | 4 |
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; |