From 9755c93cff958fd8f1a9ef1a105ef0aafd6f9669 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 24 Jun 2018 23:57:19 +0200 Subject: Make about:webrtc conditional. This resolves #536 --- docshell/base/nsAboutRedirector.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docshell/base') diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp index e56447296e..a50134cecc 100644 --- a/docshell/base/nsAboutRedirector.cpp +++ b/docshell/base/nsAboutRedirector.cpp @@ -140,10 +140,12 @@ static RedirEntry kRedirMap[] = { { "telemetry", "chrome://global/content/aboutTelemetry.xhtml", nsIAboutModule::ALLOW_SCRIPT +#ifdef MOZ_WEBRTC }, { "webrtc", "chrome://global/content/aboutwebrtc/aboutWebrtc.html", nsIAboutModule::ALLOW_SCRIPT +#endif } }; static const int kRedirTotal = mozilla::ArrayLength(kRedirMap); -- cgit v1.2.3