Closed
Bug 1715998
Opened 5 years ago
Closed 4 years ago
Iterator's equality operator should also compare the enumeration
Categories
(Core :: Internationalization, defect, P3)
Core
Internationalization
Tracking
()
RESOLVED
DUPLICATE
of bug 1716001
| Tracking | Status | |
|---|---|---|
| firefox91 | --- | affected |
People
(Reporter: anba, Unassigned)
References
Details
(Whiteboard: [i18n-unification])
The current equality operator for Enumeration::Iterator only compares the current iteration count:
bool operator==(Iterator other) const {
return mIteration == other.mIteration;
}
But it should probably also compare the Enumeration, because as currently written two iterators with the same iteration count are considered equal to each other.
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
Updated•4 years ago
|
Whiteboard: [i18n-unification]
Comment 1•4 years ago
|
||
Marking as a duplicate since we have a different solution outlined in Bug 1716001 that will make this issue go away.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•