Home » HTML » HTML APIs » Question
  1. When the user leaves instance’s page which function is called?
    1. NP_Initialize
    2. NP_Shutdown
    3. NPP_New
    4. NPP_Destroy
    5. None of these
Correct Option: D

When the user leaves instance’s page or closes its window a plug-in instance is deleted. Then Gecko calls the function NPP_Destroy to inform plug-in that the instance is being deleted. Plug-in API calls and callbacks use main Navigator thread.



Your comments will be displayed only after manual approval.