Closed
Bug 1942095
Opened 1 year ago
Closed 8 months ago
Newtab startupcache race condition
Categories
(Firefox :: New Tab Page, defect, P2)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
141 Branch
| Tracking | Status | |
|---|---|---|
| firefox141 | --- | fixed |
People
(Reporter: thecount, Assigned: thecount, NeedInfo)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [hnt-trainhop-project])
Attachments
(1 file)
Seeing a couple race conditions with the startup cache.
The big one being:
- If the events that flip isForStartupCache happen before startup cached page has rehydrated, the rehydrated page doesn't have the updated state from those events.
Other race condition I have found:
2. If sponsored topsites finishes before sponsored stories, or vice versa, and flips isForStartupCache, the other section displays a cached ad.
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Severity: -- → S4
Priority: -- → P2
Updated•11 months ago
|
Attachment #9459954 -
Attachment description: WIP: Bug 1942095 - Newtab fixing startupcache race conditions. → Bug 1942095 - Newtab fixing startupcache race conditions.
Comment 2•11 months ago
|
||
It turns out that bundling as a built-in addon makes these kinds of races more likely to occur, so we should get this landed before bug 1949511 changes our default packaging to be as a built-in addon.
Blocks: 1949511
Whiteboard: [hnt-trainhop]
Updated•11 months ago
|
Updated•11 months ago
|
Attachment #9459954 -
Attachment description: Bug 1942095 - Newtab fixing startupcache race conditions. → WIP: Bug 1942095 - Newtab fixing startupcache race conditions.
Updated•9 months ago
|
Attachment #9459954 -
Attachment description: WIP: Bug 1942095 - Newtab fixing startupcache race conditions. → Bug 1942095 - Newtab fixing startupcache race conditions.
Pushed by sdowne@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/32108159b296
Newtab fixing startupcache race conditions. r=home-newtab-reviewers,mconley
Pushed by smolnar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ee89e21f7e66
Revert "Bug 1942095 - Newtab fixing startupcache race conditions. r=home-newtab-reviewers,mconley" for causing bc failures @ browser_overwrite_cache.js
Comment 5•8 months ago
|
||
Backed out for causing bc failures @ browser_overwrite_cache.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/ee89e21f7e667bc06ba73169a152dc3d11d1d24b
Flags: needinfo?(sdowne)
Updated•8 months ago
|
Attachment #9459954 -
Attachment description: Bug 1942095 - Newtab fixing startupcache race conditions. → Bug 1942095 - Newtab fixing startupcache race conditions
Pushed by sdowne@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4cb26c054a29
Newtab fixing startupcache race conditions r=home-newtab-reviewers,mconley
Comment 7•8 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 months ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Updated•7 months ago
|
QA Whiteboard: [qa-triage-done-c142/b141]
Comment 8•10 days ago
|
||
Mass moving from [hnt-trainhop] to [hnt-trainhop-project] for better JIRA book-keeping.
Whiteboard: [hnt-trainhop] → [hnt-trainhop-project]
Updated•10 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•