diff --git a/browser/modules/webrtcUI.jsm b/browser/modules/webrtcUI.jsm index 4703d9984c5b..007aa47ae691 100644 --- a/browser/modules/webrtcUI.jsm +++ b/browser/modules/webrtcUI.jsm @@ -167,8 +167,15 @@ function getHost(uri, href) { } catch (ex) {}; if (!host) { if (uri && uri.scheme.toLowerCase() == "about") { - // For about URIs, just use the full spec, without any #hash parts - host = uri.specIgnoringRef; + // Special case-ing Loop/ Hello gUM requests. + if (uri.specIgnoringRef == "about:loopconversation") { + const kBundleURI = "chrome://browser/locale/loop/loop.properties"; + let bundle = Services.strings.createBundle(kBundleURI); + host = bundle.GetStringFromName("clientShortname2"); + } else { + // For other about URIs, just use the full spec, without any #hash parts. + host = uri.specIgnoringRef; + } } else { // This is unfortunate, but we should display *something*... const kBundleURI = "chrome://browser/locale/browser.properties";