Closed Bug 1765310 Opened 2 years ago Closed 2 years ago

Break down SAA autogrant logic into named helper functions

Categories

(Core :: Privacy: Anti-Tracking, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: bvandersloot, Assigned: bvandersloot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This should make reading the storage access calls easier and let us understand the ordering of our browser-specific language at a glance.

Some reordering and pulling out the largest piece as a helper was all that needed to be done here.
This makes all stages more readable. I considered breaking up AntiTrackingUtils::CountStoragePermissions
further, but I think inline comments are sufficient

Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED
Pushed by bvandersloot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/77d4e91d37f5
Break down SAA autogrant logic into named helper functions, r=anti-tracking-reviewers,timhuang

Backed out for causing build bustages on Document.cpp

Backout link

Push with failures

Failure log

Flags: needinfo?(bvandersloot)
Pushed by bvandersloot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0f038003e025
Break down SAA autogrant logic into named helper functions, r=anti-tracking-reviewers,timhuang

Should have fixed the breakage with that last push.

Flags: needinfo?(bvandersloot)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: