Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart

git-svn-id: svn://10.0.0.236/trunk@247681 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcamp%mozilla.com
2008-03-12 21:52:55 +00:00
parent c52ff1c761
commit 818a3abe5f
8 changed files with 186 additions and 17 deletions

View File

@@ -100,6 +100,7 @@ Shutdown(nsIModule* aSelf)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsWebShell, Init)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDefaultURIFixup)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsWebNavigationInfo, Init)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsClassifierCallback)
// uriloader
NS_GENERIC_FACTORY_CONSTRUCTOR(nsURILoader)
@@ -149,6 +150,12 @@ static const nsModuleComponentInfo gDocShellModuleInfo[] = {
NS_WEBNAVIGATION_INFO_CONTRACTID,
nsWebNavigationInfoConstructor
},
{
"Channel classifier",
NS_CHANNELCLASSIFIER_CID,
NS_CHANNELCLASSIFIER_CONTRACTID,
nsClassifierCallbackConstructor
},
// about redirector
{ "about:config",