diff --git a/intl/chardet/src/classic/nsClassicCharDetDll.cpp b/intl/chardet/src/classic/nsClassicCharDetDll.cpp index 76f5758bf2b..4bbc57fff6a 100644 --- a/intl/chardet/src/classic/nsClassicCharDetDll.cpp +++ b/intl/chardet/src/classic/nsClassicCharDetDll.cpp @@ -55,13 +55,17 @@ extern "C" NS_EXPORT nsresult NSGetFactory(nsISupports* aServMgr, nsIFactory *factory = nsnull; if (aClass.Equals(kJAClassicDetectorCID)) { - factory = NEW_JA_CLASSICDETECTOR_FACTORY(); + ; + //bug#13844 disable this until find out the reason of the freeze + //factory = NEW_JA_CLASSICDETECTOR_FACTORY(); } else if (aClass.Equals(kJAClassicStringDetectorCID)) { factory = NEW_JA_STRING_CLASSICDETECTOR_FACTORY(); +#if 0 } else if (aClass.Equals(kKOClassicDetectorCID)) { factory = NEW_KO_CLASSICDETECTOR_FACTORY(); } else if (aClass.Equals(kKOClassicStringDetectorCID)) { factory = NEW_KO_STRING_CLASSICDETECTOR_FACTORY(); +#endif } if(nsnull != factory) { diff --git a/intl/chardet/src/windows/nsNativeCharDetDll.cpp b/intl/chardet/src/windows/nsNativeCharDetDll.cpp index 92a8acbb7c6..77bf48dd8bf 100644 --- a/intl/chardet/src/windows/nsNativeCharDetDll.cpp +++ b/intl/chardet/src/windows/nsNativeCharDetDll.cpp @@ -55,11 +55,13 @@ extern "C" NS_EXPORT nsresult NSGetFactory(nsISupports* aServMgr, nsIFactory *factory = nsnull; if (aClass.Equals(kJANativeDetectorCID)) { - factory = NEW_JA_NATIVEDETECTOR_FACTORY(); + ; + //bug#13844 disable this until find out the reason of the freeze + //factory = NEW_JA_NATIVEDETECTOR_FACTORY(); } else if (aClass.Equals(kJANativeStringDetectorCID)) { factory = NEW_JA_STRING_NATIVEDETECTOR_FACTORY(); } else if (aClass.Equals(kKONativeDetectorCID)) { - factory = NEW_KO_NATIVEDETECTOR_FACTORY(); + ;factory = NEW_KO_NATIVEDETECTOR_FACTORY(); } else if (aClass.Equals(kKONativeStringDetectorCID)) { factory = NEW_KO_STRING_NATIVEDETECTOR_FACTORY(); }