[webkit-dev] NPP_GetValue with 'NPPVpluginScriptableNPObject' is not invoked automatically in XHTML content for a NS Plugin embedded object.

Deshpande, Raghavendra raghavendra.deshpande at philips.com
Thu Oct 30 03:35:55 PDT 2008


I have embedded an NS plugin object using <object> </object> .

When the page is served as XHTML, the NS plugin  scriptable object is NOT instantiated, even when the plugin implements NPP_Get() for NPPVpluginScriptableNPObject . Whereas, if the same page is served as HTML content, then, the scriptable object gets instantiated.

I also noticed that, in xhtml content , the scriptable NS plugin object gets instantiated only upon first call to 'getElementById'. Thus making 'getElementById' mandatory for Javascript binding to the embedded object.

XHTML specification doesn't specify any rules related to 'auto instantiation' of NS Pligin object. But, the behavior should not vary from HTML to XHTML.

So, Is it a bug?

-Raghu






________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081030/d0379afc/attachment.html>


More information about the webkit-dev mailing list