[Bug 24959] "Exposed=Window,Worker" will be parsed to 2 extended attributes

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24959

--- Comment #10 from Dirk Schulze <dschulze@adobe.com> ---
(In reply to Cameron McCormack from comment #9)
> I've gone with Nils' suggestion of parenthesizing the identifier list, but
> also allowing a single bare identifier.
> 
> https://github.com/heycam/webidl/commit/
> 0527ec461492849d310257c50a7d2c54b4632b91

I really don't think that this is a good idea.

With parenthesizing we have a slightly more complex IDL definition that needs
to be maintained. IMO a IDL code generator must be as light weighted as
possible and as maintainable as possible. After all, we are trusting the
generator to produce code so that we don't need to do it manually. Everything
that is less error prone is good for WebIDL. IMO a new separator is easier then
scanning for start and end parenthesis.

Another argument in favor of a new separator is that we have at least two
implementations with experience in it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 23 July 2014 06:04:39 UTC