Closed Bug 1590521 Opened 5 years ago Closed 4 years ago

[Fission] rename various Legacy*SH classes to something more descriptive

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX
Fission Milestone M6

People

(Reporter: smaug, Assigned: smaug)

References

(Blocks 1 open bug)

Details

Currently ash has rather hard to understand naming for various class, and at least for me the naming makes it really hard to review the code.

LegacySHEntry is an SHEntry in parent process. Nothing really legacy there.

nsLegacySHEntry is a very different class. It is basically the old nsSHEntry class.

nsSHEntry isn't what nsSHEntry used to be, but it is a base class.

LegacySHistory is an nsISHistory implementation in parent process, something to be used as parent side of the IPC stuff.

nsSHistory is the actual legacy nsISHistory implementation

I'm proposing to change:
LegacySHEntry -> ParentProcessSHEntry
nsLegacySHEntry -> SameProcessSHEntry, or could be SingleProcessSHEntry
nsSHEntry -> SHEntryBase
LegacySHistory -> ParentProcessSHistory
nsSHistory -> SameProcessSHistory, or could be SingleProcessSHEntry

I think I prefer the SingleProcess variants, since they hint about non-IPC-shistory.

I prefer SingleProcess variants to SameProcessSHistory, to distinguish non-IPC-shistory case from concepts of same process-ness in Fission.

I still don't think we should care about it at this point in the project. If you insist on going through with it you need to approach it in light of the redesign, so that we don't have to rename everything again once we removed all the obsolete classes (which I personally think is everything except nsSHistory and nsSHEntry).

Priority: -- → P2

Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → ?

Peter says some session patches are in flight and we don't want to bit rot those patches by renaming these Legacy*SH classes yet.

Tracking for Fission Nightly (M6)

Fission Milestone: ? → M6
Priority: P2 → P3
Depends on: 1546759

These classes are gone.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.