[Bug 20535] consider removing indexed property setters, creators and deleters

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

--- Comment #1 from Cameron McCormack cam@mcc.id.au ---

See also esdiscuss/2012-December/027688 for problems with [ArrayClass], which is related.

Contact us to advertise here
# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

Boris Zbarsky bzbarsky@mit.edu changed:

       What    |Removed                     |Added

             CC|                            |bzbarsky@mit.edu

--- Comment #2 from Boris Zbarsky bzbarsky@mit.edu ---

HTMLOptionsCollection has an indexed setter/creator, and that's required for web compat. I agree it's weird and bad design and generally crappy, but we can't get rid of it...

I'm not sure offhand whether anything needs deleters for backwards compat, but I doubt it.

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

Anne annevk@annevk.nl changed:

       What    |Removed                     |Added

             CC|                            |annevk@annevk.nl

--- Comment #3 from Anne annevk@annevk.nl ---

I missed HTMLOptionsCollection as it is not using the terms from IDL.

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

--- Comment #4 from Boris Zbarsky bzbarsky@mit.edu ---

Which terms, out of curiosity?

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

--- Comment #5 from Anne annevk@annevk.nl --- "indexed property setters" and friends.

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

--- Comment #6 from Boris Zbarsky bzbarsky@mit.edu ---

For what it's worth, HTMLSelectElement also has an indexed setter/creator, also required for web compat. I missed it in my scan last night because we haven't converted it to WebIDL yet.

# Garrett Smith (4 years ago)

On 12/31/12, bugzilla@jessica.w3.org bugzilla@jessica.w3.org wrote:

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

--- Comment #6 from Boris Zbarsky bzbarsky@mit.edu --- For what it's worth, HTMLSelectElement also has an indexed setter/creator, also ...an interesting length property.

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

Robin Berjon robin@w3.org changed:

       What    |Removed                     |Added

             CC|                            |robin@w3.org

--- Comment #7 from Robin Berjon robin@w3.org --- (In reply to comment #2)

HTMLOptionsCollection has an indexed setter/creator, and that's required for web compat. I agree it's weird and bad design and generally crappy, but we can't get rid of it...

I'm not sure offhand whether anything needs deleters for backwards compat, but I doubt it.

We can't get rid of what's needed for compat, but if we agree that they're bad design (which seems to be the case) we can rename them legacy* to flag the fact that they shouldn't be used for new APIs.

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

--- Comment #8 from Anne annevk@annevk.nl ---

Filed bug 20570 and bug 20571 on HTML.

# bugzilla at jessica.w3.org (4 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

Cameron McCormack cam@mcc.id.au changed:

       What    |Removed                     |Added

     Whiteboard|                            |[v1]
# bugzilla at jessica.w3.org (2 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

--- Comment #9 from Cameron McCormack cam@mcc.id.au ---

I removed indexed property deleters:

heycam/webidl/commit/291dcc397f48029ac3954b2b0e511f4c14c7631d

Leaving this open for potentially renaming the rest to legacy*.

# bugzilla at jessica.w3.org (3 months ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=20535

tatj11@yahoo.com changed:

       What    |Removed                     |Added

       Hardware|PC                          |All
             CC|                            |tatj11@yahoo.com

Want more features?

Request early access to our private beta of readable email premium.