Closed Bug 775781 Opened 12 years ago Closed 7 years ago

Convert services/ JS code to use proper iteration

Categories

(Firefox :: Sync, defect, P4)

defect

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.
Flags: firefox-backlog+
Priority: -- → P4
`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
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.