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)
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,
....
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•26 years ago
|
||
Oops. Fixed this a while ago.
Comment 2•26 years ago
|
||
Vidur,
Do you have a specific testcase for this?
Assignee | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 3•26 years ago
|
||
The bug popped up in dom/public/idl/css/CSSRule.idl (the generated file is
dom/public/css/nsIDOMCSSRule.h). It works now.
Updated•18 years ago
|
Flags: in-testsuite-
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•