Closed Bug 790913 Opened 7 years ago Closed 7 years ago

denied UniversalXPConnect privileges

Categories

(Core :: General, defect, P1, blocker)

15 Branch
x86
Windows 7
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: angelo.borsotti, Unassigned)

Details

Attachments

(1 file)

Attached file errorprivileges.html
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

Opened a page that contains javascript and that works fine with
Firefox 14, but does not with Firefox 15.


Actual results:

The following message was displayed:

Error: A script from "file://" was denied UniversalXPConnect privileges.


Expected results:

A dialogue box should have been displayed asking if I wanted to
grant the privilege, as it does with Firefox 14 (and earlier).
Severity: normal → blocker
Priority: -- → P1
enablePrivilege is being completely removed from the platform.
Group: core-security
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
It is as if it had already been removed since there is no way to
make it grant the privilege.
What is then the replacement?
In Firefox 15 you can grant privileges in some cases by manually setting preferences.

In Firefox 17, I believe that has been removed too.

The replacement is to write an extension if you need to run privileged code.
I set manually the preferences by adding to the prefs.js file
(in the profile directory) the appropriate lines, but have
got the same error message.
Hence "in some cases".  For file:// URIs there are some ... issues, as I recall.
You need to log in before you can comment on or make changes to this bug.