NPAPI Questions: Difference between revisions
Jump to navigation
Jump to search
(NPAPI questions) |
(whoops, finish the question) |
||
Line 3: | Line 3: | ||
NPN_GetURL and family have an optional target: does the behavior change if the target is null versus the empty string ""? | NPN_GetURL and family have an optional target: does the behavior change if the target is null versus the empty string ""? | ||
NPStream has a url field | NPStream has a url field: are there cases where this may be null? If so, would making it the empty string change the behavior? | ||
Do streams receieve a NPP_Destroy message before the associated instance is killed with NPP_Destroy? What reason code is given? | Do streams receieve a NPP_Destroy message before the associated instance is killed with NPP_Destroy? What reason code is given? | ||
Do url notifications receieve a NPP_URLNotify message before the associated instance is killed with NPP_Destroy? What reason code is given? | Do url notifications receieve a NPP_URLNotify message before the associated instance is killed with NPP_Destroy? What reason code is given? |
Revision as of 20:14, 15 September 2009
These are questions that bsmedberg found while trying to implement remoting for pieces of the NPAPI. I'd like to have tests and docs for these once the answers are known:
NPN_GetURL and family have an optional target: does the behavior change if the target is null versus the empty string ""?
NPStream has a url field: are there cases where this may be null? If so, would making it the empty string change the behavior?
Do streams receieve a NPP_Destroy message before the associated instance is killed with NPP_Destroy? What reason code is given?
Do url notifications receieve a NPP_URLNotify message before the associated instance is killed with NPP_Destroy? What reason code is given?