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:
hyatt%netscape.com
1999-04-02 19:05:52 +00:00
parent 386e9b1828
commit 790ed197d4
4 changed files with 69 additions and 2 deletions

View File

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