[tor-commits] [tor-browser] 251/311: Bug 1760894 - Change MOZ_RELEASE_ASSERT back to MOZ_ASSERT, r=necko-reviewers, dragana a=dmeehan

gitolite role git at cupani.torproject.org
Tue Apr 26 15:30:51 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit 76d33e42a91d8b6206db247c755320530b2d79aa
Author: Kershaw Chang <kershaw at mozilla.com>
AuthorDate: Wed Mar 23 12:20:30 2022 +0000

    Bug 1760894 - Change MOZ_RELEASE_ASSERT back to MOZ_ASSERT, r=necko-reviewers,dragana a=dmeehan
    
    This is a wallpaper patch, not a real fix.
    This assertion was accidentally changed to `MOZ_RELEASE_ASSERT` in D135727.
    
    Differential Revision: https://phabricator.services.mozilla.com/D141834
---
 netwerk/protocol/websocket/WebSocketChannel.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netwerk/protocol/websocket/WebSocketChannel.cpp b/netwerk/protocol/websocket/WebSocketChannel.cpp
index 3dd0a3ed9f4b9..2e69e2183027a 100644
--- a/netwerk/protocol/websocket/WebSocketChannel.cpp
+++ b/netwerk/protocol/websocket/WebSocketChannel.cpp
@@ -3265,8 +3265,8 @@ WebSocketChannel::Notify(nsITimer* timer) {
     AbortSession(NS_ERROR_NET_TIMEOUT_EXTERNAL);
     // mReconnectDelayTimer is only modified on MainThread
   } else if (timer == mReconnectDelayTimer) {
-    MOZ_RELEASE_ASSERT(mConnecting == CONNECTING_DELAYED,
-                       "woke up from delay w/o being delayed?");
+    MOZ_ASSERT(mConnecting == CONNECTING_DELAYED,
+               "woke up from delay w/o being delayed?");
     MOZ_ASSERT(NS_IsMainThread(), "not main thread");
 
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list