Closed
Bug 775781
Opened 12 years ago
Closed 7 years ago
Convert services/ JS code to use proper iteration
Categories
(Firefox :: Sync, defect, P4)
Firefox
Sync
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: gps, Unassigned)
References
Details
Lots of JS code in services/ has comments like "Use Set or Map when iteration is possible" or makes heavy use of "for (let [k, v] in Iterator(foo))."
Once some upstream bugs are landed, we can finally remove this collective blight in our code.
We can now reference this bug in TODOs where we code workarounds.
Updated•9 years ago
|
Flags: firefox-backlog+
Priority: -- → P4
Comment 1•7 years ago
|
||
`Iterator` is gone from Firefox. We use `Set` and `Map` where it makes sense now, and `Object.entries` for POJOs.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•