Closed Bug 1565164 Opened 5 years ago Closed 4 years ago

Rename "plurals" modules to Lists or equivalent

Categories

(Remote Protocol :: Agent, enhancement, P1)

enhancement

Tracking

(firefox74 fixed)

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

(Reporter: ochameau, Assigned: ato)

References

Details

(Whiteboard: [puppeteer-beta-mvp])

Attachments

(2 files)

Today we have a few modules/classes which are named in plurals, like Targets and Domains.
They live alongside singular modules/classes, which make it not so obvious to know what we are talking about.

I believe that the code would be easier to understand if we rename them to TargetList and DomainList or equivalent.

We talked about having domain manifests which explicitly maps a
method to the right object prototype. How does that relate to this?

Priority: -- → P3
Assignee: nobody → ato
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [puppeteer-beta-reserve]
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta-mvp]
Attachment #9118510 - Attachment description: bug 1565164: remote: s/Targets/TargetList/ → bug 1565164: remote: rename Targets TargetList
Attachment #9118511 - Attachment description: bug 1565164: remote: s/Domains/DomainCache/ → bug 1565164: remote: rename Domains DomainCache
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a059a9ee12d1
remote: rename Targets TargetList r=remote-protocol-reviewers,whimboo
https://hg.mozilla.org/integration/autoland/rev/ded9e8e2beab
remote: rename Domains DomainCache r=remote-protocol-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: