Closed Bug 503120 Opened 17 years ago Closed 17 years ago

Add idl notation for privileged scripts only

Categories

(Core :: XPConnect, enhancement)

enhancement
Not set
normal

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);
Flags: wanted1.9.2?
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
Flags: wanted1.9.2?
You need to log in before you can comment on or make changes to this bug.