services/docs/datareporting.rst

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 .. _data_reporting_service:
     3 ======================
     4 Data Reporting Service
     5 ======================
     7 ``/services/datareporting`` contains files related to an XPCOM service
     8 that collects and reports data within Gecko applications.
    10 The important files in this directory are:
    12 DataReportingService.js
    13    An XPCOM service that coordinates collection and reporting of data.
    15 policy.jsm
    16    A module containing the logic for coordinating and driving collection
    17    and upload of data.
    19 sessions.jsm
    20    Records Gecko application session history. This is loaded as part of
    21    the XPCOM service because it needs to capture state from very early in
    22    the application lifecycle. Bug 841561 tracks implementing this in C++.
    24 There is other code in the tree that collects and uploads data. The
    25 original intent of this directory and XPCOM service was to serve as a
    26 focal point for the coordination of all this activity so that it could
    27 all be done consistently and properly. This vision may or may not be fully
    28 realized.

mercurial