Closed
Bug 2081929
Opened 1 month ago
Closed 1 month ago
Newtab score-based selection serialize score refreshes and clearing with an exclusive lock
Categories
(Firefox :: New Tab Page, task)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: ddurfee, Assigned: ddurfee)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
No description provided.
| Assignee | ||
Comment 1•1 month ago
|
||
A refresh could start while clearData() was waiting on the cache, then write
the score history back after it was cleared. Run refreshes and clears under
the same Web Locks API lock so that only one runs at a time. A refresh that
waits behind a clear then sees the restarted release interval and writes
nothing.
Updated•1 month ago
|
Assignee: nobody → ddurfee
Status: NEW → ASSIGNED
Pushed by mconley@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/95dea7de136e
https://hg.mozilla.org/integration/autoland/rev/3dff1268c582
Serialize sponsored score refreshes and clearing with an exclusive lock. r=mconley,bbirdsong
Comment 3•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox160:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Updated•25 days ago
|
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in
before you can comment on or make changes to this bug.
Description
•