Closed Bug 144857 Opened 22 years ago Closed 22 years ago

Bugzilla Helper: popup doesn't open

Categories

(Core :: Security: CAPS, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: vincent-moz, Assigned: security-bugs)

Details

Popup blocking doesn't work very well. My prefs.js contains:

user_pref("capability.policy.allowpopups.Window.open", "sameOrigin");
user_pref("capability.policy.allowpopups.sites", "http://www.mozilla.org
http://bugzilla.mozilla.org");
user_pref("capability.policy.default.Window.open", "noAccess");

but the popup on Bugzilla Helper doesn't open.

This problem occurs on Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0+)
Gecko/20020510, but also occurred on Mozilla 2002040108 under PC/Linux. This
used to work with older versions.
-> Caps
Assignee: Matti → mstoltz
Component: Browser-General → Security: CAPS
QA Contact: imajes-qa → bsharma
Vincent,
   Do you have this line in your prefs?
user_pref("capability.policy.policynames", "allowpopups");

This is a requirement for per-site policies to work. Also, do you know about the
"smart" popup blocker? It's
user_pref("dom.disable_open_during_load", true);

If adding the "policynames" line doesn't fix the problem, please let me know here.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Thanks, the policynames line fixes the problem (I've just seen that it is needed
as of Mozilla 0.9.9). I also have the disable_open_during_load line (which was
added recently IIRC).
Good to hear that. OK, resolving bug.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.