Hi there,
Sorry I have a silly question, currently I'm preparing some timing analysis on TorBrowser and find that it looks like most of window.performance info has been disabled (I think, for security reasons). It returns all 0s for executing script "window.performance.timing", and returns empty [] for executing window.performance.getEntries().
I've looked through about:config, tried modifying
devtools.dom.enabled;true dom.enable_performance;true
but looks still no effect. So where is the proper way to enable performance timing? Thanks.
Yours sincerely, Zhao Zhang
On 2019-11-06 23:12, Zhao Zhang wrote:
Hi there,
Hi!
Sorry I have a silly question, currently I'm preparing some timing analysis on TorBrowser and find that it looks like most of window.performance info has been disabled (I think, for security reasons). It returns all 0s for executing script "window.performance.timing", and returns empty [] for executing window.performance.getEntries().
I've looked through about:config, tried modifying
devtools.dom.enabled;true dom.enable_performance;true
but looks still no effect. So where is the proper way to enable performance timing? Thanks.
Indeed. This API is disabled by the privacy.resistFingerprinting pref. We began experimenting with a way of working around this, but we haven't succeeded yet (mostly due to lack of time).
https://trac.torproject.org/projects/tor/ticket/30932
Sorry we don't have a more helpful answer right now.
- Matt
Cool, thanks!
On Wed, Nov 6, 2019, 18:21 Matthew Finkel sysrqb@torproject.org wrote:
On 2019-11-06 23:12, Zhao Zhang wrote:
Hi there,
Hi!
Sorry I have a silly question, currently I'm preparing some timing analysis on TorBrowser and find that it looks like most of window.performance info has been disabled (I think, for security reasons). It returns all 0s for executing script "window.performance.timing", and returns empty [] for executing window.performance.getEntries().
I've looked through about:config, tried modifying
devtools.dom.enabled;true dom.enable_performance;true
but looks still no effect. So where is the proper way to enable performance timing? Thanks.
Indeed. This API is disabled by the privacy.resistFingerprinting pref. We began experimenting with a way of working around this, but we haven't succeeded yet (mostly due to lack of time).
https://trac.torproject.org/projects/tor/ticket/30932
Sorry we don't have a more helpful answer right now.
- Matt
If you build Tor Browser yourself it would be pretty simple to put in a test for an environment variable, and if that's present ignore the RFP check. But that's probably not something we'd ship in the official one...
-tom
On Wed, 6 Nov 2019 at 23:38, Zhao Zhang zz156@georgetown.edu wrote:
Cool, thanks!
On Wed, Nov 6, 2019, 18:21 Matthew Finkel sysrqb@torproject.org wrote:
On 2019-11-06 23:12, Zhao Zhang wrote:
Hi there,
Hi!
Sorry I have a silly question, currently I'm preparing some timing analysis on TorBrowser and find that it looks like most of window.performance info has been disabled (I think, for security reasons). It returns all 0s for executing script "window.performance.timing", and returns empty [] for executing window.performance.getEntries().
I've looked through about:config, tried modifying
devtools.dom.enabled;true dom.enable_performance;true
but looks still no effect. So where is the proper way to enable performance timing? Thanks.
Indeed. This API is disabled by the privacy.resistFingerprinting pref. We began experimenting with a way of working around this, but we haven't succeeded yet (mostly due to lack of time).
https://trac.torproject.org/projects/tor/ticket/30932
Sorry we don't have a more helpful answer right now.
- Matt
tbb-dev mailing list tbb-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev