I have written a scriptable plugin (with the new NSAPI). I use Firefox 1.5.0.1 on MacOS 10.4.
If I set style.display="none" on the plugin, I still get errors "Bad NPObject as private data!" when I try to access scriptable objects created by the plugin from javascript:
var plugin = document.getElementById("myplugin");
var obj = plugin.getAnObject();
var info1 = obj.getInfo(); //OK
plugin.style.display = "none";
var info2 = obj.getInfo(); // error "Bad NPObject as private data"
Is it the same bug ?
I have written a scriptable plugin (with the new NSAPI). I use Firefox 1.5.0.1 on MacOS 10.4. "none" on the plugin, I still get errors "Bad NPObject as private data!" when I try to access scriptable objects created by the plugin from javascript: getElementById( "myplugin" ); getAnObject( ); style.display = "none";
If I set style.display=
var plugin = document.
var obj = plugin.
var info1 = obj.getInfo(); //OK
plugin.
var info2 = obj.getInfo(); // error "Bad NPObject as private data"
Is it the same bug ?