Closed Bug 1121727 Opened 10 years ago Closed 8 months ago

Remove non-standard Iterator usage: for loops

Categories

(MailNews Core :: Backend, task)

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: aryx, Assigned: aryx)

References

Details

Attachments

(2 files)

Remove the non-standard Iterator usage to allow better usage of external javascript tools like code validators, and to prevent potential bustage. This bug is about leftover from |for| loops seen while checking for |for ... in| destructuring. DXR url: https://dxr.mozilla.org/comm-central/search?q=regexp%3Afor\s*\%28%28var|let%29%3F\s%2B\%5B&case=true&redirect=true
Comment on attachment 8549238 [details] [diff] [review] /mail/test, v2 Review of attachment 8549238 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, r=mkmelin
Attachment #8549238 - Flags: review?(mkmelin+mozilla) → review+
Attachment #8549239 - Flags: review?(mkmelin+mozilla) → review+
Great work cleaning these up! But I assume the changes in test-iteratorUtils.js here are bitrotted due to bug 1123117. Can you refresh the patch? Other than that, is this ready for check in? Or are the more patches to upload?
Any news?
Iterator() was removed in m-c (bug 1098412) and we adapted c-c to no longer use it (bug 1395116). It may be the code that this patch fixes is no longer there. As the patches didn't land 3 years ago, they need an overhaul now. Aryx?
Flags: needinfo?(aryx.bugmail)

Aryx?

Type: defect → task
Severity: normal → S3

Magnus is this still needed?

Flags: needinfo?(aryx.bugmail) → needinfo?(mkmelin+mozilla)

No, no longer relevant.

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Flags: needinfo?(mkmelin+mozilla)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: