Closed
Bug 503120
Opened 17 years ago
Closed 17 years ago
Add idl notation for privileged scripts only
Categories
(Core :: XPConnect, enhancement)
Core
XPConnect
Tracking
()
RESOLVED
INVALID
People
(Reporter: Natch, Unassigned)
Details
It would be really convenient if there would be an idl notation to indicate that any given function or interface is meant for privileged scripts only. So instead of going through nsContentUtils::IsCallerChrome it would be done automagically and probably more securely.
Something like [chrome] short function(in foo, in bar);
| Reporter | ||
Updated•17 years ago
|
Flags: wanted1.9.2?
| Reporter | ||
Comment 1•17 years ago
|
||
OK, after further looking through some of this it seems that XPConnect has WANT_CHECKACCESS, so that would probably work for any DOM classes.
->INVALID
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
| Reporter | ||
Updated•15 years ago
|
Flags: wanted1.9.2?
You need to log in
before you can comment on or make changes to this bug.
Description
•