content/media/webaudio/blink/README

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 This directory contains the code originally borrowed from the Blink Web Audio
     2 implementation.  We are forking the code here because in many cases the burden
     3 of adopting Blink specific utilities is too large compared to the prospect of
     4 importing upstream fixes by just copying newer versions of the code in the
     5 future.
     7 The process of borrowing code from Blink is as follows:
     9 * Try to borrow utility classes only, and avoid borrowing code which depends
    10   too much on the Blink specific utilities.
    11 * First, import the pristine files from the Blink repository before adding
    12   them to the build system, noting the SVN revision of Blink from which the
    13   original files were copied in the commit message.
    14 * In a separate commit, add the imported source files to the build system,
    15   and apply the necessary changes to make it build successfully.
    16 * Use the code in a separate commit.
    17 * Never add headers as exported headers.  All headers should be included
    18   using the following convention: #include "blink/Header.h".
    19 * Leave the imported code in the WebCore namespace, and import the needed
    20   names into the Mozilla code via `using'.
    21 * Cherry-pick upsteam fixes manually when needed.  In case you fix a problem
    22   that is not Mozilla specific locally, try to upstream your changes into
    23   Blink.
    24 * Ping ehsan for any questions.

mercurial