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)

task

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.

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.

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
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: