Closed
Bug 811448
Opened 13 years ago
Closed 12 years ago
warning: interface 'nsIScriptSecurityManager' is scriptable but derives from non-scriptable 'nsIXPCSecurityManager', /mozilla/caps/idl/nsIScriptSecurityManager.idl line 14:0
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 331178
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
Build warning:
{
warning: interface 'nsIScriptSecurityManager' is scriptable but derives from non-scriptable 'nsIXPCSecurityManager', /mozilla/caps/idl/nsIScriptSecurityManager.idl line 14:0
}
Perhaps nsIXPCSecurityManager should be flagged as scriptable? Or, is there some security benefit that we get from having it (but not its derived interface) be non-scriptable?
FWIW, nsIScriptSecurityManager has been scriptable since the first patch on bug 55237 landed (in 2000):
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/caps/idl&command=DIFF_FRAMESET&file=nsIScriptSecurityManager.idl&rev2=1.32&rev1=1.31
Comment 1•13 years ago
|
||
The two interfaces are kind of unrelated, and only ever implemented by one nontrivial class anyway. Maybe we should just remove the inheritance and make nsScriptSecurityManager inherit both separately?
![]() |
||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•