W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Jul 2014 06:04:38 +0000
To: public-script-coord@w3.org
Message-ID: <bug-24959-3890-wjxyhvVNPl@http.www.w3.org/Bugs/Public/>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:22 UTC