1
edit
Changes
→FAQ
'''Answer:''' To run the particular mochitest you want, you go to your root mozilla folder (in most cases this will be mozilla-central) and type:
<pre>TEST_PATH=dom/tests/mochitest/mouselock/[your filename].html make -C [the directory you built Firefox to] mochitest-plain</pre>
'''Question:''' I'm getting a 404 page not found when trying to get my mochitest to run. I have the file in dom/tests/mochitest/mouselock, and I've added the file to the make file in the same directory.
'''Answer:''' Recompile Firefox so that the change in your make file takes effect.