Hi, My application embeds the mozilla's 'browser' application. It is using mozilla version 1.7.5 . What this application does is, it registers a custom "file" protocol factory.There by custom "file" protocol handler is created. Requests with specific token in the URI will be processed by this custom handler and requests without the token will be handled by the default handler.
Now we are moving to 1.9.1. We are able to build 1.9.1.(I tried with debug symbols enabled) Custom file protocol factory registration is succeeding. But custom file protocol handler is never created (i.e CreateInstance() is never being called). Whenever a request of type "file:///" is made, GetProtocolHandler() of \mozilla-1.9.1\netwerk\base\src\nsIOService.cpp is called. It returns the default handler from the cache (GetCachedProtocolHandler()). If I bypass this GetCachedProtocolHandler() function call manually, then everything works fine(i.e CreateInstance() gets called and adds the handler to the cache). How can I make sure that custom "file" protocol registration refreshes the cache as well? (or Am I missing anything here?) Any help would be greatly appreciated. Following is the mozconfig for building 1.9.1 --------------------------------------------------------------------- ac_add_options --enable-application=browser ac_add_options --disable-vista-sdk-requirements mk_add_options moz_objd...@topsrcdir@/o...@config_guess@ mk_add_options MOZ_MAKE_FLAGS="-j4" Thanks, Bash _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
