Closed Bug 1636279 Opened 5 years ago Closed 5 years ago

Unify WindowContext initialization logic

Categories

(Core :: DOM: Content Processes, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Fission Milestone M6a
Tracking Status
firefox78 --- fixed

People

(Reporter: nika, Assigned: nika)

Details

Attachments

(2 files)

No description provided.

This should make the flow of how data gets into the initial WindowContext state
more clear, and allows the setting of initial synced WindowContext fields.

When a new document is loaded in a WindowContext, various pieces of state need
to be updated in the parent process. This is currently done in an ad-hoc manner
in nsGlobalWindowOuter::SetNewDocument. This change moves the updating logic
into a common method on WindowGlobalChild.

Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a21ee20e9e60 Part 1: Streamline WindowContext initialization, r=farre https://hg.mozilla.org/integration/autoland/rev/dafeeb65bdf5 Part 2: Unify WindowContext new document state updating code, r=farre
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: