<div dir="auto">Cool, thanks! </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 6, 2019, 18:21 Matthew Finkel <<a href="mailto:sysrqb@torproject.org">sysrqb@torproject.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2019-11-06 23:12, Zhao Zhang wrote:<br>
> Hi there,<br>
<br>
Hi!<br>
<br>
> <br>
> Sorry I have a silly question, currently I'm preparing some timing<br>
> analysis on TorBrowser and find that it looks like most of<br>
> window.performance info has been disabled (I think, for security<br>
> reasons).<br>
> It returns all 0s for executing script "window.performance.timing",<br>
> and returns empty [] for executing window.performance.getEntries(). <br>
> <br>
> I've looked through about:config, tried modifying <br>
> <br>
> devtools.dom.enabled;true <br>
> dom.enable_performance;true<br>
> <br>
> but looks still no effect. So where is the proper way to enable<br>
> performance timing? Thanks.<br>
<br>
Indeed. This API is disabled by the privacy.resistFingerprinting pref.<br>
We began experimenting with a way of working around this, but we haven't<br>
succeeded yet (mostly due to lack of time).<br>
<br>
<a href="https://trac.torproject.org/projects/tor/ticket/30932" rel="noreferrer noreferrer" target="_blank">https://trac.torproject.org/projects/tor/ticket/30932</a><br>
<br>
Sorry we don't have a more helpful answer right now.<br>
<br>
- Matt<br>
</blockquote></div>