Closed Bug 1786263 Opened 4 years ago Closed 4 years ago

CookieBannerListService onSync throws for updated records

Categories

(Core :: Privacy: Anti-Tracking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: emz, Assigned: emz)

References

Details

Attachments

(1 external file)

The updated records "onSync" don't have the same format as created here: https://searchfox.org/mozilla-central/rev/9cd1e8cabf67ef5a47e95d70b7f40c9d3ad02ad0/toolkit/components/cookiebanners/CookieBannerListService.jsm#89 which means we can't simply concat the array. For the updated records we need to unwrap the object { old, new } and write new.

Assignee: nobody → pbz
Status: NEW → ASSIGNED
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4e7c18f63bd0 Unwrap RemoteSettings updated object when importing updated cookie banner rules. r=timhuang
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: