Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

108 bytes added, 22:01, 8 December 2011
Using the Test Harness
To make use of the harness, you will need to add the '''mouselock_util.js''' file to your test html file. I would recommend renaming your file to '''file_something.html''' (vs. test_something.html), as this denotes that this not a direct test under the mochitest.
The same applies to the Makefile.in. '''Change the filename to their appropriate name in the Makefile.in'''
Thus, add the following line, AFTER the EventUtil.js and SimpleTest.js script tag
1
edit