[whatwg] Removing multiple attribute from <input type=file multiple> with selected files

>> I would prefer not to throw an exception. Making removeAttribute throw
>> an exception seems wrong since the attribute *is* in fact removed, and
>> making foo.multiple=false throw would mean that it would behave
>> differently from all other "mapped" IDL attributes.

>> I'd really prefer to keep things simple here as I doubt that this is
>> something that anyone will ever do. Much less depend on a particular
>> behavior.

>> You're off course free to put a warning in a developer console or
>> something like that though.

> I buy that. A warning seems appropriate. I'm sure *someone* will do this
> someday, but it's probably rare enough that it's not worth putting effort
> into.

Yeah, a warning seems reasonable. The current implementation of WebKit does
nothing, and I might add the warning if the spec say nothing about this.

Thank you.

--
TAMURA Kent
Software Engineer, Google

Received on Monday, 14 December 2009 20:54:19 UTC