Open Bug 1848788 Opened 11 months ago Updated 11 months ago

Make [NewObject] no-op and make the current behavior out-out

Categories

(Core :: DOM: Bindings (WebIDL), task)

task

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

Details

Specifications frequently omit [NewObject] because it means nothing to specs. It's confusing that Gecko has build time behavior for NewObject as it's frequently ignored when developers copy-paste the IDL from the spec.

For now what NewObject does in Gecko are:

Can we make these behavior by default and provide a way to opt-out by other attributes, so that it can be more straightforward to align Gecko IDL with spec IDLs?

You need to log in before you can comment on or make changes to this bug.