[tor-bugs] #18958 [Applications/Tor Browser]: screen.orientation should lie
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed May 11 23:18:01 UTC 2016
#18958: screen.orientation should lie
---------------------------------------------+-----------------------------
Reporter: mcs | Owner:
Type: defect | arthuredelstein
Priority: Medium | Status:
Component: Applications/Tor Browser | needs_review
Severity: Normal | Milestone:
Keywords: ff45-esr, TorBrowserTeam201605R | Version:
Parent ID: | Resolution:
Reviewer: | Actual Points:
| Points:
| Sponsor:
---------------------------------------------+-----------------------------
Comment (by arthuredelstein):
Replying to [comment:5 mcs]:
> r=mcs, r=brade
> These changes look good. Should we also skip dispatching of the
orientation change events when ShouldResistFingerprinting() returns true?
Generating the events will allow a website to detect that my device can
change orientation.
Thanks for the review. Here's a new version that blocks
"orientationchange" and "mozorientationchange" events from being
dispatched. I also blocked the use of 'screen.mozLockOrientation' and
'screen.mozUnlockOrientation' for a similar reason.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18958#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list