What release channel of Firefox are you using?
I don't understand your testcase exactly. You have two plugin instances
of different types (x-a and x-b). Are those types rendered by the same
plugin or different plugins?
The first (x-a) plugin is part of the document and should be
instantiated when we parse the document.
You create an <embed> element for the second (x-b) plugin, but don't
insert it into the document immediately. Then you call a method
plugina.add(pluginbelement). We will not create a plugin instance for
this element until it is part of the document, so it is expected that
there will not be a plugin b instance for this element yet, and perhaps
not ever unless you insert it into the document later on.
If you are using nightly or developer edition, it's possible that this
symptom is related to a recent change in Firefox called asynchronous
plugin instantiation, which causes plugins to be started asynchronously.
But I really don't think that's the problem here.
--BDS
>
> Thanks in advance,
>
> Cosmin
> _______________________________________________
> dev-tech-plugins mailing list
>
dev-tech...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-tech-plugins