toolkit/devtools/acorn/UPGRADING.md

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 Assuming that acorn's dependencies have not changed, to upgrade our tree's
     2 acorn to a new version:
     4 1. Clone the acorn repository, and check out the version you want to upgrade
     5 to:
     7        $ git clone https://github.com/marijnh/acorn.git
     8        $ cd acorn
     9        $ git checkout <version>
    11 2. Make sure that all tests pass:
    13        $ npm install .
    14        $ npm test
    16    If there are any test failures, do not upgrade to that version of acorn!
    18 3. Copy acorn.js to our tree:
    20        $ cp acorn.js /path/to/mozilla-central/toolkit/devtools/acorn/acorn.js
    22 4. Copy acorn_loose.js to our tree:
    24        $ cp acorn_loose.js /path/to/mozilla-central/toolkit/devtools/acorn/acorn_loose.js
    26 5. Copy util/walk.js to our tree:
    28        $ cp util/walk.js /path/to/mozilla-central/toolkit/devtools/acorn/walk.js

mercurial