Prerequisites

Building JSHydra

JSHydra requires, as part of its build process, SpiderMonkey. By default, the configure script will obtain a known working copy of SpiderMonkey; it is possible via the --moz-src and --moz-obj configure arguments to tell JSHydra to use existing copies of the source and build.

cd $HOME/jshydra
hg clone http://hg.mozilla.org/users/Pidgeot18_gmail.com/jshydra/
cd jshydra
./configure
make

# run jshydra tests
make check

Processing input files

JSHydra requires the files it processes to be correct JSĀ files. Converting HTML, XUL, or XBL files into a readable JS equivalent is a work in progress, as is accounting for the preprocessing that Mozilla files sometimes use. There is not yet a repository for this information, but bugĀ 506128 contains more information.