Confirmed users
33
edits
(Mention that recent hg uses bundles automatically) |
(Use mach-based workflow) |
||
Line 15: | Line 15: | ||
=== Build the js shell === | === Build the js shell === | ||
Most of the time, you'll be working with the | Most of the time, you'll be working with the JavaScript shell, instead of the full Firefox browser. See the [https://firefox-source-docs.mozilla.org/js/build.html SpiderMonkey build documentation] for how to do that. | ||
=== Fix something === | === Fix something === | ||
Line 37: | Line 27: | ||
Having made the change, build the shell again. | Having made the change, build the shell again. | ||
./mach build | |||
==== Testing your changes ==== | ==== Testing your changes ==== | ||
Line 43: | Line 33: | ||
It builds. Hurray. Time to run the tests to check you haven't broken anything. | It builds. Hurray. Time to run the tests to check you haven't broken anything. | ||
jit-test | ./mach jit-test | ||
The jit-tests are pretty quick, and should give you an idea if you've gotten something wrong. Assuming nothing goes wrong, try the ref-tests: | The jit-tests are pretty quick, and should give you an idea if you've gotten something wrong. Assuming nothing goes wrong, try the ref-tests: | ||
./mach jstests | |||
==== Benchmark your changes ==== | ==== Benchmark your changes ==== |