[whatwg] Adding FormData support to <form>
Tab Atkins Jr.
jackalmage at gmail.com
Thu Feb 18 20:36:10 PST 2010
On Thu, Feb 18, 2010 at 10:28 PM, Maciej Stachowiak <mjs at apple.com> wrote:
> However, I also think 0-argument getters are a bad pattern in JavaScript.
> Why not just use an attribute?
>
> interface HTMLFormElement : HTMLElement {
> ...
> readonly attribute FormData formData;
> ...
> };
Jonas addressed that in the original email - he (rightfully, I feel)
fears that if it's an attribute, people will assume that it can be
assigned to.
I see absolutely nothing wrong with 0-argument getters, personally.
~TJ
More information about the whatwg
mailing list