Closed
Bug 906333
Opened 11 years ago
Closed 11 years ago
remove HTMLSelectElement.prototype.iterator
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
People
(Reporter: bruant.d, Unassigned)
Details
Found that on Aurora 25. Not sure what that is.
From what I've seen it's not part of the standard
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#htmlselectelement
It is also not listed in the latest webidl file (?)
https://hg.mozilla.org/mozilla-central/file/74fe1012de43/dom/webidl/HTMLSelectElement.webidl
Comment 1•11 years ago
|
||
HTMLSelectElement has
getter Element? item(unsigned long index);
which means that it gets an iterator. W3C bug is <https://www.w3.org/Bugs/Public/show_bug.cgi?id=17648>.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Comment 2•11 years ago
|
||
A question here: what triggers the creation of the iterator?
The method name + the getter clause?
(Would like to be able to know from the webidl which interface will have an iterator property.)
Comment 3•11 years ago
|
||
"Having an indexed getter", i.e., a getter with an unsigned long argument.
Comment 4•11 years ago
|
||
Perfect thanx!
Reporter | ||
Comment 5•11 years ago
|
||
(In reply to :Ms2ger from comment #1)
> HTMLSelectElement has
>
> getter Element? item(unsigned long index);
>
> which means that it gets an iterator. W3C bug is
> <https://www.w3.org/Bugs/Public/show_bug.cgi?id=17648>.
oh ok, I wasn't aware of that.
Also, I thought the agreement for iterator was a unique symbol... Alright I'll look up all of that.
Thanks for the quick response!
Reporter | ||
Comment 6•11 years ago
|
||
Ok, I looked into it and I believe a misunderstanding slipped through the cracks
http://lists.w3.org/Archives/Public/public-script-coord/2013JulSep/0431.html
We'll see what people say.
Comment 7•11 years ago
|
||
This was added in bug 725907. I don't think we should remove this just from DOM objects if the JS engine still has support for this on the ES objects.
You need to log in
before you can comment on or make changes to this bug.
Description
•