Closed
Bug 12187
Opened 25 years ago
Closed 25 years ago
xpidl accepts native attributes on [scriptable] interfaces
Categories
(Core :: XPCOM, enhancement, P3)
Tracking
()
People
(Reporter: mang, Assigned: mike+mozilla)
Details
The following compiles without warning or error. The Get and Set methods are
generated.
Having a native type as an attribute on a [scriptable] interface should be an
error, just as having native types in a [scriptable] method is an error.
--
[ptr] native nsNativeType(short);
[scriptable, uuid(7CB5B7A1-07D7-11d3-BDE2-000064657374)]
interface nsISample : nsISupports
{
[...]
attribute nsNativeType bogus;
};
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•