warning: interface 'nsIScriptSecurityManager' is scriptable but derives from non-scriptable 'nsIXPCSecurityManager', /mozilla/caps/idl/nsIScriptSecurityManager.idl line 14:0

RESOLVED DUPLICATE of bug 331178

Status

()

defect
RESOLVED DUPLICATE of bug 331178
7 years ago
7 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

(Blocks 1 bug)

Trunk
x86_64
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

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
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?
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 331178
You need to log in before you can comment on or make changes to this bug.