Bug 1660216 - Fix formatting of ContentSecurityManager logging r=freddyb,baku
authorJens Hausdorf <mail@jens-hausdorf.de>
Thu, 20 Aug 2020 13:17:42 +0000
changeset 610142 d92766e56d92847d4639466c0d5aea89252371f8
parent 610141 5c795477d83a25be5a6ade887d52d5261c319885
child 610143 711d1a3b5b3a5e98dce8906b6fd97684c066e419
push id13553
push userffxbld-merge
push dateMon, 24 Aug 2020 12:51:36 +0000
treeherdermozilla-beta@a54f8b5d0977 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfreddyb, baku
bugs1660216
milestone81.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1660216 - Fix formatting of ContentSecurityManager logging r=freddyb,baku Differential Revision: https://phabricator.services.mozilla.com/D87731
dom/security/nsContentSecurityManager.cpp
--- a/dom/security/nsContentSecurityManager.cpp
+++ b/dom/security/nsContentSecurityManager.cpp
@@ -636,17 +636,17 @@ static void LogPrincipal(nsIPrincipal* a
       MOZ_LOG(sCSMLog, LogLevel::Debug,
               ("%s%s: %s\n", aIndentationString.get(),
                NS_ConvertUTF16toUTF8(aPrincipalName).get(), origin.get()));
       return;
     }
     nsAutoCString principalSpec;
     aPrincipal->GetAsciiSpec(principalSpec);
     MOZ_LOG(sCSMLog, LogLevel::Debug,
-            ("%s%s %s\n", aIndentationString.get(),
+            ("%s%s: %s\n", aIndentationString.get(),
              NS_ConvertUTF16toUTF8(aPrincipalName).get(), principalSpec.get()));
     return;
   }
   MOZ_LOG(sCSMLog, LogLevel::Debug,
           ("%s%s: nullptr\n", aIndentationString.get(),
            NS_ConvertUTF16toUTF8(aPrincipalName).get()));
 }