toolkit/devtools/acorn/UPGRADING.md
author Bill McCloskey <wmccloskey@mozilla.com>
Sat, 13 Sep 2014 11:20:16 -0700
changeset 205207 161056025760f1b74506953da9c8df17b5c18676
parent 167448 83865ff96a299ade6be74df59d4fe2f473118cb5
permissions -rw-r--r--
Bug 1047076 - Disable e10s on Nightly if Accessibility is enabled (r=felipe)

Assuming that acorn's dependencies have not changed, to upgrade our tree's
acorn to a new version:

1. Clone the acorn repository, and check out the version you want to upgrade
to:

       $ git clone https://github.com/marijnh/acorn.git
       $ cd acorn
       $ git checkout <version>

2. Make sure that all tests pass:

       $ npm install .
       $ npm test

   If there are any test failures, do not upgrade to that version of acorn!

3. Copy acorn.js to our tree:

       $ cp acorn.js /path/to/mozilla-central/toolkit/devtools/acorn/acorn.js

4. Copy acorn_loose.js to our tree:

       $ cp acorn_loose.js /path/to/mozilla-central/toolkit/devtools/acorn/acorn_loose.js

5. Copy util/walk.js to our tree:

       $ cp util/walk.js /path/to/mozilla-central/toolkit/devtools/acorn/walk.js