[webkit-dev] NPP_GetValue with 'NPPVpluginScriptableNPObject' is not invoked automatically in XHTML content for a NS Plugin embedded object.
Anders Carlsson
andersca at apple.com
Thu Oct 30 10:27:57 PDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081030/1d0c4e99/attachment.html>
More information about the webkit-dev
mailing list