summaryrefslogtreecommitdiffstats
path: root/docshell
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-24 23:57:19 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-24 23:57:19 +0200
commit9755c93cff958fd8f1a9ef1a105ef0aafd6f9669 (patch)
treea59ca5c9818f4eb1e6c3bebb0d6e7306401ae7e2 /docshell
parent277fa0afdc50b707b3227ca327c29766cdcd20f1 (diff)
downloadUXP-9755c93cff958fd8f1a9ef1a105ef0aafd6f9669.tar
UXP-9755c93cff958fd8f1a9ef1a105ef0aafd6f9669.tar.gz
UXP-9755c93cff958fd8f1a9ef1a105ef0aafd6f9669.tar.lz
UXP-9755c93cff958fd8f1a9ef1a105ef0aafd6f9669.tar.xz
UXP-9755c93cff958fd8f1a9ef1a105ef0aafd6f9669.zip
Make about:webrtc conditional.
This resolves #536
Diffstat (limited to 'docshell')
-rw-r--r--docshell/base/nsAboutRedirector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp
index e56447296..a50134cec 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);