Open Bug 844904 Opened 12 years ago Updated 2 years ago

Example generator creates code that violates style guidelines

Categories

(Core :: DOM: Bindings (WebIDL), defect, P5)

defect

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

No description provided.
Details? Note that it's not quite clear in many cases what the "right" style is for this stuff, since it lives at the interface between Gecko code and JSAPI and they have different styles.
This came up in bug 650295. I think the main problem I've seen is that some arguments that aren't aFoo. Olli in that comment: "Check the coding style of parameters. If the example binding codegen uses wrong coding style, file a bug to get that fixed." Specifically: https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=650295&attachment=712684
Personally, I think DOM style makes sense for the example generator, as it is making code that will probably live in dom/ or content/ or whatever.
Yeah, DOM style makes sense, since the code taking the examples live in dom. So, aFoo and such.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Component: DOM: Core & HTML → DOM: Bindings (WebIDL)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.