mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00

We change it from taking bool aIsCallerChrome to Maybe<bool> aShouldResistFingerprinting. If there is a value in there, it is used for determining RFP status. If not, we call ShouldRFP with the provided Document. This is needed because on a Worker, we wind up in UserAgent with no Document, we need to pass the RFP decision in from WorkerPrivate. Differential Revision: https://phabricator.services.mozilla.com/D144581