Closed Bug 1579213 Opened 6 years ago Closed 6 years ago

Remove unused fields from nsFrameLoader::ChangeRemoteness API

Categories

(Core :: DOM: Navigation, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla71
Fission Milestone M4
Tracking Status
firefox71 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(1 file)

No description provided.

This patch changes a few things about how nsFrameLoader is created, specifically
around the ChangeRemoteness API.

  1. The private 'nsFrameLoader::nsFrameLoader' constructor has been simplified to
    only have one overload, shared by the different ::Create static methods.

  2. The creation static method used by ChangeRemoteness has changed name to
    ::Recreate, as the signature is becoming more like the old method.

  3. The mNetworkCreated bit is preserved when doing a ChangeRemoteness, as a
    remoteness change shouldn't be affecting that property.

  4. Unused fields are removed from the ChangeRemoteness API.

  5. The remoteType attribute is now mandatory in the ChangeRemoteness API,
    which simplifies the logic and makes it harder to accidentally misuse.

Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9b362210b4e5 Remove unused fields from ChangeRemoteness API, r=farre
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Regressions: 1581004
See Also: → 1545518
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: