[tbb-bugs] #16337 [Applications/Tor Browser]: Investigate whether Animations(Player) API provides new high resolution timestamp

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 6 00:11:24 UTC 2017


#16337: Investigate whether Animations(Player) API provides new high resolution
timestamp
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  task                                 |         Status:
                                                 |  needs_review
 Priority:  High                                 |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ff52-esr, tbb-fingerprinting-time-   |  Actual Points:
  highres, tbb-7.0-must-alpha,                   |
  TorBrowserTeam201705R                          |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor4
-------------------------------------------------+-------------------------

Comment (by arthuredelstein):

 Replying to [comment:18 mcs]:
 > Replying to [comment:13 arthuredelstein]:
 > > Here's a patch for review:
 > > https://github.com/arthuredelstein/tor-browser/commit/16337
 >
 > This patch looks okay. Do we also need to patch
 `GetCurrentTimeAsDouble()` inside `dom/animation/AnimationTimeline.h`?
 Kathy and I are not sure how the Animation.timeline object relates to the
 other timing information.

 That's a good point. Animation.timeline and document.timeline aren't
 exposed in TBB/ESR52 because "dom.animations-api.core.enabled" is set to
 false. But I looked at it again and I found there is a simpler way to
 implement this patch that covers the *.timeline cases as well. So here's
 an updated patch. (The document.timeline.currentTime test doesn't run
 unless the "dom.animations-api.core.enabled" pref has been set to true by
 default, but I don't think this is a problem for TBB.)

 https://github.com/arthuredelstein/tor-browser/commit/16337+1

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


More information about the tbb-bugs mailing list