Firefox XPCOM component - Permission denied to call method UnnamedClass
Can a firefox XPCOM component read and write page content across multiple pages? Scenario: A bunch of local HTML and javascript files. A "Main.html" file opens a window "pluginWindow", and creates a plugin using: netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect'); var obj = Components.classes[cid].createInstance(); plugin = obj.QueryInterface(Components.interfaces.IPlugin); plugin.addObserver(handleEvent); The plugin that has 3 methods. IPlugin.Read - Read data from plugin IPlugin.Write - Write data to the plugin IPlugin.addObserver - Add a callback handler for reading.