Closed Bug 1656 Opened 26 years ago Closed 26 years ago

IDL->XPCOM generator has a bug with a enum with value 0

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: vidur, Assigned: vidur)

Details

interface CSSRule { /* IID: { 0xa6cf90c1, 0x15b3, 0x11d2, \ {0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} } */ const unsigned short UNKNOWN_RULE = 0; const unsigned short STYLE_RULE = 1; const unsigned short IMPORT_RULE = 2; const unsigned short MEDIA_RULE = 3; const unsigned short FONT_FACE_RULE = 4; ... generates class nsIDOMCSSRule : public nsISupports { public: enum { UNKNOWN_RULE = 14005568, STYLE_RULE = 1, IMPORT_RULE = 2, MEDIA_RULE = 3, FONT_FACE_RULE = 4, ....
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Oops. Fixed this a while ago.
QA Contact: 4015
QA Contact: 4015 → 4120
Vidur, Do you have a specific testcase for this?
Status: RESOLVED → VERIFIED
The bug popped up in dom/public/idl/css/CSSRule.idl (the generated file is dom/public/css/nsIDOMCSSRule.h). It works now.
Depends on: 47310
No longer depends on: 47310
Flags: in-testsuite-
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.