Having written a first draft of the Mozilla mouse lock tests, I went ahead to put it all together and run them on my nightly build.
I created a new test branch on my github for the tests I had written, and added the two new files in the conventional mochi test format:
I added the two tests in the following directory: mozilla-central\dom\tests\mochitest\mouselock
Edited the Makefile.in to include my tests:
_TEST_FILES = \ test_isInstanceofMouselockable.html \ test_mouseLockableHasRequiredMethods.html \
And I was ready to give them a test after merging in all the final changes from humphd.
I did a rebuild of the firefox in my new test branch after resolving merge conflicts and ran the tests:
TEST_PATH=dom/tests/mochitest/mouselock/test_isInstanceofMouselockable.html make -C ffobjdir mochitest-plain TEST_PATH=dom/tests/mochitest/mouselock/test_mouseLockableHasRequiredMethods.html make -C ffobjdir mochitest-plain