Closed
Bug 1433815
Opened 7 years ago
Closed 4 years ago
Ensure EnableOrientationChangeListener respects privacy.resistFingerprinting
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1532408
People
(Reporter: arthur, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tor-mobile][fingerprinting][fp-triaged])
In nsGlobalWindowInner.cpp we now have:
void
nsGlobalWindowInner::EnableOrientationChangeListener()
{
// XXX: mDocShell is never set on the inner window?
nsIDocShell* docShell = nullptr;
if (!nsContentUtils::ShouldResistFingerprinting(docShell) &&
!mOrientationChangeObserver) {
mOrientationChangeObserver =
MakeUnique<WindowOrientationObserver>(this);
}
}
In this case, nsContentUtils::ShouldResistFingerprinting always returns false, which is not useful. Instead we should be passed the a reference to the document so we know if fingerprinting resistance is appropriate.
Comment 1•7 years ago
|
||
This looks like Mobile only, right?
Priority: -- → P3
Whiteboard: [tor][fingerprinting] → [tor-mobile][fingerprinting]
Updated•6 years ago
|
Whiteboard: [tor-mobile][fingerprinting] → [tor-mobile][fingerprinting][fp-triaged]
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•