Confirmed users, Bureaucrats and Sysops emeriti
1,217
edits
(questions... one answer!) |
m (markup) |
||
| Line 1: | Line 1: | ||
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: | 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 | ; NPN_GetURL and family have an optional target; does the behavior change if the target is null versus the empty string ""? : Yes. If the parameter is NULL, the data is sent back to the plugin as a stream. If the parameter is "", the current window is replaced with the URL. | ||
; 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? | ||