Closed Bug 64737 Opened 25 years ago Closed 3 years ago

Capabilities configurable by trigger

Categories

(Core :: Security, enhancement, P3)

enhancement

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: BenB, Assigned: dveditz)

References

Details

Split-off from bug 29346. I wrote at 2001-01-07 06:04: > Making the suggestion a bit more general, it would be cool to have classes of > "triggers" (onload, onclose, onclick, oncommand etc.) as well as classes of > actions and allowing the user to forbid or allow only combinations of them. E.g. in order to disable pop-up ads, but allow pop-up windows caused by clicking on a "link", it would be useful to set the en-/disabling of the function window.open depending on where the function has been called. In the example, I would disallow window.open in onLoad / onUnload (for http sites), but allow it in onclick "scripts". mstoltz commented at 2001-01-08 10:47: > is the gain really worth the effort of > adding a whole new dimension to the security manager? I don't know :).
Bug 33448 might depend on this bug.
Nice idea. If you know someone who wants to implement it (Ben, want to give it a try?) they are welcome to it.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Personally, I think this would add too much complexity to the security model, which is already complex enough. But if someone else wants to implement it...
Blocks: 33448
Target is now 0.9.5, Priority P2.
Priority: -- → P2
Target Milestone: Future → mozilla0.9.5
Let's revisit this, now that we have a primitive mechanism in place (see bug 92955). This should be generalized so that it can apply to more event types and any DOM property.
*** Bug 99093 has been marked as a duplicate of this bug. ***
See bug 99093 for reasons why you might want to implement this.
No longer blocks: oncontextmenu
time marches on. Retargeting to 0.9.6.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
performance, footprint, feature work, and re-architecture bugs will be addressed in 0.9.8
Target Milestone: mozilla0.9.6 → mozilla0.9.8
As nice as this would be, I don't see why it can't wait until post-1.0. The dom_disable_during_load pref is good enough for the time being, really.
I seconded the idea on bug 38966 (the UI for security prefs), and was redirected to this bug. Voting for this bug because it seems like a good idea.
Future
Target Milestone: mozilla0.9.8 → Future
*** Bug 188259 has been marked as a duplicate of this bug. ***
*** Bug 185384 has been marked as a duplicate of this bug. ***
Assignee: security-bugs → dveditz
Status: ASSIGNED → NEW
QA Contact: ckritzer → toolkit
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Severity: normal → S3

Capabilities are long gone

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.