Closed
Bug 400241
Opened 18 years ago
Closed 4 years ago
Scrollbar widget in content panel (overflow: scroll) has no XPConnect privileges
Categories
(Core :: Security: CAPS, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: WeirdAl, Unassigned)
Details
Today, when working on a nsIScriptableScroller interface, I tried adding something like this to toolkit/content/widgets/scrollbar.xml:
this.parentNode.scroller = Components.classes[scrollerClass].createInstance(nsIScriptableScroller);
When I tried executing this, the script security manager vetoed, saying:
JavaScript error: , line 0: uncaught exception: Permission denied to get property XPCComponents.classes
I'm not entirely sure this is wrong from a security standpoint, but it would be nice to grant additional privileges to content the user cannot reach by script.
Updated•4 years ago
|
Assignee: dveditz → nobody
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•