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.
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to