diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-24 23:57:19 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-24 23:57:19 +0200 |
commit | 3e0e4fbc91691c0af131c91bbeec8a413a546efa (patch) | |
tree | a59ca5c9818f4eb1e6c3bebb0d6e7306401ae7e2 /docshell | |
parent | a563817c4c5145ffd3569d4829dfd4700f2b0f90 (diff) | |
download | uxp-3e0e4fbc91691c0af131c91bbeec8a413a546efa.tar.gz |
Make about:webrtc conditional.
This resolves #536
Diffstat (limited to 'docshell')
-rw-r--r-- | docshell/base/nsAboutRedirector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |