diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 10617d59033..ab0f86c8410 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -3744,7 +3744,9 @@ void nsWebShellFactory::StartServices() { // XXX TEMPORARY Till we have real pluggable protocol handlers +#ifndef NECKO NET_InitJavaScriptProtocol(); +#endif // NECKO mStartedServices = PR_TRUE; } diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 10617d59033..ab0f86c8410 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -3744,7 +3744,9 @@ void nsWebShellFactory::StartServices() { // XXX TEMPORARY Till we have real pluggable protocol handlers +#ifndef NECKO NET_InitJavaScriptProtocol(); +#endif // NECKO mStartedServices = PR_TRUE; }