Closed Bug 1416273 Opened 7 years ago Closed 7 years ago

nsContentUtils::ShouldResistFingerprinting should work on the networking thread

Categories

(Core :: DOM: Security, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1415488

People

(Reporter: baku, Unassigned)

Details

(Whiteboard: [fingerprinting])

Currently nsHttpHandler::UserAgent() uses nsContentUtils::ShouldResistFingerprinting() to know if we should use the spoofed user-agent. nsHttpHandler::UserAgent() can be called on the necko/networking thread, but nsContentUtils::ShouldResistFingerprinting() works only on main-thread and workers.
Flags: needinfo?(tihuang)
Baku, thanks for filing this bug.
Whiteboard: [fingerprinting]
Thanks for this, Baku. We have noticed this issue in Bug 1415488, this problem can be seen when using a http-proxy. I will close this bug as a duplicate of that bug. We will fix this in that.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(tihuang)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.