Make about:webrtc conditional.

This resolves #536
This commit is contained in:
wolfbeast 2018-06-24 23:57:19 +02:00 committed by Roy Tam
commit 105c537181
3 changed files with 6 additions and 0 deletions

View file

@ -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);