Closed Bug 1664655 Opened 5 years ago Closed 5 years ago

Make nsDocShell::SynchronizeLayoutHistoryState update loading entry

Categories

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

defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: peterv, Assigned: peterv)

References

Details

Attachments

(1 file)

With session history in the parent we don't have real shared data for session history entries in the child process. When we load a new page we synchronize the layout history data on the currently active entry when unloading the page. If the newly loading page shares data with the previous page, then at that point the loading entry has already been created in the child process, but it's missing the synchronized layout history data.
Maybe we should consider real shared data in the child process. For now, updating the loading entry when needed seems to work well enough to fix a bunch of tests.

Severity: -- → S3
Priority: -- → P2
Attachment #9175396 - Attachment description: Bug 1664655 - Update loading entry's layout history state if it shares it with the current active entry. → Bug 1664655 - Update loading entry's layout history state if it shares it with the current active entry. r=smaug
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac1e652efeb6 Update loading entry's layout history state if it shares it with the current active entry. r=smaug
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e810830b97de Update loading entry's layout history state if it shares it with the current active entry. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Flags: needinfo?(peterv)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: