mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
bug 191773, r=mstoltz, a=dbaron@dbaron.org
only allow x-jsd: urls from chrome: and resource:
This commit is contained in:
parent
03cc66394b
commit
c1745c244e
@ -1235,7 +1235,8 @@ nsScriptSecurityManager::CheckLoadURI(nsIURI *aSourceURI, nsIURI *aTargetURI,
|
||||
{ "gopher", AllowProtocol },
|
||||
{ "datetime", DenyProtocol },
|
||||
{ "finger", AllowProtocol },
|
||||
{ "res", DenyProtocol }
|
||||
{ "res", DenyProtocol },
|
||||
{ "x-jsd", ChromeProtocol }
|
||||
};
|
||||
|
||||
NS_NAMED_LITERAL_STRING(errorTag, "CheckLoadURIError");
|
||||
|
Loading…
Reference in New Issue
Block a user