Closed Bug 1741132 Opened 3 years ago Closed 3 years ago

Correctly evict entries with session history in parent

Categories

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

defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: peterv, Assigned: peterv)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Current with SHIP we evict entries when we set a frameloader on the entry. However, this happens before we commit the entry. As a result we leave one entry too many when evicting, because we're not counting the entry that we just set the frameloader on. Evicting from CanonicalBrowsingContext::HistoryCommit seems to fix this, but I'm not sure whether we need to keep doing the eviction when setting the frameloader.

Blocks: 1736121
Severity: -- → S3
Priority: -- → P2
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1ad268a75fec Add a property for whether an entry is in the BFCache (holds a content viewer or a frame loader). r=smaug https://hg.mozilla.org/integration/autoland/rev/9b91c4d469d7 Correctly evict entries with session history in parent. r=smaug

Backed out 4 changesets (Bug 1741132, Bug 1740516, Bug 1740517) for causing mochitest failures on test_bug1741132.html.
Backout link
Push with failures
Failure Log

Flags: needinfo?(peterv)
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/18b226a67f6d Add a property for whether an entry is in the BFCache (holds a content viewer or a frame loader). r=smaug https://hg.mozilla.org/integration/autoland/rev/56a1fce20849 Correctly evict entries with session history in parent. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 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: