On Oct 30, 2008, at 3:35 AM, Deshpande, Raghavendra wrote:
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()
forNPPVpluginScriptableNPObject . 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?
Yes, this sounds like a bug. Please file it at http://bugs.webkit.org
Thanks,
Anders
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev