webidl icon indicating copy to clipboard operation
webidl copied to clipboard

Order of includes statements is not a well-defined concept

Open bzbarsky opened this issue 8 years ago • 1 comments

https://heycam.github.io/webidl/#idl-interface-mixins says:

The order of appearance of includes statements affects the order in which interface mixin are included by their host interface.

But "order of appearance of includes statements" is not really defined, since they can appear in multiple specifications.

As a data point, what Gecko does in practice right now (pre-mixin, in the "implements" and consequential interface world), is to sort the consequential interfaces by name, then include their members in that order.

bzbarsky avatar Nov 03 '17 18:11 bzbarsky

Yeah, this is what I was trying to get at here: https://github.com/heycam/webidl/issues/432.

tobie avatar Nov 03 '17 20:11 tobie