Closed Bug 498566 Opened 15 years ago Closed 7 years ago

when page is getting reloaded, Plug-in is first getting initialized and then destroyed immediately

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: priyanka, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11

I have developed one firefox plugin using xpcom in vc6.
When i run the application in mozilla firefox 3.0.11 for fisrt time its working properly. But if i just refresh the same page and execute the application, it calls NS_PluginInitialize()and after that it immediately calling NS_PluginShutdown() API's from plugin. 

I am loding one COM dll in NS_PluginInitialize() and unloding in NS_PluginShutdown()API.
When I refresh the page its loading the COM dll and immediately unloding it,So its not able to call the API's from the COM dll

Reproducible: Always

Actual Results:  
Application behavior is changing when i am refreshing the page

Expected Results:  
It should first Initialize the plugin then call the API's from COM dll and then 
it should destroy the plugin

In Mozilla Firefox version 1.5 its working properly even when i reload the page
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.