Landing changes to support chrome URLs in netlib. Approved by dp.
git-svn-id: svn://10.0.0.236/trunk@26053 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -108,6 +108,8 @@ NS_InitializeHttpURLFactory(nsINetService* inet)
|
||||
if (rv != NS_OK) goto done;
|
||||
inet->RegisterProtocol(*new nsString("resource"), urlf, NULL);
|
||||
if (rv != NS_OK) goto done;
|
||||
inet->RegisterProtocol(*new nsString("chrome"), urlf, NULL);
|
||||
if (rv != NS_OK) goto done;
|
||||
inet->RegisterProtocol(*new nsString("file"), urlf, NULL);
|
||||
if (rv != NS_OK) goto done;
|
||||
inet->RegisterProtocol(*new nsString("javascript"), urlf, NULL);
|
||||
|
||||
Reference in New Issue
Block a user