Closed Bug 952375 Opened 12 years ago Closed 12 years ago

UnionConversions should include headers for external interfaces too

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

In particular, otherwise we don't even know that they inherit from nsISupports, and bad things happen.
Whiteboard: [need review]
Comment on attachment 8350455 [details] [diff] [review] Include headers for external interfaces in UnionConversions.h. Review of attachment 8350455 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bindings/Codegen.py @@ +882,5 @@ > + try: > + typeDesc = p.getDescriptor(f.inner.identifier.name) > + except NoSuchDescriptorError: > + continue > + headers.add(typeDesc.headerFile) Do external interfaces have a worker/non-worker distinction? Or can we just use the first provider found?
Attachment #8350455 - Flags: review?(dzbarsky) → review+
> Do external interfaces have a worker/non-worker distinction? In general, yes. Hopefully we can just kill off external interfaces soon...
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla29
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: