What I have: I have a code which needs to be fixed. This is a XPCOM object with nsIURIContentListener handler. I have attached the MSVC project with the code. What I require: I need OnStartURIOpen function to be called upon a user starts navigation in Firefox browser.