On 13 Dec 2006 10:54:28 -0800, adamsrobw <[EMAIL PROTECTED]> wrote:
I'm getting the following firefox errors when adding any javascript
code at all to my callback function that I pass into
nsIObserverService:
[snip]
As this seems to point to some fundamental firefox security issue, I
think the only way to find the answer is through this forum. I tried
enabling all the remaining PrivelageManagers to no avail.  I still have
to figure out how to stop the users from being prompted about security
when I use my existing 'UniversalXPConnect' enable.

Why do you need to use the observer service from unprivileged code (webpage?).

Calling the netscape.security.PrivilegeManager.enablePrivilege once
again in the observer function should fix the exception.

Nickolay
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to