refactor: change info logs to debug or warning
This CL converts some info-level messages to the debug level because
they're irrelevant and shouldn't be shown by default in the Javascript
console.
Also, one info-level message has been converted to a warning because it
represents a situation that couldn't be handled by the extension which
causes the feature to behave in an unexpected manner.
Change-Id: If1a153320c502bd5a2805597c8558456039a89a1
diff --git a/src/contentScripts/communityConsole/unifiedProfiles.js b/src/contentScripts/communityConsole/unifiedProfiles.js
index e37fbbf..a26c45b 100644
--- a/src/contentScripts/communityConsole/unifiedProfiles.js
+++ b/src/contentScripts/communityConsole/unifiedProfiles.js
@@ -4,7 +4,7 @@
return srcRegex.test(iframe.src ?? '');
},
fixIframe(iframe) {
- console.info('[unifiedProfilesFix] Fixing unified profiles iframe');
+ console.debug('[unifiedProfilesFix] Fixing unified profiles iframe');
var url = new URL(iframe.src);
url.searchParams.set('dark', 1);
iframe.src = url.href;