cancel
Showing results for 
Search instead for 
Did you mean: 

netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not works anymore afer ff15.0.1 update ?

SOLVED
Highlighted
New Contributor

netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not works anymore afer ff15.0.1 update ?

since ff 15.0.1 update ( today) netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not ask for the privilege anymore ... Is the xpcom interface outdated ?

1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

Re: netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not works anymore afer ff15.0.1 update ?

Yes. Starting in Firefox 17 privileged code can not run in a web page anymore. In Firefox 15 you have to manually change a setting to enable it. You can bring that kind of functionality to an extension. Starting points: https://developer.mozilla.org/en-US/docs/Code_snippets/Interaction_between_privileged_and_non-privil...

For beginners: https://developer.mozilla.org/en-US/docs/XUL_School/Getting_Started_with_Firefox_Extensions

More information: https://developer.mozilla.org/en-US/docs/Bypassing_Security_Restrictions_and_Signing_Code

4 REPLIES
Site Moderator

Re: netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not works anymore afer ff15.0.1 update ?

See:

(please do not comment in bug reports)

New Contributor

Re: netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not works anymore afer ff15.0.1 update ?

So, all the stuff to read directory entries or save files ( json ) are gone ? what are the alternatives ?

New Contributor

Re: netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not works anymore afer ff15.0.1 update ?

Yes. Starting in Firefox 17 privileged code can not run in a web page anymore. In Firefox 15 you have to manually change a setting to enable it. You can bring that kind of functionality to an extension. Starting points: https://developer.mozilla.org/en-US/docs/Code_snippets/Interaction_between_privileged_and_non-privil...

For beginners: https://developer.mozilla.org/en-US/docs/XUL_School/Getting_Started_with_Firefox_Extensions

More information: https://developer.mozilla.org/en-US/docs/Bypassing_Security_Restrictions_and_Signing_Code

New Contributor

Re: netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") does not works anymore afer ff15.0.1 update ?

No, It does not help .... My aim is not being able create an extension.... My aim is to save some xml data to a file stored on the hard disk ! I have not seen here any reply regarding this MAIN problem !