toolkit/devtools/acorn/UPGRADING.md

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     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