Open Bug 695938 Opened 13 years ago Updated 2 years ago

XPIDL compiler should require [noscript] for nsIID

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

People

(Reporter: bholley, Unassigned)

Details

In a very small number of places, we use nsIID directly in our IDL (rather than nsIIDRef or nsIIDPtr) for out parameters to eliminate a level of indirection (the C++ method takes an nsIID* rather than an nsIID**). XPConnect can't handle this, so it currently avoids dealing with such methods in XPCConvert::IsMethodReflectable() by examining XPT_TDP_POINTER. However, those bits are going away in bug 692342. As such, we should enforce this in the compiler.
AFAICT, the only remaining use of nsIID in IDL files is nsIVariant::getAsArray.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.