diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /dom/serviceworkers/test/gtest/TestReadWrite.cpp | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/serviceworkers/test/gtest/TestReadWrite.cpp')
-rw-r--r-- | dom/serviceworkers/test/gtest/TestReadWrite.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/dom/serviceworkers/test/gtest/TestReadWrite.cpp b/dom/serviceworkers/test/gtest/TestReadWrite.cpp index 66b966f9e2..8c8dcc3810 100644 --- a/dom/serviceworkers/test/gtest/TestReadWrite.cpp +++ b/dom/serviceworkers/test/gtest/TestReadWrite.cpp @@ -25,15 +25,10 @@ using namespace mozilla::ipc; class ServiceWorkerRegistrarTest : public ServiceWorkerRegistrar { public: ServiceWorkerRegistrarTest() { -#ifdef MOZ_DIAGNOSTIC_ASSERT_ENABLED nsresult rv = NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR, getter_AddRefs(mProfileDir)); - MOZ_DIAGNOSTIC_ASSERT(NS_SUCCEEDED(rv)); -#else - NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR, - getter_AddRefs(mProfileDir)); -#endif - MOZ_DIAGNOSTIC_ASSERT(mProfileDir); + MOZ_RELEASE_ASSERT(NS_SUCCEEDED(rv)); + MOZ_RELEASE_ASSERT(mProfileDir); } nsresult TestReadData() { return ReadData(); } |