Bug 1037424: Fix typo in checkin for allowed_domains r=ehugg

This commit is contained in:
Randell Jesup
2014-07-30 18:07:08 -04:00
parent 6d930539f6
commit 319de884e4

View File

@@ -108,7 +108,7 @@ HostHasPermission(nsIURI &docURI)
nsAdoptingCString hostName;
docURI.GetAsciiHost(hostName); //normalize UTF8 to ASCII equivalent
nsAdoptingCString domainWhiteList =
Preferences::GetCString("media.getusermedia.screensharing.allow_domains");
Preferences::GetCString("media.getusermedia.screensharing.allowed_domains");
domainWhiteList.StripWhitespace();
if (domainWhiteList.IsEmpty() || hostName.IsEmpty()) {