Open Bug 1765337 Opened 4 years ago Updated 4 years ago

Make StorageDisabledByAntiTracking variants private to the antitracking component

Categories

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

enhancement

Tracking

()

People

(Reporter: bvandersloot, Unassigned)

References

(Blocks 1 open bug)

Details

These functions modify an argument uint32_t& aRejectedReason to pass a significant information to the caller about their internals. This is very leaky and pushes a lot of logic to the call site in how to handle the various flags listed here:

https://searchfox.org/mozilla-central/rev/4b3039b48c3cb67774270ebcc2a7d8624d888092/uriloader/base/nsIWebProgressListener.idl#328-348

The content blocking event flags will be used not only by the AT module but also by the UI and the Geckoview. So, we need to be careful about that if we want to move them to somewhere else.

You need to log in before you can comment on or make changes to this bug.