#19193: AudioContext, HTMLMediaElement, and MediaStream provide currentTime to
content scripts
------------------------------------------+--------------------------------
Reporter: arthuredelstein | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Keywords:
Actual Points: | TorBrowserTeam201605
Points: | Parent ID:
Sponsor: | Reviewer:
------------------------------------------+--------------------------------
The worst offender is probably AudioContext, where you can get
the current time thus:
{{{
var audioContext = new AudioContext();
audioContext.currentTime;
}}}
Similarly, HTMLVideoElement.currentTime, HTMLAudioElement.currentTime, and
CanvasCaptureMediaStream.currentTime can be used as a time source with
resolution better than 10 ms.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19193>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs