W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 20407] allow attributes to have different types for their getter and setter

From: <bugzilla@jessica.w3.org>
Date: Mon, 17 Dec 2012 10:26:07 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20407-3890-TAp5GmiAxv@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20407

Robin Berjon <robin@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robin@w3.org

--- Comment #2 from Robin Berjon <robin@w3.org> ---
(In reply to comment #1)
> Feels ugly to me. Reminds me of PutForwards.

Is it the syntax or the feature that you find ugly? If it's the syntax, we can
certainly bikeshed it, e.g.:

    attribute FileList?/(FileList? or sequence<Blob>) files;

and many other variants. But I don't think that we can dodge the fact that the
feature itself represents a genuine need.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 17 December 2012 10:26:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC