diff --git a/network/module/nsHttpURLFactory.cpp b/network/module/nsHttpURLFactory.cpp index 09b4555f704a..adae62633286 100644 --- a/network/module/nsHttpURLFactory.cpp +++ b/network/module/nsHttpURLFactory.cpp @@ -108,6 +108,8 @@ NS_InitializeHttpURLFactory(nsINetService* inet) if (rv != NS_OK) goto done; inet->RegisterProtocol(*new nsString("javascript"), urlf, NULL); if (rv != NS_OK) goto done; + inet->RegisterProtocol(*new nsString("sockstub"), urlf, NULL); + if (rv != NS_OK) goto done; done: #if 0