Open Bug 615497 Opened 14 years ago Updated 2 years ago

separated list of capability.policy.policynames

Categories

(Firefox :: Security, defect)

3.6 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: essikman, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

Prefs.js
Space-separated list of all policies
user_pref("capability.policy.policynames", "localfilelinks allowclipboard");
only last entry will be executed (allowclipboard).
If order of entries is changed, localfilelinks is allowed.




Reproducible: Always

Steps to Reproduce:
edit prefs.js
My prefs.js
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.allowclipboard.sites", "https://intranet");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
user_pref("capability.policy.localfilelinks.sites", "https://intranet");
user_pref("capability.policy.policynames", "localfilelinks allowclipboard");
Version: unspecified → 3.6 Branch
On my list separating with coma sign (",") works.
I also want to use both "localfilelinks" and "allowclipboard" and it does neither work with a comma separated nor with a space separated list. I use Firefox 7.0.1 and I have tried the settings in both "prefs.js" and "user.js". Like mentioned in the description of this bug, always the last entry will be taken.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.