Dear Sir , I am working on embedding Mozilla Gecko Engine into my application . In this regard I am able to successfully embed the gecko browser into my application . Also I am able to override the nsiprompt interface with my implementation . Still I am having some problems which hinder smooth running of my application . Please help me in solving the problem .
Pelase check the zip file I have sent with this mail . In this file there are four links 1.Test Open Window 2.Test Close Window 3.Test Prompt Box 4.Test Alter Box When the user clicks on the 3rd and the fourth link . It results in invocation of prompt & alert methods of the nsipromptservice respectively But when user clicks on the first two methods that means on Test Open Window Test Close Window something else is triggered .I dont know what it is . This is causing problem in my application . When 1. Test Open Window is clicked then javascript:openWindow() is called 2. Test Close Window IS clicked then javascript:close() is called 3. Test Prompt Box is clicked then javascript:prompt() is called 4. Test Alter Box is called then javascript:alert is called Out of these methods , for the last two methods nsipromptservice methods alert and prompt are called and as I have overridden they are been called but for the first two methods I dont know which interfaces isinvolved and which mewthods are been called . In my application when I click on the first link i.e Test Open Window I get a child window on which I get close button . On click of the close button ,I want to close the window using window.close() . So I wish to know what implements the methods or how to implement this
