Closed Bug 306398 Opened 19 years ago Closed 8 months ago

Security capabilities strongly tied to JS

Categories

(Core :: Security: CAPS, defect)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Assigned: dveditz)

References

Details

Capabilities cannot be enabled on a per-principal basis for non-system
principals.  That is, for a non-system principal, we can only enable a
capability for a (principal, JSStackFrame) pair, not for the principal itself.

Quite apart from the JS dependency this introduces into the security manager
(and which may not be a huge issue if all our untrusted script will always be
JS), this means that it's impossible to request a capability, or to usefully
check for it, outside the context of executing JS.  That prevents a sensible fix
for bug 306397.  See also discussion in bug 299518.
QA Contact: caps
Severity: normal → S3

capabilities are gone

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