Open Bug 924239 Opened 11 years ago Updated 2 years ago

Make the bindings codegen put enums in their own header

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned)

References

(Blocks 1 open bug)

Details

nsIDocument.h which is a very popular header needs to #include DocumentBinding.h for the VisibilityState enum. It would be really great if we could put these enums in their own header file, so that we can avoid including the js headers and such everywhere that nsIDocument.h is included.
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.