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

[Bug 19571] .length should count optional arguments

From: <bugzilla@jessica.w3.org>
Date: Sat, 20 Oct 2012 17:52:37 +0000
To: public-script-coord@w3.org
Message-ID: <bug-19571-3890-ZdkFmqZOM8@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19571

--- Comment #6 from Aryeh Gregor <ayg@aryeh.name> ---
Thanks for the link, Rick!  I read through it briefly, and didn't come away
with any specific reasons to stick with the current spec other than "it better
matches existing built-ins, and we've discussed this detail far more than its
importance warrants, so please let's just stick with what we have".  To be
honest, though, that doesn't seem like a bad reason to me.  Even leaving aside
the rest parameter, .length is of dubious value anyway.  Plus, three out of
four browser engines just always set .length to 0 for WebIDL operations, so
it's not like it's really going to be useful to anyone anyway.

I still favor changing it based on the arguments I've seen so far, but if the
ES people have discussed it a lot and change looks unlikely, I'm not going to
try arguing.  It's not very important and we all have better things to do.  So
I'd be okay with WONTFIX as a resolution here, and Mozilla can land the change
to match the WebIDL spec.

(An alternative would be for WebIDL to deviate from ES, but that seems even
less desirable.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 20 October 2012 17:52:38 UTC

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