[tor-bugs] #13875 [Tor Browser]: Tor Browser DPI spoofing omitted window.devicePixelRatio

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 5 01:24:25 UTC 2015


#13875: Tor Browser DPI spoofing omitted window.devicePixelRatio
-------------------------+-------------------------------------------------
     Reporter:  isis     |      Owner:  tbb-team
         Type:  defect   |     Status:  reopened
     Priority:  major    |  Milestone:
    Component:  Tor      |    Version:
  Browser                |   Keywords:  tbb-fingerprinting-resolution, tbb-
   Resolution:           |  testcase, tbb-firefox-patch,
Actual Points:           |  TorBrowserTeam201505R, MikePerry201505R
       Points:           |  Parent ID:
-------------------------+-------------------------------------------------
Changes (by arthuredelstein):

 * keywords:
     tbb-fingerprinting-resolution, tbb-testcase, tbb-firefox-patch,
     TorBrowserTeam201504R, MikePerry201504R
     =>
     tbb-fingerprinting-resolution, tbb-testcase, tbb-firefox-patch,
     TorBrowserTeam201505R, MikePerry201505R
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 It turns out my fix made it impossible for chrome code to read the true
 `devicePixelRatio` of a content window, which is needed for my patch in
 #14429 (and may be useful in general). So here's another fixup which
 continues to spoof `devicePixelRatio` for content code, but returns the
 true value for chrome code:

 https://github.com/arthuredelstein/tor-
 browser/commit/7a4d6e2bf2b3cd0812b93dab5a899f2412340154

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13875#comment:19>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list